/* Пілотна сторінка міста. Усе під префіксом .lp, щоб не чіпати бойові сторінки.
   Шрифти не довантажуємо: FuturaPT і SFUIText уже підключені в main.css. */

body.lp-body {
  --ink: #0f2033;
  --ink-2: #45607c;
  --ink-3: #7a8fa6;
  --line: #e2eaf3;
  --line-soft: #eef3f9;
  --paper: #fff;
  --mist: #f3f7fc;
  --brand: #1e94f2;
  --brand-deep: #0a5c9e;
  --brand-wash: #e7f2fe;
  --cta: #f97316;
  --cta-deep: #e35f05;

  /* Шкала автономності: одна на всю сторінку, щоб картки читалися порівнянням */
  --charge-hi: #0f9d58;
  --charge-mid: #f0a020;
  --charge-off: #c2ced9;

  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 32, 51, 0.06), 0 8px 24px rgba(15, 32, 51, 0.06);
  --shadow-lift: 0 2px 4px rgba(15, 32, 51, 0.08), 0 16px 40px rgba(15, 32, 51, 0.12);

  background: var(--paper);
}

.lp {
  font-family: "SFUIText", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

.lp *,
.lp *::before,
.lp *::after {
  box-sizing: border-box;
}

.lp h1,
.lp h2,
.lp h3,
.lp .lp-num {
  font-family: "FuturaPT", "SFUIText", sans-serif;
}

.lp-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Шапка й підвал лишаються сайтові: шапка абсолютна з білим текстом поверх
   синього градієнта .page-directory, підвал абсолютний знизу на тому ж градієнті.
   Тут тільки робимо синю смугу вужчою, як домовлялись. */
body.lp-body .page-header {
  padding-top: 14px;
}

/* .page-content має overflow: hidden, а це вбиває position: sticky у меню сторінки.
   clip обрізає так само, але не створює контейнер прокрутки. */
body.lp-body .page-content {
  overflow: visible;
  overflow: clip;
}

/* Сайтовий .page-content уже має відступ під абсолютну шапку — саме він і показує
   синю смугу. Робимо її вужчою, як домовлялись: шапка тут 62px висотою. */
body.lp-body .page-content {
  padding-top: 78px;
}

/* Хлібні крихти переїхали в білий герой: на блакитному вони не читалися */
.lp-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 18px;
}

.lp-crumbs a {
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.lp-crumbs a:hover {
  color: var(--brand-deep);
  border-bottom-color: currentColor;
}

.lp-crumbs span[aria-hidden] {
  color: var(--ink-3);
  opacity: 0.6;
}

/* ——— Герой ——————————————————————————————————————————————————— */

.lp-hero {
  background: var(--paper);
  padding: 22px 0 30px;
  border-radius: 18px 18px 0 0;
}

.lp-hero h1 {
  font-size: 40px;
  line-height: 1.13;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.lp-hero__hint {
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0 0 22px;
  max-width: 52ch;
}

.lp-search {
  display: flex;
  gap: 10px;
  align-items: stretch;
  max-width: 760px;
}

.lp-search__field {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

/* typeahead обгортає інпут своїм .twitter-typeahead — тягнемо його на всю ширину */
.lp-search__field .twitter-typeahead {
  width: 100%;
}

.lp-search input.lp-search__input {
  width: 100%;
  height: 62px;
  padding: 0 52px 0 22px;
  font-size: 17px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lp-search input.lp-search__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-wash);
}

.lp-search input.lp-search__input::placeholder {
  color: var(--ink-3);
}

/* Випадайку typeahead глобально стилізовано під стару «пігулку» з радіусом 35px
   і великими відступами. Тут підганяємо під поле сторінки. */
.lp-search__field span.twitter-typeahead .tt-menu,
.lp-search__field span.twitter-typeahead .tt-dropdown-menu {
  margin-top: 8px;
  padding: 8px 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lift);
  font-size: 16px;
  max-height: 340px;
}

.lp-search__field span.twitter-typeahead .tt-suggestion {
  padding: 10px 20px;
  margin-bottom: 0;
  color: var(--ink);
  white-space: normal;
}

.lp-search__field span.twitter-typeahead .tt-suggestion.tt-cursor,
.lp-search__field span.twitter-typeahead .tt-suggestion:hover {
  background: var(--brand-wash);
  color: var(--brand-deep);
}

.lp-search__field .empty-message {
  padding: 10px 20px;
}

.lp-search__gps {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  z-index: 3;
}

.lp-search__gps:hover {
  background: var(--brand-wash);
  color: var(--brand-deep);
}

.lp-btn-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  padding: 0 32px;
  font-family: "FuturaPT", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: var(--cta);
  border: none;
  border-radius: var(--r);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.32);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-btn-cta:hover,
