/* ===== Техосмотр для агентов — доп. компоненты поверх birzha-roznica ===== */

/* --- Два способа заработка --- */
.lp-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lp-way {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 30px 30px 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s, box-shadow .2s;
}
.lp-way:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.lp-way.featured { background: var(--grad-navy); border-color: #0F172A; color: #fff; }
.lp-way.featured h3 { color: #fff; }
.lp-way .num {
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted);
}
.lp-way.featured .num { color: var(--secondary); }
.lp-way h3 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.lp-way p { color: var(--text-2); font-size: 15px; margin: 0; }
.lp-way.featured p { color: rgba(255,255,255,.9); }
.lp-way-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 2px; }
.lp-way-flow span {
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 12.5px;
  background: var(--accent); color: var(--primary);
  padding: 6px 11px; border-radius: var(--r-pill);
}
.lp-way.featured .lp-way-flow span { background: rgba(127,220,255,.16); color: #d7f4ff; }
.lp-way-flow .arr { background: none; color: var(--text-muted); padding: 0 2px; }
.lp-way.featured .lp-way-flow .arr { color: rgba(255,255,255,.7); }
.lp-way-price { margin-top: auto; padding-top: 8px; }
.lp-way-price .cap { font-size: 12.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.lp-way.featured .lp-way-price .cap { color: rgba(255,255,255,.8); }
.lp-way-price .amt { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 38px; letter-spacing: -.02em; margin-top: 2px; }
.lp-way.featured .lp-way-price .amt { color: var(--secondary); }

/* --- Hero CTA card (вместо формы; ведёт к встроенной регистрации) --- */
.lp-hero-cta-list { list-style: none; margin: 6px 0 2px; padding: 0; display: grid; gap: 11px; }
.lp-hero-cta-list li { display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--text-2); font-weight: 500; }
.lp-hero-cta-list li .ic {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--ok-bg); color: var(--ok);
  display: inline-flex; align-items: center; justify-content: center;
}
.lp-hero-cta-list li .ic svg { width: 13px; height: 13px; }
.lp-hero-cta-btn { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 8px; }

/* Неразрывные суммы: «1 200 ₽» не рвёт знак рубля / цифры */
.nowrap { white-space: nowrap !important; }
.lp-way-price .amt { white-space: nowrap; }
.lp-br-desk { display: none; }
@media (min-width: 701px) {
  .lp-br-desk { display: inline; }
}

/* --- SMS-режим hero: компактный proof-блок станций (?city=) --- */
.lp-hero--city .lp-hero-h1-default,
.lp-hero--city .lp-hero-sub-default,
.lp-hero--city .lp-hero-checks-default { display: none; }
.lp-hero--city .lp-hero-h1-city,
.lp-hero--city .lp-hero-sub-city { display: block; }
.lp-hero-h1-city { color: #fff; font-weight: 800; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.12; letter-spacing: -.03em; max-width: 620px; }
.lp-hero-h1-city .hl { color: #7fdcff; }
.lp-hero-sub-city { color: rgba(255,255,255,.92); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.55; margin: 18px 0 20px; max-width: 520px; }

.lp-hero-stations {
  margin-top: 4px; max-width: 540px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-card);
  padding: 16px 16px 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.lp-hero-stations-head { margin-bottom: 12px; }
.lp-hero-stations-title {
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 15px;
  color: #fff; margin-bottom: 10px;
}
.lp-hero-stations-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-hero-stations-chips .chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.14); color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.12);
}
.lp-hero-stations-chips .chip.ours { background: rgba(30,94,255,.35); border-color: rgba(127,220,255,.35); color: #fff; }
.lp-hero-stations-chips .chip.price { background: rgba(15,23,42,.55); border-color: rgba(255,255,255,.1); color: #fff; }

.lp-hero-stations-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lp-hero-stations-list li {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: start;
  padding: 11px 12px; border-radius: 14px;
  background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.6);
}
.lp-hero-stations-list li.ours { border-color: #bfdbfe; box-shadow: 0 0 0 1px rgba(30,94,255,.12); }
.lp-hero-stations-list .addr {
  font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.35;
  display: flex; align-items: flex-start; gap: 7px; min-width: 0;
}
.lp-hero-stations-list .addr svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--primary); }
.lp-hero-stations-list .addr span { min-width: 0; }
.lp-hero-stations-list .meta { display: flex; flex-wrap: wrap; gap: 5px; grid-column: 1 / -1; }
.lp-hero-stations-list .badge-ours {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  color: var(--primary); background: var(--primary-light); padding: 3px 8px; border-radius: 100px;
}
.lp-hero-stations-list .cat {
  font-size: 10.5px; font-weight: 600; color: var(--text-2);
  background: var(--surface-alt); padding: 3px 7px; border-radius: 6px;
}
.lp-hero-stations-list .price {
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 13px;
  color: var(--primary); white-space: nowrap;
}
.lp-hero-stations-foot { margin-top: 12px; text-align: center; }
.lp-hero-stations-more {
  display: inline-block;
  font-size: 13.5px; font-weight: 700; color: #fff; text-decoration: none;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  transition: background .15s, border-color .15s;
}
.lp-hero-stations-more:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.35); color: #fff; }

