/* ============================================================
   Флагманская страница «Бизнес-процессы» — template-bp.php
   Палитра сайта: navy #0f2444 · синий #0048A2 · золото #FFB329
   Характер: инженерный «чертёж» — сетка, нумерованные артефакты, матрица статусов.
   ============================================================ */

.bp-page{ --navy:#0f2444; --blue:#0048A2; --blue-2:#1a63d6; --gold:#FFB329; --ink:#33455f; --muted:#5a6b86;
  --line:#e6ebf3; --bg-soft:#f5f8fd; --bg-blue:#e6eefb; color:var(--ink); }
.bp-page .container{ max-width:1200px; margin:0 auto; padding-left:20px; padding-right:20px; }
.bp-page h1,.bp-page h2,.bp-page h3{ color:var(--navy); }

/* ── общие типо-элементы ── */
.bp-eyebrow{ display:inline-block; font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--blue); padding-bottom:6px; border-bottom:2px solid var(--gold); margin-bottom:18px; }
.bp-eyebrow--center{ display:block; width:max-content; margin-left:auto; margin-right:auto; }
.bp-eyebrow--light{ color:#bcd2ff; }
.bp-h2{ font-size:clamp(26px,3.2vw,40px); line-height:1.15; font-weight:800; text-align:center; text-wrap:balance; margin:0 0 14px; }
.bp-h2--light{ color:#fff; }
.bp-lead-center{ max-width:760px; margin:0 auto 40px; text-align:center; font-size:18px; line-height:1.6; color:var(--muted); }
.bp-lead-center--light{ color:#aebfd8; }
.bp-btn{ display:inline-block; text-decoration:none; font-weight:700; border-radius:10px; padding:16px 34px; transition:.2s; }
.bp-btn--primary{ background:var(--blue)!important; color:#fff!important; box-shadow:0 8px 22px rgba(0,72,162,.28); }
.bp-btn--primary:hover{ background:#003a86!important; transform:translateY(-2px); }

/* ── HERO ── */
.bp-hero{ background:
    linear-gradient(180deg,#fff, var(--bg-soft));
  position:relative; overflow:hidden; padding:56px 0 64px; }
.bp-hero:before{ content:""; position:absolute; inset:0; opacity:.5; pointer-events:none;
  background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size:40px 40px; mask-image:linear-gradient(180deg,#000,transparent 85%); -webkit-mask-image:linear-gradient(180deg,#000,transparent 85%); }
.bp-hero__grid{ position:relative; display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; }
.bp-hero__title{ font-size:clamp(30px,4vw,50px); line-height:1.1; font-weight:800; margin:0 0 20px; text-wrap:balance; }
.bp-hero__lead{ font-size:19px; line-height:1.6; color:var(--ink); margin:0 0 24px; max-width:600px; }
.bp-hero__bullets{ list-style:none; margin:0 0 30px; padding:0; display:grid; gap:12px; }
.bp-hero__bullets li{ position:relative; padding-left:32px; font-size:16px; color:var(--ink); }
.bp-hero__bullets li:before{ content:""; position:absolute; left:0; top:3px; width:18px; height:18px; border-radius:50%;
  background:var(--gold); box-shadow:inset 0 0 0 2px #fff; }
.bp-hero__bullets li:after{ content:""; position:absolute; left:6px; top:8px; width:5px; height:9px;
  border:solid var(--navy); border-width:0 2px 2px 0; transform:rotate(42deg); }

/* матрица статусов (визуал) */
.bp-hero__viz{ display:flex; justify-content:center; }
.bp-matrix{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:22px; width:100%; max-width:360px;
  box-shadow:0 24px 60px rgba(15,36,68,.12); }
.bp-matrix__cap{ display:block; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); margin-bottom:14px; }
.bp-matrix__row{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:8px; }
.bp-matrix__row i{ font-style:normal; font-size:12.5px; font-weight:600; text-align:center; padding:10px 4px; border-radius:8px; color:var(--navy); }
.bp-matrix__row .s-new{ background:var(--bg-blue); }
.bp-matrix__row .s-ok{ background:#e3f5ea; color:#1c7a45; }
.bp-matrix__row .s-mid{ background:#fff2d6; color:#8a5a00; }
.bp-matrix__row .s-warn{ background:#fde3e3; color:#a5322b; }
.bp-matrix__row .s-alt{ background:#eae6fb; color:#4b3b93; }
.bp-matrix__flow{ display:flex; align-items:center; justify-content:center; gap:14px; margin-top:16px; padding-top:16px; border-top:1px dashed var(--line); }
.bp-matrix__flow span{ font-weight:800; color:var(--blue); font-size:15px; }
.bp-matrix__flow em{ font-style:normal; color:var(--gold); font-size:22px; font-weight:800; }

/* ── ЦИФРЫ ── */
.bp-stats{ padding:0 0 6px; margin-top:-32px; position:relative; z-index:2; }
.bp-stats__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; background:var(--navy); border-radius:18px; padding:30px 24px;
  box-shadow:0 24px 60px rgba(15,36,68,.22); }
.bp-stat{ text-align:center; color:#fff; position:relative; }
.bp-stat + .bp-stat:before{ content:""; position:absolute; left:-9px; top:14%; height:72%; width:1px; background:rgba(255,255,255,.14); }
.bp-stat__num{ display:block; font-size:clamp(26px,3vw,36px); font-weight:800; color:var(--gold); line-height:1; margin-bottom:8px; }
.bp-stat__label{ display:block; font-size:14px; line-height:1.35; color:#c3d2ea; }

/* ── МАНИФЕСТ (сравнение) ── */
.bp-manifest{ padding:70px 0; }
.bp-compare{ display:grid; grid-template-columns:1fr 1fr; gap:24px; max-width:960px; margin:0 auto; }
.bp-compare__col{ border-radius:16px; padding:30px 28px; border:1px solid var(--line); }
.bp-compare__col--bad{ background:#fbfcfe; }
.bp-compare__col--good{ background:linear-gradient(180deg,#fff,var(--bg-soft)); border-color:#cfe0fb; box-shadow:0 16px 40px rgba(0,72,162,.10); }
.bp-compare__head{ font-weight:800; font-size:18px; color:var(--navy); margin-bottom:18px; padding-bottom:12px; border-bottom:2px solid var(--line); }
.bp-compare__col--good .bp-compare__head{ border-bottom-color:var(--gold); }
.bp-compare__col ul{ list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.bp-compare__col li{ position:relative; padding-left:30px; font-size:15.5px; line-height:1.5; }
.bp-compare__col--bad li:before{ content:"✕"; position:absolute; left:0; top:0; color:#b9c2d0; font-weight:800; }
.bp-compare__col--good li:before{ content:"✓"; position:absolute; left:0; top:0; color:#1c7a45; font-weight:800; }

/* ── 7 АРТЕФАКТОВ ── */
.bp-deliverables{ padding:70px 0; background:var(--bg-soft); }
.bp-deliver-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.bp-deliver{ position:relative; background:#fff; border:1px solid var(--line); border-radius:16px; padding:30px 26px 26px; transition:.2s; }
.bp-deliver:hover{ transform:translateY(-4px); box-shadow:0 20px 44px rgba(15,36,68,.10); border-color:#cfe0fb; }
.bp-deliver__num{ position:absolute; top:-16px; left:26px; width:44px; height:44px; border-radius:12px; background:var(--navy);
  color:#fff; font-weight:800; font-size:19px; display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 18px rgba(15,36,68,.28); }
.bp-deliver__num:after{ content:""; position:absolute; right:-4px; bottom:-4px; width:14px; height:14px; border-radius:4px; background:var(--gold); z-index:-1; }
.bp-deliver__title{ font-size:19px; font-weight:800; margin:14px 0 10px; }
.bp-deliver__text{ font-size:15px; line-height:1.55; color:var(--muted); margin:0; }
.bp-deliver__text b{ color:var(--navy); }

/* ── ЭТАПЫ ── */
.bp-process{ padding:70px 0; }
.bp-steps{ max-width:860px; margin:0 auto; display:grid; gap:0; }
.bp-step{ display:grid; grid-template-columns:auto 1fr; gap:24px; padding:0 0 34px; position:relative; }
.bp-step:before{ content:""; position:absolute; left:27px; top:8px; bottom:-6px; width:2px; background:linear-gradient(var(--blue),var(--bg-blue)); }
.bp-step:last-child{ padding-bottom:0; }
.bp-step:last-child:before{ display:none; }
.bp-step__num{ position:relative; z-index:1; width:56px; height:56px; border-radius:50%; background:#fff; border:2px solid var(--blue);
  color:var(--blue); font-weight:800; font-size:22px; display:flex; align-items:center; justify-content:center; }
.bp-step__body{ padding-top:6px; }
.bp-step__title{ font-size:20px; font-weight:800; margin:0 0 8px; }
.bp-step__text{ font-size:16px; line-height:1.6; color:var(--muted); margin:0; }

/* ── МЕХАНИКИ (dark band) ── */
.bp-mechanics{ padding:74px 0; background:var(--navy); position:relative; overflow:hidden; }
.bp-mechanics:before{ content:""; position:absolute; inset:0; opacity:.06; pointer-events:none;
  background-image:linear-gradient(#fff 1px,transparent 1px),linear-gradient(90deg,#fff 1px,transparent 1px); background-size:44px 44px; }
.bp-mechanics .container{ position:relative; }
.bp-mech-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.bp-mech{ background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:22px 20px; transition:.2s; }
.bp-mech:hover{ background:rgba(255,255,255,.07); border-color:var(--gold); }
.bp-mech__title{ font-size:16px; font-weight:800; color:#fff; margin:0 0 8px; padding-left:14px; position:relative; }
.bp-mech__title:before{ content:""; position:absolute; left:0; top:3px; width:5px; height:15px; border-radius:3px; background:var(--gold); }
.bp-mech__text{ font-size:14px; line-height:1.55; color:#aebfd8; margin:0; }

/* ── ВИТРИНА КОНТУРОВ ── */
.bp-showcase{ padding:74px 0; background:var(--bg-soft); }
.bp-filters{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin:0 auto 34px; max-width:900px; }
.bp-chip{ font-family:inherit; cursor:pointer; border:1px solid #cfd9e8; background:#fff; color:var(--muted);
  font-size:14px; font-weight:600; padding:9px 18px; border-radius:999px; transition:.18s; }
.bp-chip:hover{ border-color:var(--blue); color:var(--blue); }
.bp-chip.is-active{ background:var(--blue); border-color:var(--blue); color:#fff; box-shadow:0 6px 16px rgba(0,72,162,.25); }
.bp-contours{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.bp-contour{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:24px 22px; border-left:3px solid var(--gold); transition:.2s; }
.bp-contour:hover{ transform:translateY(-3px); box-shadow:0 16px 36px rgba(15,36,68,.10); border-left-color:var(--blue); }
.bp-contour__title{ font-size:17px; font-weight:800; margin:0 0 9px; }
.bp-contour__text{ font-size:14.5px; line-height:1.55; color:var(--muted); margin:0; }
.bp-showcase__note{ text-align:center; margin:34px auto 0; font-size:16px; font-weight:600; color:var(--navy); }

/* ── ЭКСПЕРТЫ ── */
.bp-experts{ padding:70px 0; background:var(--bg-soft); }
.bp-experts__grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; max-width:960px; margin:0 auto; }
.bp-expert{ display:flex; gap:22px; background:#fff; border:1px solid var(--line); border-radius:16px; padding:28px 26px; }
.bp-expert__avatar{ flex:0 0 auto; width:74px; height:74px; border-radius:50%; background:var(--blue); color:#fff;
  font-size:32px; font-weight:800; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 20px rgba(0,72,162,.28); }
.bp-expert__avatar--alt{ background:var(--navy); box-shadow:0 8px 20px rgba(15,36,68,.28); }
.bp-expert__avatar--photo{ background:none; padding:0; overflow:hidden; box-shadow:0 8px 20px rgba(15,36,68,.20); }
.bp-expert__avatar--photo img{ width:100%; height:100%; object-fit:cover; display:block; border-radius:50%; }
.bp-expert__name{ font-size:20px; font-weight:800; margin:0 0 3px; }
.bp-expert__role{ font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--blue); margin-bottom:10px; }
.bp-expert__text{ font-size:15px; line-height:1.55; color:var(--muted); margin:0; }

/* ── FAQ ── */
.bp-faq{ padding:70px 0; }
.bp-faq__list{ max-width:820px; margin:0 auto; display:grid; gap:12px; }
.bp-faq__item{ border:1px solid var(--line); border-radius:12px; background:#fff; overflow:hidden; }
.bp-faq__item[open]{ border-color:#cfe0fb; box-shadow:0 10px 26px rgba(15,36,68,.07); }
.bp-faq__item summary{ cursor:pointer; list-style:none; padding:20px 54px 20px 24px; font-size:17px; font-weight:700; color:var(--navy); position:relative; }
.bp-faq__item summary::-webkit-details-marker{ display:none; }
.bp-faq__item summary:after{ content:"+"; position:absolute; right:22px; top:50%; transform:translateY(-50%); font-size:24px; font-weight:400; color:var(--blue); transition:.2s; }
.bp-faq__item[open] summary:after{ transform:translateY(-50%) rotate(45deg); }
.bp-faq__a{ padding:0 24px 22px; font-size:15.5px; line-height:1.6; color:var(--muted); }

/* ── CTA доработка (форма — из темы) ── */
.bp-cta{ margin-top:0; }
.bp-page .sol-cta .connection__img{ display:none; }

/* ── адаптив ── */
@media (max-width:1000px){
  .bp-hero__grid{ grid-template-columns:1fr; gap:36px; }
  .bp-hero__viz{ order:-1; }
  .bp-deliver-grid,.bp-contours{ grid-template-columns:repeat(2,1fr); }
  .bp-mech-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:1000px){
  .bp-stats__grid{ grid-template-columns:repeat(2,1fr); gap:24px; }
  .bp-stat:nth-child(2):before{ display:none; }
  .bp-experts__grid{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .bp-compare,.bp-deliver-grid,.bp-contours,.bp-mech-grid{ grid-template-columns:1fr; }
  .bp-stats{ margin-top:-16px; }
  .bp-stat:before{ display:none!important; }
  .bp-expert{ flex-direction:column; gap:14px; text-align:center; align-items:center; }
  .bp-hero{ padding:36px 0 44px; }
  .bp-manifest,.bp-deliverables,.bp-process,.bp-mechanics,.bp-showcase,.bp-faq{ padding:48px 0; }
  .bp-step{ grid-template-columns:auto 1fr; gap:16px; }
  .bp-step__num{ width:46px; height:46px; font-size:18px; }
  .bp-step:before{ left:22px; }
}