.lp-btn-cta:focus-visible {
  background: var(--cta-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(249, 115, 22, 0.38);
}

.lp-hero__alt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 15px;
  color: var(--brand-deep);
  background: none;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  text-decoration: none;
}

.lp-hero__alt:hover {
  color: var(--ink);
}

.lp-hero__alt u {
  text-decoration-color: rgba(30, 148, 242, 0.4);
  text-underline-offset: 3px;
}

/* ——— Меню сторінки: пігулки в два рядки, без горизонтального скролу —— */

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
}

.lp-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
}

.lp-nav a {
  display: inline-block;
  padding: 7px 14px;
  font-size: 14px;
  line-height: 1.2;
  color: var(--ink-2);
  background: var(--mist);
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lp-nav a:hover {
  color: var(--brand-deep);
  border-color: #cfe3f8;
  background: var(--brand-wash);
}

.lp-nav a.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 500;
}

.lp-nav__short {
  display: none;
}

/* ——— Секції ——————————————————————————————————————————————————— */

.lp-section {
  padding: 46px 0;
  scroll-margin-top: 76px;
}

.lp-section--mist {
  background: var(--mist);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.lp-section > .lp-wrap > h2 {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.lp-sub {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0 0 22px;
  max-width: 70ch;
}

.lp-sub a {
  color: var(--brand-deep);
}

/* ——— Фільтри ——————————————————————————————————————————————————— */

.lp-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 18px;
}

.lp-filters__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.lp-filters__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 4px;
  flex: 0 0 auto;
}

.lp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lp-chip:hover {
  border-color: #bcd8f4;
  color: var(--brand-deep);
}

.lp-chip[aria-pressed="true"] {
  background: var(--brand-wash);
  border-color: var(--brand);
  color: var(--brand-deep);
  font-weight: 500;
}

.lp-chip svg {
  width: 15px;
  height: 15px;
}

.lp-select {
  height: 38px;
  padding: 0 32px 0 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink-2);
  background: var(--paper)
    url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%237a8fa6' stroke-width='1.8'%3E%3Cpath d='M4 6.5 8 10.5 12 6.5'/%3E%3C/svg%3E")
    no-repeat right 10px center/14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  appearance: none;
  cursor: pointer;
}

.lp-filters__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-3);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