@media (max-width: 640px) {
  .lp-hero-stations { padding: 14px 12px 12px; }
  .lp-hero-stations-list li { padding: 10px; }
  .lp-hero-stations-list .price { font-size: 12px; }
  .lp-hero-h1-city { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; }
  .lp-way h3 { font-size: 20px; }
  .lp-way-price .amt { font-size: 30px; }
  .lp-way { padding: 24px 20px 26px; }
  .sec-head h2 { font-size: 28px; line-height: 1.2; }
}

/* --- CTA регистрации (открывается в новой вкладке на lk.rosstrah.ru) --- */
.lp-reg-cta {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: var(--accent); border: 1px solid #cfe0ff;
  border-radius: var(--r-card); padding: 36px 32px;
  box-shadow: var(--shadow-card);
}
.lp-reg-cta-list {
  list-style: none; margin: 0 auto 24px; padding: 0;
  display: inline-flex; flex-direction: column; gap: 12px; text-align: left;
}
.lp-reg-cta-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--text); }
.lp-reg-cta-list .ic {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ok); color: #fff;
}
.lp-reg-cta-list .ic svg { width: 14px; height: 14px; }
.lp-reg-cta-btn { display: inline-flex; align-items: center; justify-content: center; font-size: 17px; padding: 16px 40px; }
.lp-reg-note { font-size: 13px; color: var(--text-muted); margin: 16px auto 0; max-width: 460px; }

/* --- Тиры дохода --- */
.lp-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.lp-tier {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); box-shadow: var(--shadow-card);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 8px;
  position: relative; transition: transform .2s, box-shadow .2s;
}
.lp-tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.lp-tier.featured { background: #0F172A; border-color: #0F172A; color: #fff; }
.lp-tier .lvl { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 17px; }
.lp-tier .amt { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 40px; letter-spacing: -.03em; line-height: 1.05; }
.lp-tier .amt .from { font-size: 18px; font-weight: 700; color: var(--text-muted); margin-right: 4px; }
.lp-tier.featured .amt .from { color: rgba(255,255,255,.7); }
.lp-tier .amt .cur { color: var(--primary); }
.lp-tier.featured .amt .cur { color: var(--secondary); }
.lp-tier .per { font-size: 13.5px; color: var(--text-muted); margin-bottom: 8px; }
.lp-tier.featured .per { color: rgba(255,255,255,.7); }
.lp-tier ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-tier li { display: flex; gap: 9px; font-size: 14px; align-items: flex-start; line-height: 1.4; }
.lp-tier li svg { width: 17px; height: 17px; flex: none; margin-top: 1px; color: var(--primary); }
.lp-tier.featured li svg { color: var(--secondary); }
.lp-tier .tier-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--secondary); color: #062a33;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 11px;
  padding: 4px 11px; border-radius: var(--r-pill);
}
.lp-tier .btn { margin-top: 18px; }

