/* ============================================================================
   Болевые посадочные (/zayavki-whatsapp-instagram.php, /kontrol-zayavok.php,
   /zayavki-v-ucheniki.php) и hero-вариант A у vs-amo-crm / vs-alfa-crm /
   vs-excel — под поисковую рекламу Google (ТЗ маркетолога, 10.2026).
   Подключается после style.css / compare.css / features.css.
   ========================================================================== */

/* --- первый экран: белый, текст слева, живой экран справа ----------------- */
.pain-hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; }
.pain-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 12px; border-radius: 999px; background: #f6f7ff; border: 1px solid rgba(0, 39, 243, .12); color: #0027F3; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.pain-hero__eyebrow i { font-style: normal; color: #94a0c7; font-weight: 600; }
.pain-hero__eyebrow-extra { display: contents; }
@media (max-width: 560px) { .pain-hero__eyebrow-extra { display: none; } }
.pain-page .fp-breadcrumbs, .vs-hero--pain .fp-breadcrumbs { margin-bottom: 26px; }
.pain-hero__title { white-space: normal; max-width: 640px; }
.pain-hero__text { max-width: 600px; }
.pain-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }
.pain-hero__actions .fp-pill { height: 48px; padding: 0 24px; font-size: 16px; }
.pain-hero__micro { margin: 0 0 18px; color: #6E7191; font-size: 13px; line-height: 1.5; }

/* строка доверия: рейтинг со ссылкой на отзывы · живой счётчик центров · факт */
.pain-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding-top: 16px; border-top: 1px solid rgba(5, 0, 78, .08); font-size: 14px; color: #3f4468; }
.pain-trust__star { display: inline-flex; align-items: baseline; gap: 6px; color: #05004E; font-weight: 700; text-decoration: none; border-bottom: 1px dashed rgba(5, 0, 78, .25); }
.pain-trust__star:hover { border-bottom-color: #05004E; }
.pain-trust__star b { color: #FFB800; font-weight: 800; }
.pain-trust__src { color: #6E7191; font-weight: 500; font-size: 13px; }
.pain-trust strong { color: #05004E; font-weight: 700; }

/* правая колонка: рамка браузера с живым экраном, под ней (на vs) карточка цены */
.pain-hero__visual { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pain-hero__shot { box-shadow: 0 24px 60px rgba(5, 0, 78, .16), 0 0 0 1px rgba(5, 0, 78, .06); }
.pain-hero__shot .safari-frame__content { background: #eef0f6; padding: 14px 14px 0; line-height: normal; overflow: hidden; }
.pain-hero__shot .aic, .pain-hero__shot .pt, .pain-hero__shot .fna, .pain-hero__shot .ch, .pain-hero__shot .vs { width: 100%; max-width: 100%; align-self: auto; margin: 0; box-shadow: none; border-radius: 12px 12px 0 0; max-height: none; box-sizing: border-box; }
.pain-hero__shot .aic { height: 380px; }
.pain-hero__shot .fna { height: 360px; }
.pain-hero__shot .pt { max-height: 380px; }
.pain-hero__shot .ch { max-height: 380px; }

/* карточка «Стоимость за первый год» (vs-страницы) */
.pain-cost { background: #05004E; color: #fff; border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.pain-cost__title { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.pain-cost__row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-size: 14px; line-height: 1.35; }
.pain-cost__row strong { font-size: 20px; font-weight: 800; white-space: nowrap; letter-spacing: -.01em; }
.pain-cost__row--umai strong { color: #FFC800; }
.pain-cost__note { font-size: 11px; color: rgba(255, 255, 255, .7); line-height: 1.4; }

/* --- «Так теряется заявка»: три карточки --------------------------------- */
.pain-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1120px; margin: 0 auto; }
.pain-card { background: #fff; border: 1px solid rgba(5, 0, 78, .08); border-radius: 18px; padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.pain-card__num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: #fff4f4; color: #d93a3a; font-size: 13px; font-weight: 800; }
.pain-card h3 { margin: 6px 0 0; font-size: 20px; line-height: 1.25; font-weight: 700; color: #171d2c; letter-spacing: -.01em; }
.pain-card p { margin: 0; font-size: 15px; line-height: 1.6; color: #6a6f7d; }
.pain-pains { background: #f6f7ff; }

/* --- сцены: переиспользуем .vs-scene, добавляем буллеты и чип ------------- */
.pain-scene__ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.pain-scene__ul li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.55; color: #3f4468; }
.pain-scene__ul li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #e9f9ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.2 4L19 7' stroke='%232DBD6E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.pain-scene__chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(0, 39, 243, .06); color: #0027F3; font-size: 13px; font-weight: 700; }
.pain-scene__chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #2DBD6E; }
.pain-page .vs-scene__shot .pt, .pain-page .vs-scene__shot .fna, .pain-page .vs-scene__shot .ch, .pain-page .vs-scene__shot .vs { width: 100%; max-width: 100%; align-self: auto; margin: 0; border-radius: 14px; box-shadow: 0 18px 46px rgba(31, 36, 48, .16); max-height: none; box-sizing: border-box; }
.pain-page .vs-scene__shot .fna { height: 372px; }

/* --- повторный CTA (болевые и vs-страницы после таблицы) ------------------ */
.pain-band { background: linear-gradient(135deg, #0027F3 0%, #0b3bff 55%, #2457f3 100%); color: #fff; border-radius: 28px; padding: 48px 56px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; max-width: 1120px; margin: 0 auto; }
.pain-band h2 { margin: 0 0 10px; font-size: 34px; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.pain-band p { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .88); max-width: 560px; }
.pain-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.pain-band__actions .fp-pill { height: 48px; padding: 0 24px; font-size: 16px; }
.pain-band__actions .fp-pill--outline { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.pain-band__actions .fp-pill--outline:hover { background: rgba(255, 255, 255, .1); }

/* --- запуск за 1–2 дня: три шага ----------------------------------------- */
.pain-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1120px; margin: 0 auto; counter-reset: pain-step; }
.pain-step { background: #fafafa; border-radius: 18px; padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.pain-step::before { counter-increment: pain-step; content: counter(pain-step, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #0027F3; color: #fff; font-size: 14px; font-weight: 800; }
.pain-step h3 { margin: 6px 0 0; font-size: 20px; line-height: 1.25; font-weight: 700; color: #171d2c; }
.pain-step p { margin: 0; font-size: 15px; line-height: 1.6; color: #6a6f7d; }

/* --- цена: текст слева, карточка тарифа справа --------------------------- */
.pain-price { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1040px; margin: 0 auto; }
.pain-price__copy h2 { margin: 0 0 14px; font-size: 40px; line-height: 1.08; font-weight: 700; color: #171d2c; letter-spacing: -.02em; text-align: left; }
.pain-price__copy p { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: #6a6f7d; }
.pain-price__copy a { color: #0027F3; font-weight: 700; text-decoration: none; }
.pain-price__card { background: #05004E; color: #fff; border-radius: 24px; padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 60px rgba(5, 0, 78, .22); }
.pain-price__plan { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pain-price__plan b { font-size: 18px; font-weight: 800; }
.pain-price__plan span { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255, 200, 0, .18); color: #FFC800; }
.pain-price__sum { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pain-price__sum strong { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: #FFC800; }
.pain-price__sum span { font-size: 14px; color: rgba(255, 255, 255, .72); }
.pain-price__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.pain-price__list li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .92); }
.pain-price__list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(45, 189, 110, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.2 4L19 7' stroke='%232DBD6E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.pain-price__card .fp-pill { margin-top: 8px; height: 48px; font-size: 16px; }
.pain-price__note { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .6); }

/* --- липкая мобильная кнопка с подписью (поверх .sticky-cta-mobile) ------- */
.sticky-cta-mobile--meta { align-items: center; gap: 12px; padding: 10px 16px 14px; }
.sticky-cta-mobile__meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sticky-cta-mobile__meta strong { font-size: 13px; color: #05004E; }
.sticky-cta-mobile__meta span { font-size: 12px; color: #6E7191; }
.sticky-cta-mobile--meta .sticky-cta-mobile__btn { width: auto; padding: 13px 22px; border-radius: 999px; white-space: nowrap; color: #05004E; font-weight: 800; }
@media (max-width: 767px) { .sticky-cta-mobile--meta { display: flex; } }

/* --- таблица сравнения: 8 ключевых строк, остальное по кнопке ------------- */
.vs-table.js:not(.is-open) .vs-table__row--more, .vs-table.js:not(.is-open) .vs-table__row--group { display: none; }
.vs-table__more { display: none; }
.vs-table.js ~ .vs-table__more { display: flex; }
.vs-table__more { justify-content: center; margin: 26px 0 0; }
.vs-table__more-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; border: 1.5px solid rgba(0, 39, 243, .25); background: #fff; color: #0027F3; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.vs-table__more-btn:hover { background: #f5f7ff; }
.vs-table__more-btn svg { transition: transform .2s; }
.vs-table.is-open ~ .vs-table__more .vs-table__more-btn svg { transform: rotate(180deg); }

/* --- отступы секций и адаптив --------------------------------------------- */
.pain-page .fp-section { margin-top: 0; padding-top: 110px; padding-bottom: 110px; }
.pain-page .fp-faq { padding-bottom: 0; }
.pain-page .fp-section--tight { padding-top: 0; }
@media (max-width: 1100px) {
  .pain-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .pain-cards, .pain-steps { grid-template-columns: 1fr 1fr; }
  .pain-price { grid-template-columns: 1fr; gap: 28px; }
  .pain-band { grid-template-columns: 1fr; padding: 36px 32px; }
  .pain-band__actions { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .pain-page .fp-section { padding-top: 60px; padding-bottom: 60px; }
  .pain-cards, .pain-steps { grid-template-columns: 1fr; }
  .pain-hero__actions .fp-pill, .pain-band__actions .fp-pill { width: 100%; }
  .pain-hero__shot .aic { height: 320px; }
  .pain-hero__shot .fna { height: 320px; }
  .pain-band { padding: 28px 20px; border-radius: 20px; }
  .pain-band h2 { font-size: 26px; }
  .pain-price__copy h2 { font-size: 30px; }
  .pain-price__card { padding: 24px 20px; }
  .pain-price__sum strong { font-size: 36px; }
  .pain-card h3, .pain-step h3 { font-size: 18px; }
  .pain-page .fp-crm__title { font-size: 34px; }
}