.lp-reset {
  background: none;
  border: none;
  color: var(--brand-deep);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-reset[hidden] {
  display: none;
}

/* ——— Картка провайдера ——————————————————————————————————————— */

.lp-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-card {
  display: grid;
  grid-template-columns: 178px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lp-card:hover {
  border-color: #c9dcf0;
  box-shadow: var(--shadow);
}

.lp-card[hidden] {
  display: none;
}

.lp-card__id {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

/* Назву провайдера текстом не дублюємо: лого достатньо, а доступне ім'я
   лишається в alt зображення. */
.lp-card__logo {
  display: flex;
  align-items: center;
  height: 42px;
  transition: opacity 0.15s ease;
}

.lp-card__logo:hover {
  opacity: 0.75;
}

.lp-card__logo img {
  width: 155px;
  height: 42px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.lp-card__tech {
  font-size: 13px;
  color: var(--ink-3);
}

.lp-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: flex-start;
}

.lp-metric {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.lp-metric__ico {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--mist);
  color: var(--brand-deep);
}

.lp-metric__ico svg {
  width: 19px;
  height: 19px;
}

.lp-metric__t {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  line-height: 1.4;
}

.lp-num {
  display: block;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.lp-num small {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: 0;
}

/* Підпис-сигнатура: батарейка автономності на спільній шкалі */
.lp-batt {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 3px;
}

.lp-batt i {
  display: block;
  width: 9px;
  height: 14px;
  border-radius: 2px;
  background: var(--charge-off);
  opacity: 0.35;
}

/* Колір один на всі рівні: жовтий читався як попередження, хоча 8 годин
   без світла — це нормальний робочий показник. Рівень передають поділки. */
.lp-batt i.on {
  opacity: 1;
  background: var(--charge-hi);
}

.lp-metric--charge .lp-metric__ico {
  background: rgba(15, 157, 88, 0.1);
  color: var(--charge-hi);
}

.lp-metric--none .lp-metric__ico {
  background: var(--line-soft);
  color: var(--ink-3);
}

.lp-metric--none .lp-num {
  color: var(--ink-3);
  font-weight: 400;
  font-size: 15px;
}

.lp-card__act {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 168px;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  font-family: "FuturaPT", sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.lp-btn--primary {
  background: var(--brand);
  color: #fff;
}

.lp-btn--primary:hover {
  background: var(--brand-deep);
  color: #fff;
}

.lp-btn--ghost {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink-2);
}

.lp-btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.lp-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 500;
  border-radius: 999px;
  background: var(--line-soft);
  color: var(--ink-2);
  white-space: nowrap;
}

.lp-badge--charge {
  background: rgba(15, 157, 88, 0.1);
  color: #0b7c45;
}

.lp-badge--charge svg {
  width: 12px;
  height: 12px;
}

.lp-badge--tv {
  background: var(--brand-wash);
  color: var(--brand-deep);
}

.lp-empty {
  padding: 34px 20px;
  text-align: center;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--r);
}

.lp-empty[hidden] {
  display: none;
}

.lp-empty b {
  display: block;
  font-family: "FuturaPT", sans-serif;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 6px;
}

/* ——— Тарифи ——————————————————————————————————————————————————— */

.lp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 20px;
  width: fit-content;
  max-width: 100%;
}

.lp-tab {
  padding: 9px 20px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink-2);
  background: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.lp-tab:hover {
  color: var(--brand-deep);
}

.lp-tab[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
  font-weight: 500;
}

.lp-tariffs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lp-tariffs[hidden] {
  display: none;
}

.lp-tariff {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lp-tariff:hover {
  border-color: #c9dcf0;
  box-shadow: var(--shadow);
}

.lp-tariff__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.lp-tariff__isp {
  font-size: 12.5px;
  color: var(--ink-3);
  text-decoration: none;
}

.lp-tariff__isp:hover {
  color: var(--brand-deep);
}

.lp-tariff__name {
  font-family: "FuturaPT", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

/* Назва тарифу веде на сторінку тарифу, але в картці лишається заголовком,
   а не синім посиланням: підкреслення з'являється на наведенні. */
.lp-tariff__name a {
  color: inherit;
  text-decoration: none;
}

.lp-tariff__name a:hover,
.lp-tariff__name a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-tariff__row {
  display: flex;
  gap: 22px;
  margin-top: auto;
}

.lp-tariff__price .lp-num {
  font-size: 25px;
}

/* ——— Спойлери (FAQ, SEO-текст) ——————————————————————————————— */

.lp-details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  overflow: hidden;
}

.lp-details + .lp-details {
  margin-top: 8px;
}

.lp-details > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  font-family: "FuturaPT", sans-serif;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background 0.15s ease;
}

.lp-details > summary::-webkit-details-marker {
  display: none;
}

.lp-details > summary:hover {
  background: var(--mist);
}

.lp-details > summary::after {
  content: "";
  width: 10px;
  height: 10px;
  margin-left: auto;
  flex: 0 0 auto;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}

.lp-details[open] > summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.lp-details__body {
  padding: 0 20px 20px;
  color: var(--ink-2);
  line-height: 1.6;
}

.lp-details__body p {
  margin: 0 0 10px;
}

.lp-details__body p:last-child {
  margin-bottom: 0;
}

/* ——— Швидкість у місті ——————————————————————————————————————— */

.lp-speed {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.lp-speed__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lp-stat {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.lp-stat .lp-num {
  font-size: 34px;
  letter-spacing: -0.02em;
}

.lp-stat .lp-metric__t {
  margin-bottom: 6px;
}

.lp-stat__foot {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 6px;
}

.lp-speed__cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
}

.lp-speed__cta h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: #fff;
}

.lp-speed__cta p {
  font-size: 14px;
  color: #b9c9da;
  margin: 0;
  line-height: 1.5;
}

.lp-speed__cta .lp-btn {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
}

.lp-speed__cta .lp-btn:hover {
  background: var(--brand-wash);
  color: var(--brand-deep);
}

.lp-speed__ico {
  width: 40px;
  height: 40px;
  color: var(--brand);
}

/* ——— Відгуки ——————————————————————————————————————————————————— */

.lp-rate {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.lp-rate__cell {
  flex: 1 1 170px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

.lp-rate__ico {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--mist);
  color: var(--brand-deep);
}

.lp-rate__ico svg {
  width: 19px;
  height: 19px;
}

.lp-rate__cell .lp-num {
  font-size: 24px;
}

.lp-rate__cell .lp-num i {
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-3);
}

.lp-reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.lp-review {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.lp-review[hidden] {
  display: none;
}

.lp-review__head {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.lp-review__who {
  font-size: 14px;
  font-weight: 600;
}

.lp-review__isp {
  font-size: 12px;
  color: var(--ink-3);
}

.lp-review__score {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: var(--line-soft);
  color: var(--ink-2);
}

.lp-review__score svg {
  width: 13px;
  height: 13px;
}

.lp-review__score.is-good {
  background: rgba(15, 157, 88, 0.1);
  color: #0b7c45;
}

.lp-review__score.is-bad {
  background: rgba(220, 68, 55, 0.09);
  color: #b62a1e;
}

.lp-review__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

.lp-review__answer {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  padding: 10px 12px;
  background: var(--mist);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.lp-review__answer b {
  display: block;
  color: var(--ink);
  margin-bottom: 3px;
  font-size: 12.5px;
}

.lp-review__date {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: auto;
}

.lp-more {
  display: block;
  margin: 16px auto 0;
  padding: 11px 26px;
  font-family: "FuturaPT", sans-serif;
  font-size: 15px;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.lp-more:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.lp-more[hidden] {
  display: none;
}

/* ——— Чіпи перелінковки ————————————————————————————————————————— */

.lp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-chips a {
  display: inline-block;
  padding: 8px 15px;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.lp-chips a:hover {
  border-color: var(--brand);
  background: var(--brand-wash);
  color: var(--brand-deep);
}

.lp-chips + .lp-chips-label {
  margin-top: 22px;
}

.lp-chips-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  margin: 0 0 10px;
}

/* ——— FAQ ——————————————————————————————————————————————————————— */

.lp-faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  align-items: start;
}

.lp-faq .lp-details > summary {
  font-size: 15.5px;
  padding: 14px 18px;
  align-items: flex-start;
}

.lp-faq .lp-details > summary::after {
  margin-top: 5px;
}

.lp-faq .lp-details__body {
  padding: 0 18px 16px;
  font-size: 14.5px;
}

/* ——— Нижня липка CTA на мобільному ————————————————————————————— */

.lp-sticky {
  display: none;
}

@media (max-width: 860px) {
  .lp-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform 0.22s ease;
  }

  .lp-sticky.is-on {
    transform: translateY(0);
  }

  .lp-sticky .lp-btn-cta {
    width: 100%;
    height: 54px;
  }

  body.lp-body {
    padding-bottom: 0;
  }
}

/* ——— Адаптив ——————————————————————————————————————————————————— */

@media (max-width: 1080px) {
  .lp-top__rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-card {
    grid-template-columns: 160px 1fr;
    row-gap: 16px;
  }

  .lp-card__act {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .lp-card__badges {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .lp-speed {
    grid-template-columns: 1fr;
  }

  .lp-tariffs {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-reviews,
  .lp-faq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .lp-hero {
    padding: 24px 0;
  }

  .lp-hero h1 {
    font-size: 27px;
    max-width: none;
  }

  .lp-hero__hint {
    font-size: 15.5px;
    margin-bottom: 18px;
  }

  .lp-search {
    flex-direction: column;
    gap: 10px;
  }

  .lp-search input.lp-search__input,
  .lp-btn-cta {
    height: 56px;
  }

  .lp-btn-cta {
    width: 100%;
  }

  .lp-section {
    padding: 34px 0;
    scroll-margin-top: 108px;
  }

  .lp-section > .lp-wrap > h2 {
    font-size: 22px;
  }

  .lp-nav__list {
    padding: 8px 0;
    gap: 6px;
  }

  .lp-nav a {
    padding: 6px 11px;
    font-size: 12.5px;
  }

  .lp-nav__long {
    display: none;
  }

  .lp-nav__short {
    display: inline;
  }

  .lp-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  /* На вузькому екрані flex-wrap робив «драбинку» з різною кількістю метрик у рядку.
     Сітка у дві колонки тримає картки однаковими й читається як таблиця. */
  .lp-card__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .lp-filters__row .lp-select {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }

  .lp-filters__label {
    flex: 1 1 100%;
    margin-bottom: 2px;
  }

  .lp-card__act {
    flex-direction: column;
    align-items: stretch;
  }

  .lp-card__act .lp-btn {
    width: 100%;
  }

  .lp-speed__stats {
    grid-template-columns: 1fr;
  }

  .lp-stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
  }

  .lp-stat .lp-num {
    font-size: 26px;
  }
}

@media (max-width: 620px) {
  .lp-top__rail,
  .lp-tariffs {
    grid-template-columns: 1fr;
  }

  .lp-tile {
    flex-flow: row wrap;
    align-items: center;
    gap: 6px 12px;
  }

  .lp-tile__logo {
    flex: 0 0 78px;
  }

  .lp-tile__name {
    flex: 1 1 140px;
    min-width: 0;
  }

  .lp-tile__facts {
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 2px;
    min-width: 0;
  }
}

/* ——— Доступність ——————————————————————————————————————————————— */

.lp a:focus-visible,
.lp button:focus-visible,
.lp summary:focus-visible,
.lp select:focus-visible,
.lp input:focus-visible {
  outline: 3px solid rgba(30, 148, 242, 0.45);
  outline-offset: 2px;
}

.lp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .lp *,
  .lp *::before,
  .lp *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ——— Вкладки аудиторії в лістингу провайдерів —————————————————— */

.lp-tabs--audience {
  margin-bottom: 14px;
}

/* ——— Покриття ————————————————————————————————————————————————— */

.lp-coverage {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  align-items: start;
}

.lp-coverage__text p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 12px;
}

.lp-coverage__text b {
  color: var(--ink);
  font-weight: 600;
}

.lp-coverage__meta {
  font-size: 14px !important;
  color: var(--ink-3) !important;
}

.lp-coverage__meta a {
  color: var(--brand-deep);
}

.lp-coverage__check {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.lp-coverage__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-wash);
  color: var(--brand-deep);
  margin-bottom: 12px;
}

.lp-coverage__ico svg {
  width: 22px;
  height: 22px;
}

.lp-coverage__check h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 6px;
}

.lp-coverage__check > p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 16px;
}

.lp-search--compact {
  max-width: none;
  flex-direction: column;
  gap: 10px;
}

.lp-search--compact input.lp-search__input {
  height: 54px;
  font-size: 16px;
}

.lp-search--compact .lp-btn-cta {
  width: 100%;
  height: 52px;
  font-size: 17px;
}

/* ——— Картка тарифу: лого замість назви провайдера текстом ————————— */

.lp-tariff__logo {
  display: flex;
  align-items: center;
  height: 42px;
  transition: opacity 0.15s ease;
}

.lp-tariff__logo:hover {
  opacity: 0.75;
}

.lp-tariff__act {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-tariff__act .lp-btn {
  width: 100%;
}

.lp-card__badges--start {
  justify-content: flex-start;
}

/* ——— Рядок фільтра відгуків ——————————————————————————————————— */

.lp-filters__row--reviews {
  margin-bottom: 16px;
}

/* ——— FAQ: заголовок питання всередині summary ————————————————— */

.lp-faq .lp-details > summary h3 {
  margin: 0;
  font-size: inherit;
  font-weight: 500;
  line-height: 1.35;
}

.lp-details--seo {
  margin-top: 18px;
}

/* ——— Модалка перевірки покриття на весь екран ————————————————— */

body.lp-body .modal-check-coverage .modal-dialog {
  max-width: none;
  width: 100%;
  min-height: 100%;
  margin: 0;
  align-items: stretch;
}

body.lp-body .modal-check-coverage .modal-content {
  border-radius: 0;
  min-height: 100vh;
  justify-content: flex-start;
}

body.lp-body .modal-check-coverage .modal-body {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding-top: 42px;
}

body.lp-body .modal-check-coverage .modal-header {
  padding: 26px 28px;
}

body.lp-body .modal-check-coverage .mcc-title {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  font-size: 24px;
}

@media (max-width: 860px) {
  .lp-coverage {
    grid-template-columns: 1fr;
  }

  body.lp-body .modal-check-coverage .modal-body {
    padding-top: 26px;
  }

  body.lp-body .modal-check-coverage .mcc-title {
    font-size: 20px;
  }
}

/* ——— Додаткові входи під пошуком: геолокація і мапа —————————————— */

.lp-hero__alts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 14px 0 0;
  font-size: 15px;
}

.lp-hero__sep {
  color: var(--ink-3);
  opacity: 0.5;
}

.lp-linkbtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  font-family: inherit;
  font-size: 15px;
  color: var(--brand-deep);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 148, 242, 0.35);
  border-radius: 0;
}