/* --- Доп. продукты (комиссии) --- */
.lp-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-product {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 30px;
  transition: transform .2s, box-shadow .2s;
}
.lp-product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.lp-product .pct { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 32px; letter-spacing: -.03em; color: var(--primary); }
.lp-product .cap { font-size: 12.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.lp-product-kv { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 12px; }
.lp-product h4 { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 20px; margin: 0; }
.lp-product p { color: var(--text-2); font-size: 14px; margin: 0; }

/* --- Полная лояльность --- */
.lp-loyalty {
  background: var(--grad-navy); border-radius: var(--r-card); color: #fff;
  padding: 44px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.lp-loyalty::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(20,184,212,.20), transparent 70%); pointer-events: none;
}
.lp-loyalty::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.13) 1.4px, transparent 1.4px);
  background-size: 26px 26px; opacity: .5;
}
.lp-loyalty > * { position: relative; z-index: 1; }
.lp-loyalty h2 { color: #fff; font-weight: 800; font-size: 32px; letter-spacing: -.025em; max-width: 640px; }
.lp-loyalty > p { color: rgba(255,255,255,.9); font-size: 16px; margin: 14px 0 24px; max-width: 720px; }
.lp-loyalty-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.lp-loyalty-item { display: flex; gap: 12px; align-items: flex-start; }
.lp-loyalty-item .ic {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center;
}
.lp-loyalty-item .ic svg { width: 18px; height: 18px; }
.lp-loyalty-item .tt { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 15px; }
.lp-loyalty-item .ds { font-size: 13.5px; color: rgba(255,255,255,.85); margin-top: 2px; }
.lp-loyalty .btn { margin-top: 26px; }
.lp-loyalty-note { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 14px; max-width: 720px; }

/* --- Станции по городу + карта --- */
.lp-stations-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  justify-content: center; margin-bottom: 26px;
  position: relative; z-index: 500;
}

