/* Разоблачения (/dossiers) — 13.09.2026.
   Подключается только во views/dossier/*, всё под .pd, чтобы не задевать
   Bootstrap 3 и site.css. Палитра и шрифт — как у страницы компании (вариант B). */

@font-face { font-family: "PBSans"; src: url("/fonts/SFUIDisplay-Regular.otf"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PBSans"; src: url("/fonts/SFUIDisplay-Medium.otf"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "PBSans"; src: url("/fonts/SFUIDisplay-Semibold.otf"); font-weight: 600; font-style: normal; font-display: swap; }

.pd {
    --pd-brand: #0077ff;
    --pd-navy: #0e1b33;
    --pd-navy-2: #1a2b4b;
    --pd-on-navy: #c8d3e6;
    --pd-ink: #141a26;
    --pd-ink-2: #434b5a;
    --pd-muted: #6b7280;
    --pd-line: #e6e8ec;
    --pd-soft: #f5f6f8;
    --pd-red: #d92d2d;
    --pd-red-soft: #fdecec;
    --pd-amber: #ffa300;
    --pd-amber-soft: #fff4de;
    --pd-green: #17853f;
    font-family: "PBSans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-synthesis: none;
    color: var(--pd-ink);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
.pd *, .pd *::before, .pd *::after { box-sizing: border-box; }
.pd a { color: var(--pd-brand); }
.pd a:hover { text-decoration: none; }
.pd h1, .pd h2, .pd h3 { font-family: inherit; text-transform: none; letter-spacing: normal; color: inherit; }

/* ---------- Шапка: тёмная полоса на всю ширину окна ---------- */
.pd-hero {
    position: relative;
    margin-top: -30px;
    padding: 22px 0 34px;
    background: var(--pd-navy);
    color: #fff;
    box-shadow: 0 0 0 100vmax var(--pd-navy);
    clip-path: inset(0 -100vmax);
}
.pd-crumbs { font-size: 13px; color: #8e9bb3; margin-bottom: 18px; }
.pd .pd-crumbs a { color: #8e9bb3; }
.pd .pd-crumbs a:hover { color: #fff; }
.pd-tag {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    background: var(--pd-red); color: #fff;
}
.pd-tag--self { background: var(--pd-amber); color: #1a1400; }
.pd-hero h1 { margin: 12px 0 14px; max-width: 900px; font-size: 38px; line-height: 1.12; font-weight: 600; color: #fff; }
.pd-lead { max-width: 780px; margin: 0; font-size: 18px; line-height: 1.55; color: var(--pd-on-navy); }
.pd-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.pd-stat { padding: 14px 16px; border-radius: 10px; background: var(--pd-navy-2); }
.pd-stat b { display: block; font-size: 30px; line-height: 1.1; font-weight: 600; color: #fff; white-space: nowrap; }
.pd-stat:first-child b { color: #ff8a8a; }
.pd-stat span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--pd-on-navy); }
.pd-hero-note { margin-top: 18px; font-size: 13px; color: #8e9bb3; }
.pd .pd-hero-note a { color: #ffd27a; }

/* ---------- Тело ---------- */
.pd-body { max-width: 900px; padding: 0 0 40px; }
.pd-body > .pd-sec:first-child { margin-top: 30px; }
.pd-sec, .pd section.pd-sec { margin-top: 38px; padding: 0; }
.pd-sec > h2 { margin: 0 0 6px; font-size: 26px; line-height: 1.2; font-weight: 600; }
.pd-sec > .pd-sub { margin: 0 0 18px; color: var(--pd-ink-2); }

.pd-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; counter-reset: pdstep; }
.pd-step { position: relative; padding: 16px 18px 16px 58px; border: 1px solid var(--pd-line); border-radius: 10px; background: #fff; }
.pd-step::before {
    counter-increment: pdstep; content: counter(pdstep);
    position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%;
    background: var(--pd-navy); color: #fff; font-weight: 600; font-size: 15px; line-height: 28px; text-align: center;
}
.pd-step h3 { margin: 2px 0 4px; font-size: 17px; font-weight: 600; }
.pd-step p { margin: 0; font-size: 15px; color: var(--pd-ink-2); }
.pd-step--alarm { border-color: #f3b7b7; background: var(--pd-red-soft); }
.pd-step--alarm::before { background: var(--pd-red); }

.pd-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pd-phone { padding: 16px 18px; border-radius: 10px; background: var(--pd-soft); }
.pd-phone-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pd-phone-num { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pd-phone-n { padding: 2px 9px; border-radius: 999px; background: var(--pd-red); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 10px; padding: 0; list-style: none; }
.pd-chips li { margin: 0; }
.pd-chips a { display: inline-block; padding: 3px 9px; border: 1px solid var(--pd-line); border-radius: 6px; background: #fff; font-size: 13px; color: var(--pd-ink); }
.pd-chips a:hover { border-color: var(--pd-brand); color: var(--pd-brand); }
.pd-more { font-size: 14px; font-weight: 500; }

.pd-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pd-quote { display: flex; flex-direction: column; margin: 0; padding: 16px 18px; border-left: 4px solid var(--pd-line); border-radius: 0 10px 10px 0; background: var(--pd-soft); }
.pd-quote--neg { border-left-color: var(--pd-red); background: var(--pd-red-soft); }
.pd-quote--pos { border-left-color: var(--pd-green); }
.pd-quote p { flex: 1; margin: 0 0 10px; font-size: 15px; line-height: 1.5; font-style: italic; }
.pd blockquote.pd-quote { font-size: 15px; }
.pd .pd-quote footer { display: block; margin: 0; padding: 0; background: none; font-size: 13px; line-height: 1.4; color: var(--pd-muted); }
.pd .pd-quote footer::before { content: none; }
.pd-quote footer a { font-weight: 500; }
.pd-quote-kind { font-style: normal; font-weight: 600; color: var(--pd-red); }

.pd-callout { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--pd-amber-soft); font-size: 15px; }
.pd-callout--red { background: var(--pd-red-soft); }

.pd-bars { display: grid; gap: 14px; }
.pd-bar-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px; align-items: center; }
.pd-bar-label { font-size: 14px; font-weight: 500; }
.pd-bar-label small { display: block; font-weight: 400; color: var(--pd-muted); }
.pd-bar { display: flex; height: 30px; overflow: hidden; border-radius: 6px; background: var(--pd-line); font-size: 13px; font-weight: 600; color: #fff; }
.pd-bar i { display: flex; align-items: center; padding: 0 8px; font-style: normal; white-space: nowrap; }
.pd-bar .pos { background: var(--pd-green); }
.pd-bar .neu { background: #9aa1ab; }
.pd-bar .neg { background: var(--pd-red); }

.pd-timeline { position: relative; margin: 8px 0 0; padding: 0 0 0 26px; list-style: none; }
.pd-timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--pd-line); }
.pd-timeline li { position: relative; margin: 0 0 16px; }
.pd-timeline li::before { content: ""; position: absolute; left: -26px; top: 4px; width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; background: var(--pd-navy); box-shadow: 0 0 0 1px #c9ced8; }
.pd-timeline li.is-alarm::before { background: var(--pd-red); }
.pd-timeline b { display: block; font-size: 14px; font-weight: 600; color: var(--pd-muted); text-transform: capitalize; }

.pd-list { margin: 10px 0 0; padding: 0; list-style: none; }
.pd-list li { position: relative; margin: 0 0 10px; padding-left: 30px; }
.pd-list li::before { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; color: #fff; }
.pd-list--risk li::before { content: "!"; background: var(--pd-red); }
.pd-list--check { counter-reset: pdcheck; }
.pd-list--check li::before { counter-increment: pdcheck; content: counter(pdcheck); background: var(--pd-green); }

.pd-search { display: flex; gap: 8px; max-width: 560px; margin-top: 14px; }
.pd-search input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #c9ced8; border-radius: 8px; font-size: 16px; }
.pd-search button { padding: 10px 18px; border: 0; border-radius: 8px; background: var(--pd-navy); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.pd-search button:hover { background: var(--pd-navy-2); }

.pd-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 38px; padding: 20px 22px; border-radius: 12px; background: var(--pd-navy); color: var(--pd-on-navy); }
.pd-cta b { display: block; font-size: 18px; color: #fff; }
.pd .pd-cta a.pd-btn, .pd a.pd-btn { display: inline-block; padding: 10px 18px; border-radius: 8px; background: var(--pd-amber); color: #1a1400; font-weight: 600; white-space: nowrap; }
.pd a.pd-btn:hover { background: #ffb733; }

.pd-cards { list-style: none; margin: 10px 0 0; padding: 0; columns: 2 300px; column-gap: 24px; }
.pd-cards li { margin: 0 0 6px; break-inside: avoid; }
.pd-cards small { color: var(--pd-muted); }

.pd-foot { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--pd-line); font-size: 14px; color: var(--pd-muted); }
.pd-foot p { margin: 0 0 6px; }

/* ---------- История клиента ---------- */
.pd-story { padding: 20px 22px; border: 1px solid #f3b7b7; border-radius: 12px; background: #fff; box-shadow: 0 6px 20px rgba(217, 45, 45, .08); }
.pd-story-h { font-size: 14px; color: var(--pd-muted); }
.pd-story-h .pd-tag { margin-right: 6px; vertical-align: 1px; }
.pd-story-lead { margin: 12px 0 16px; font-size: 21px; line-height: 1.35; font-weight: 600; }
.pd-story-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 22px; align-items: start; }
.pd-story-grid p { margin: 0 0 12px; font-size: 15px; }
.pd-calc { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.pd-calc caption { padding: 0 0 6px; font-weight: 600; color: var(--pd-ink); text-align: left; caption-side: top; }
.pd-calc td { padding: 5px 0; border-bottom: 1px dashed var(--pd-line); }
.pd-calc td:last-child { text-align: right; white-space: nowrap; }
.pd-calc-total td { padding-top: 8px; border-bottom: 0; font-size: 17px; font-weight: 700; color: var(--pd-red); }

/* ---------- Вопросы ---------- */
.pd-faq { margin: 0; }
.pd-faq details { border-bottom: 1px solid var(--pd-line); }
.pd-faq summary { padding: 14px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.pd-faq summary::-webkit-details-marker { display: none; }
.pd-faq summary::after { content: "+"; float: right; color: var(--pd-muted); font-weight: 400; }
.pd-faq details[open] summary::after { content: "−"; }
.pd-faq details p { margin: 0 0 14px; color: var(--pd-ink-2); }

.pd-themes { display: grid; gap: 8px; margin: 6px 0 18px; }
.pd-theme { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: 14px; }
.pd-theme-bar { height: 12px; border-radius: 6px; background: var(--pd-red); }
.pd-theme b { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Анонсы (главная, боковая колонка) ---------- */
.pd-teasers { padding: 34px 0 38px; background: var(--pd-navy); color: #fff; }
.pd-teasers h2 { margin: 0 0 4px; font-size: 26px; font-weight: 600; color: #fff; text-transform: none; }
.pd-teasers-sub { margin: 0 0 18px; color: var(--pd-on-navy); }
.pd-teasers .pd-cases { margin-top: 0; }
.pd-teasers .pd-case { border-color: transparent; }
.pd-teasers-all { display: inline-block; margin-top: 16px; }
.pd .pd-teasers-all { color: #ffd27a; }
.pd-side { padding: 14px 16px; border-radius: 10px; background: var(--pd-navy); color: var(--pd-on-navy); font-size: 14px; }
.pd-side b { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #ff8a8a; }
.pd-side a { display: block; margin: 0 0 10px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.pd .pd-side a { color: #fff; }
.pd .pd-side a:hover { color: #ffd27a; }
.pd-side span { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--pd-on-navy); }

/* ---------- Список разоблачений ---------- */
.pd-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.pd-case { display: flex; flex-direction: column; padding: 20px 22px; border: 1px solid var(--pd-line); border-top: 5px solid var(--pd-red); border-radius: 12px; background: #fff; transition: box-shadow .15s; }
.pd-case--self { border-top-color: var(--pd-amber); }
.pd-case:hover { box-shadow: 0 8px 24px rgba(14, 27, 51, .10); }
.pd-case h2 { margin: 10px 0 8px; font-size: 22px; line-height: 1.25; font-weight: 600; }
.pd-case h2 a { color: var(--pd-ink); }
.pd-case h2 a:hover { color: var(--pd-brand); }
.pd-case p { flex: 1; margin: 0 0 14px; color: var(--pd-ink-2); }
.pd-case-stats { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.pd-case-stats b { display: block; font-size: 22px; line-height: 1.1; font-weight: 600; }
.pd-case-stats span { font-size: 12.5px; color: var(--pd-muted); }
.pd-case-go { font-weight: 600; }
.pd-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.pd-link { display: block; padding: 16px 18px; border-radius: 10px; background: var(--pd-soft); color: var(--pd-ink); }
.pd .pd-link { color: var(--pd-ink); }
.pd-link b { display: block; margin-bottom: 4px; font-size: 16px; color: var(--pd-brand); }
.pd-link span { font-size: 14px; color: var(--pd-ink-2); }
.pd-link:hover { background: #eceef2; }

@media (max-width: 900px) {
    .pd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-links { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
    .pd-hero { padding-bottom: 26px; }
    .pd-hero h1 { font-size: 27px; }
    .pd-lead { font-size: 16px; }
    .pd-stat b { font-size: 24px; white-space: normal; }
    .pd-steps, .pd-phones, .pd-quotes, .pd-cases { grid-template-columns: minmax(0, 1fr); }
    .pd-bar-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .pd-story-grid { grid-template-columns: minmax(0, 1fr); }
    .pd-theme { grid-template-columns: minmax(0, 1fr) 80px 36px; }
    .pd-story-lead { font-size: 18px; }
    .pd-sec > h2 { font-size: 22px; }
}