.lp-linkbtn:hover {
  color: var(--ink);
  border-bottom-color: currentColor;
}

.lp-linkbtn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.lp-linkbtn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* Кнопка геолокації в полі: стан пошуку */
.lp-search__gps[disabled] {
  cursor: progress;
  color: var(--brand);
}

.lp-search__gps.geo-busy svg,
.lp-linkbtn.geo-busy svg {
  animation: lp-spin 0.9s linear infinite;
}

@keyframes lp-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ——— Лого в картці тарифу: було замалим ——————————————————————— */

.lp-tariff__logo {
  height: 42px;
}

/* Коробка під лого задана явно: з width/height: auto ненавантажена картинка
   схлопувалась у 0x0, і тоді loading="lazy" ніколи не спрацьовував.
   object-fit: contain вписує будь-які пропорції без спотворення. */
.lp-tariff__logo img {
  width: 148px;
  height: 42px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

/* ——— Типографіка SEO-тексту в спойлері ————————————————————————— */

.lp-details--seo .lp-details__body {
  max-width: 78ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

.lp-details--seo .lp-details__body h4 {
  font-family: "FuturaPT", sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin: 26px 0 10px;
}

.lp-details--seo .lp-details__body h4:first-child {
  margin-top: 4px;
}

.lp-details--seo .lp-details__body p {
  margin: 0 0 12px;
}

.lp-details--seo .lp-details__body ul,
.lp-details--seo .lp-details__body ol {
  margin: 0 0 14px;
  padding-left: 0;
  list-style: none;
}

.lp-details--seo .lp-details__body li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 7px;
}

.lp-details--seo .lp-details__body ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.lp-details--seo .lp-details__body ol {
  counter-reset: lp-ol;
}

.lp-details--seo .lp-details__body ol > li {
  counter-increment: lp-ol;
}

.lp-details--seo .lp-details__body ol > li::before {
  content: counter(lp-ol) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-deep);
  font-weight: 600;
}