/* Кастомный цветной выбор города (вместо серой нативной "пелены") */
.lp-citypick { position: relative; }
.lp-citypick-btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 16px;
  color: #fff; min-width: 268px; text-align: left;
  background: var(--grad); border: none; border-radius: var(--r-btn);
  padding: 14px 18px; box-shadow: 0 10px 26px rgba(30,94,255,.28);
  transition: transform .15s, box-shadow .15s;
}
.lp-citypick-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(30,94,255,.34); }
.lp-citypick-btn .pin { width: 19px; height: 19px; flex: none; opacity: .95; }
.lp-citypick-btn .lbl { flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-citypick-btn .cnt {
  font-size: 12.5px; font-weight: 700; color: #fff;
  background: rgba(255,255,255,.22); padding: 3px 9px; border-radius: var(--r-pill); white-space: nowrap;
}
.lp-citypick-btn .chev { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.lp-citypick[aria-expanded="true"] .lp-citypick-btn .chev { transform: rotate(180deg); }

.lp-citypick-panel {
  position: absolute; z-index: 1001; top: calc(100% + 10px); left: 0;
  width: 340px; max-width: 88vw; background: var(--surface);
  border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 26px 60px rgba(15,23,42,.24); overflow: hidden;
  animation: lp-pop .16s ease;
}
@keyframes lp-pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lp-citypick-search { position: relative; padding: 14px 14px 10px; }
.lp-citypick-search svg { position: absolute; left: 26px; top: 25px; width: 17px; height: 17px; color: var(--text-muted); }
.lp-citypick-search input {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--r-btn);
  padding: 11px 14px 11px 40px; font: 500 15px 'Inter', sans-serif;
  background: var(--bg); color: var(--text); outline: none;
}
.lp-citypick-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,94,255,.12); }
.lp-citypick-list { list-style: none; margin: 0; padding: 4px 6px 8px; max-height: 320px; overflow: auto; }
.lp-citypick-list li {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 10px 12px; border-radius: 12px; transition: background .12s;
}
.lp-citypick-list li:hover { background: var(--accent); }
.lp-citypick-list li.is-active { background: var(--accent); }
.lp-citypick-list li .nm { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 15px; color: var(--text); flex: 1 1 auto; }
.lp-citypick-list li.is-active .nm { color: var(--primary); }
.lp-citypick-list li .ct { font-size: 12.5px; color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.lp-citypick-list li .ours {
  font-size: 11.5px; font-weight: 700; color: #fff; white-space: nowrap;
  background: var(--grad); padding: 3px 9px; border-radius: var(--r-pill);
}
.lp-citypick-empty { padding: 18px 14px; text-align: center; color: var(--text-muted); font-size: 14px; }

.lp-city-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lp-city-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 14px;
  padding: 9px 15px; border-radius: var(--r-pill);
}
.lp-city-chip .n { color: var(--text-muted); font-weight: 600; }
.lp-city-chip > span:first-child { color: var(--primary); }
.lp-city-chip.ours { background: var(--accent); border-color: transparent; }
.lp-city-chip.ours > span:first-child { color: var(--primary); }
.lp-city-chip.price { background: #0F172A; border-color: #0F172A; color: #fff; }

.lp-stations-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
#lp-map {
  height: 480px; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
  background: #eef2f8; position: sticky; top: 92px; z-index: 0;
}
.leaflet-container { font: inherit; }
.leaflet-container a.leaflet-popup-close-button { color: #94a3b8; }
/* фирменные маркеры-пины */
.lp-pin { position: relative; }
.lp-pin .dot {
  width: 100%; height: 100%; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(15,23,42,.35);
}
.lp-pin.ours .dot { background: var(--primary); }
.lp-pin.partner .dot { background: #94a3b8; }

.lp-station-list { display: flex; flex-direction: column; gap: 14px; max-height: 640px; overflow: auto; padding-right: 6px; }
.lp-station {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 18px 20px 18px 22px; box-shadow: var(--shadow-card);
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.lp-station:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.lp-station.ours {
  border-color: #bcd3ff;
  background: linear-gradient(180deg, #f5f9ff 0%, var(--surface) 60%);
}
.lp-station.ours::before {
  content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px;
  border-radius: 0 4px 4px 0; background: var(--grad);
}
.lp-station-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.lp-station .badge-ours {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--grad); color: #fff; font-family: 'Manrope', sans-serif;
  font-weight: 700; font-size: 11px; padding: 4px 10px; border-radius: var(--r-pill);
}
.lp-station .badge-partner {
  background: var(--surface-alt); color: var(--text-2); font-family: 'Manrope', sans-serif;
  font-weight: 700; font-size: 11px; padding: 4px 10px; border-radius: var(--r-pill);
}
.lp-station .price {
  margin-left: auto; font-family: 'Manrope', sans-serif; font-weight: 800;
  font-size: 18px; color: var(--primary); white-space: nowrap;
}
.lp-station .price .c { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.lp-station .addr { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; color: var(--text); line-height: 1.45; }
.lp-station .addr svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--primary); }
.lp-station-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.lp-station-cats .cat {
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 12px;
  background: var(--accent); color: var(--primary);
  padding: 4px 10px; border-radius: 8px; cursor: default;
}
.lp-station-foot { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.lp-station-foot a { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; color: var(--primary); }
.lp-cats-legend { font-size: 12.5px; color: var(--text-muted); margin: 18px auto 0; text-align: center; max-width: 760px; line-height: 1.6; }

/* --- Сеть --- */
.lp-net {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #0F172A; border-radius: var(--r-card); overflow: hidden;
}
.lp-net .cell { padding: 40px 24px; text-align: center; color: #fff; border-right: 1px solid #1E293B; }
.lp-net .cell:last-child { border-right: none; }
.lp-net .v { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 46px; letter-spacing: -.03em; }
.lp-net .v .cur { color: var(--secondary); }
.lp-net .l { color: #94a3b8; font-size: 14px; margin-top: 6px; }

@media (max-width: 1000px) {
  .lp-ways, .lp-tiers, .lp-products, .lp-loyalty-grid, .lp-stations-layout, .lp-net { grid-template-columns: 1fr; }
  #lp-map { position: static; height: 320px; }
  .lp-station-list { max-height: none; }
  .lp-net .cell { border-right: none; border-bottom: 1px solid #1E293B; }
  .lp-loyalty { padding: 32px 24px; }
  .lp-reg-cta { padding: 28px 20px; }
}
