/* ==========================================================================
   Главная страница сервиса в едином «про»-дизайне (как расшифровка анализов).
   Разметка — service/landing_pro.twig. Заголовки секций, «Почему мы», тарифы, вопросы и итоговый
   блок переиспользуют стили анализов (service-landing.css, analizy-*.css); здесь — шаги, возможности,
   «для кого», статьи и мини-иллюстрации итогового блока по типам сервисов.
   ========================================================================== */

.spro-section { position: relative; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 56px 0 40px; }
@media (min-width: 992px) { .spro-section { width: min(1560px, calc(100% - 80px)); } }
.analizy-trust-section.spro-section, .analizy-plans-section.spro-section, .analizy-qa-section.spro-section { padding-top: 76px; }

/* Мобильная подводка секции: на телефонах стили .analizy-catalog-section__intro заданы отдельно, но без flex-раскладки */
@media (max-width: 991px) {
	.spro-section .analizy-catalog-section__intro { display: block; margin: 0 0 22px; }
	.spro-section .analizy-catalog-section__intro h2 { margin: 12px 0; color: #071537; font: 900 31px/1.04 Inter, sans-serif; letter-spacing: -.05em; }
	.spro-section .analizy-catalog-section__intro h2 em { color: #0874f9; font-style: normal; }
	.spro-section .analizy-catalog-section__intro p { margin: 0; color: #7180ac; font: 400 16px/1.45 Inter, sans-serif; }
}

/* ---------- Шаги ---------- */
.spro-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.spro-step { position: relative; padding: 26px 26px 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .9); border-radius: 23px; background: #fff; box-shadow: 0 13px 26px rgba(42, 79, 142, .06); transition: transform .25s ease, box-shadow .25s ease; }
.spro-step:hover { transform: translateY(-4px); box-shadow: 0 19px 34px rgba(42, 79, 142, .13); }
.spro-step::after { content: ''; position: absolute; right: -60px; top: -70px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(225, 239, 255, .95), rgba(231, 242, 255, .3) 58%, transparent 74%); pointer-events: none; }
.spro-step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 15px; color: #fff; font: 800 20px Inter, sans-serif; background: linear-gradient(135deg, #0874f9, #7c5cff); box-shadow: 0 12px 22px -10px rgba(8, 116, 249, .7); }
.spro-step h3 { position: relative; z-index: 1; margin: 0 0 8px; color: #08163b; font: 700 20px/1.25 Inter, sans-serif; letter-spacing: -.045em; }
.spro-step p { position: relative; z-index: 1; margin: 0; color: #7482ad; font: 400 15px/1.5 Inter, sans-serif; letter-spacing: -.015em; }

/* ---------- Возможности и «для кого» ---------- */
.spro-features, .spro-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.spro-feature, .spro-person { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 20px; background: #fff; box-shadow: 0 10px 22px rgba(42, 79, 142, .05); transition: transform .25s ease, box-shadow .25s ease; }
.spro-feature:hover, .spro-person:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(42, 79, 142, .11); }
.spro-feature__ico, .spro-person__ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #0874f9; background: #eaf2ff; }
.spro-feature__ico svg, .spro-person__ico svg { width: 22px; height: 22px; }
.spro-person__ico { color: #6b4fe0; background: #f0ecff; }
.spro-feature p, .spro-person p { margin: 0; padding-top: 2px; color: #08163b; font: 500 16px/1.45 Inter, sans-serif; letter-spacing: -.02em; }
.spro-feature p b, .spro-feature p strong, .spro-person p b, .spro-person p strong { font-weight: 700; }

/* ---------- Статьи и таблица ---------- */
.spro-articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; margin-top: 18px; }
.spro-article { padding: 26px 28px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 23px; background: #fff; box-shadow: 0 13px 26px rgba(42, 79, 142, .06); color: #34416b; font: 400 15.5px/1.6 Inter, sans-serif; }
.spro-article h3 { margin: 0 0 10px; color: #08163b; font: 700 20px/1.25 Inter, sans-serif; letter-spacing: -.045em; }
.spro-article p { margin: 0 0 10px; }
.spro-article ul { margin: 0 0 10px; padding-left: 20px; }
.spro-article li { margin-bottom: 6px; }
.spro-article code { display: inline-block; padding: 6px 12px; border-radius: 10px; background: #eaf2ff; color: #0b3f93; font: 600 15px Inter, sans-serif; }
.spro-article > :last-child { margin-bottom: 0; }
.spro-table { overflow-x: auto; border: 1px solid rgba(255, 255, 255, .9); border-radius: 23px; background: #fff; box-shadow: 0 13px 26px rgba(42, 79, 142, .06); }
.spro-table table { width: 100%; border-collapse: collapse; font: 400 15px/1.45 Inter, sans-serif; }
.spro-table th { padding: 16px 22px; text-align: left; color: #7482ad; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; background: #f4f8ff; }
.spro-table td { padding: 15px 22px; color: #08163b; border-top: 1px solid #edf1fa; }
.spro-table td:first-child { font-weight: 700; white-space: nowrap; }

/* ---------- Итоговый блок: мини-иллюстрации ---------- */
.spro-cta { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
@media (min-width: 992px) { .spro-cta { width: min(1560px, calc(100% - 80px)); } }
.spro-vis { position: relative; display: flex; align-items: center; justify-content: center; }
.spv-card { position: relative; width: min(100%, 340px); padding: 20px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 22px; color: #08163b; background: rgba(255, 255, 255, .95); box-shadow: 0 30px 60px -24px rgba(8, 40, 120, .55); font: 500 14px/1.4 Inter, sans-serif; }

.spv-gauge { position: relative; display: grid; grid-template-columns: 14fr 26fr 20fr 40fr; gap: 3px; height: 10px; margin-bottom: 18px; }
.spv-gauge i { border-radius: 99px; background: #7cc4ff; }
.spv-gauge i:nth-child(2) { background: #4cd08a; } .spv-gauge i:nth-child(3) { background: #ffc24d; } .spv-gauge i:nth-child(4) { background: #ff7a6b; }
.spv-gauge b { position: absolute; left: 36%; top: -5px; width: 4px; height: 20px; border-radius: 4px; background: #08163b; }
.spv-big { font: 900 54px/1 Inter, sans-serif; letter-spacing: -.05em; }
.spv-pill { display: inline-block; margin: 10px 0 14px; padding: 5px 14px; border-radius: 99px; color: #0a7a44; font-weight: 700; background: #e3f8ec; }
.spv-row { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid #edf1fa; color: #7482ad; }
.spv-row b { color: #08163b; }

.spv-sheet__head { display: flex; justify-content: space-between; margin-bottom: 14px; }
.spv-sheet__head i { height: 10px; width: 44%; border-radius: 99px; background: #dfe8f8; } .spv-sheet__head i:last-child { width: 24%; background: #eaf2ff; }
.spv-sheet__rows { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 9px; }
.spv-sheet__rows li { display: grid; grid-template-columns: 1fr 22% 26%; gap: 10px; }
.spv-sheet__rows i { height: 9px; border-radius: 99px; background: #edf1fa; } .spv-sheet__rows i:first-child { background: #dfe8f8; }
.spv-sheet__sum { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid #edf1fa; font-weight: 700; }
.spv-sheet__sum b { font-size: 18px; }
.spv-stamp { position: absolute; right: 18px; bottom: 44px; width: 74px; height: 74px; border: 3px solid rgba(40, 70, 170, .55); border-radius: 50%; transform: rotate(-12deg); }
.spv-stamp::after { content: ''; position: absolute; inset: 9px; border: 2px solid rgba(40, 70, 170, .4); border-radius: 50%; }

.spv-chat { display: grid; gap: 10px; }
.spv-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.4; }
.spv-msg--in { background: #eef3ff; border-bottom-left-radius: 5px; }
.spv-msg--out { margin-left: auto; color: #fff; background: linear-gradient(135deg, #0874f9, #6a5cff); border-bottom-right-radius: 5px; }
.spv-typing { display: flex; gap: 5px; padding: 4px 6px; }
.spv-typing i { width: 8px; height: 8px; border-radius: 50%; background: #b7c6ee; animation: spvDot 1.2s infinite ease-in-out; }
.spv-typing i:nth-child(2) { animation-delay: .15s; } .spv-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes spvDot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-5px); opacity: 1; } }

.spv-flow { display: grid; gap: 12px; }
.spv-chan { padding: 14px 16px; border-radius: 16px; background: #eef3ff; }
.spv-chan b { display: block; font-weight: 700; } .spv-chan small { color: #7482ad; }
.spv-chan--to { background: #e3f8ec; } .spv-chan--to small { color: #2f8a5b; }
.spv-arrow { display: flex; justify-content: center; gap: 6px; } .spv-arrow i { width: 8px; height: 8px; border-radius: 50%; background: #0874f9; animation: spvDot 1.2s infinite ease-in-out; }
.spv-arrow i:nth-child(2) { animation-delay: .15s; } .spv-arrow i:nth-child(3) { animation-delay: .3s; }
.spv-tags { display: flex; flex-wrap: wrap; gap: 6px; } .spv-tags span { padding: 4px 11px; border-radius: 99px; color: #5b3fd0; font-size: 12.5px; font-weight: 600; background: #f0ecff; }

.spv-clean { display: grid; gap: 8px; }
.spv-line { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; color: #9aa7c9; background: #f4f6fb; text-decoration: line-through; }
.spv-line i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ff7a6b; }
.spv-line--keep { color: #08163b; text-decoration: none; background: #eef3ff; }

@media (prefers-reduced-motion: reduce) { .spv-typing i, .spv-arrow i { animation: none; } }
@media (max-width: 760px) {
	.spro-section { padding: 38px 0 26px; }
	.spro-features, .spro-people, .spro-articles { grid-template-columns: 1fr; }
	.spro-articles { grid-template-columns: 1fr; }
	.spro-article { padding: 22px 20px; }
}