.lp-details--seo .lp-details__body a {
  color: var(--brand-deep);
}

.lp-details--seo .lp-details__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 14.5px;
}

.lp-details--seo .lp-details__body th,
.lp-details--seo .lp-details__body td {
  padding: 9px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.lp-details--seo .lp-details__body th {
  background: var(--mist);
  color: var(--ink);
  font-weight: 600;
}

.lp-details--seo .lp-details__body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-sm);
}

/* Приховані каскадом опції фільтрів */
.lp-select option[hidden] {
  display: none;
}

/* ——— Геолокація: одна точка входу на кожному розмірі ————————————
   На десктопі це іконка всередині поля пошуку, на мобільному — текстовий
   рядок під полем (в полі він тіснить набір і його важко влучити пальцем).
   Обидва варіанти одночасно давали дубль. */
.lp-gps-text {
  display: none;
}

.lp-search__alts {
  margin: 10px 0 0;
}

@media (max-width: 860px) {
  .lp-search__gps {
    display: none;
  }

  .lp-search input.lp-search__input {
    padding-right: 22px;
  }

  .lp-gps-text {
    display: inline-flex;
  }

  span.lp-gps-text {
    display: inline;
  }
}

/* ——— Лого провайдерів: більші в лістингу і в тарифах ——————————— */

.lp-card__logo {
  height: 54px;
}

.lp-card__logo img {
  width: 196px;
  height: 54px;
}

.lp-tariff__logo {
  height: 50px;
}

.lp-tariff__logo img {
  width: 172px;
  height: 50px;
}

@media (max-width: 860px) {
  .lp-card__logo,
  .lp-card__logo img {
    height: 48px;
  }

  .lp-card__logo img {
    width: 170px;
  }
}

/* ——— Метрика: іконка на одній лінії з підписом ————————————————
   При center іконка «Без світла» з'їжджала вниз, бо в цій колонці є ще
   шкала батарейки і колонка вища за інші. */
.lp-metric {
  align-items: flex-start;
}

.lp-metric__ico {
  margin-top: 1px;
}

/* ——— Перевірений відгук ————————————————————————————————————————— */

.lp-review__who {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lp-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px 2px 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: #0b7c45;
  background: rgba(15, 157, 88, 0.1);
  border-radius: 999px;
  white-space: nowrap;
}

.lp-verified svg {
  width: 13px;
  height: 13px;
}

.lp-review__answer {
  margin-top: 2px;
}

/* ——— Текст «Як обрати провайдера» ————————————————————————————— */

.lp-guide {
  max-width: 78ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

.lp-guide h3 {
  font-family: "FuturaPT", sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin: 26px 0 10px;
}

.lp-guide p {
  margin: 0 0 12px;
}

.lp-guide ul {
  margin: 0 0 14px;
  padding-left: 0;
  list-style: none;
}

.lp-guide li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 7px;
}

.lp-guide ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.lp-guide strong {
  color: var(--ink);
  font-weight: 600;
}

/* Таблиці широкі: на вузькому екрані прокручуються всередині свого блоку,
   щоб не тягнути горизонтальний скрол на всю сторінку. */
.lp-guide__table {
  margin: 0 0 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.lp-guide__table table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.lp-guide__table th,
.lp-guide__table td {
  padding: 9px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.lp-guide__table th {
  background: var(--mist);
  color: var(--ink);
  font-weight: 600;
}

/* ——— «Показати ще» в переліку провайдерів ————————————————————— */

.lp-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.lp-more[hidden] {
  display: none;
}

.lp-more__count {
  margin: 0;
  font-size: 14px;
  color: var(--ink-3);
}

.lp-more__btn {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--brand-deep);
  font: 600 15px/1 "FuturaPT", inherit;
  cursor: pointer;
}

.lp-more__btn:hover {
  border-color: var(--brand);
  background: var(--brand-wash);
}
