.to-bpla {--navy:#1b265a;--ink:#141e37;--yellow:#ffd66a;max-width:1440px;margin:auto;padding:20px clamp(12px,3vw,44px) 56px;color:var(--ink)}
.to-bpla,.to-bpla *{box-sizing:border-box}
.to-bpla h1,.to-bpla h2,.to-bpla h3,.to-bpla p{margin:0;text-transform:none;text-align:left}
.to-bpla img{display:block;width:100%;max-width:100%;object-fit:cover}
.to-bpla h2{font-size:clamp(30px,3.2vw,48px);letter-spacing:-.035em;line-height:1.1;color:var(--navy)}
.to-bpla p{font-size:17px;line-height:1.5}
.to-bpla [id]{scroll-margin-top:150px}
.to-bpla__hero,.to-bpla__structure{position:relative;isolation:isolate;overflow:hidden;background:#132239;border-radius:6px;color:#fff}
.to-bpla__hero{min-height:clamp(420px,37vw,550px);display:grid;align-items:end}
.to-bpla .to-bpla__hero-img,.to-bpla__structure>img{position:absolute;inset:0;height:100%;z-index:-2}
.to-bpla__hero:before,.to-bpla__structure:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none}
.to-bpla__hero:before{background:linear-gradient(90deg,rgba(10,22,44,.91),rgba(10,22,44,.62) 36%,rgba(10,22,44,.08) 73%),linear-gradient(0deg,#0a162b55,transparent 48%)}
.to-bpla__hero-copy{max-width:720px;padding:clamp(24px,4.2vw,62px)}
.to-bpla .to-bpla__hero h1{font-size:clamp(40px,5.4vw,80px);line-height:.99;letter-spacing:-.04em;color:white}
.to-bpla__hero p{max-width:37ch;margin:22px 0 30px;font-size:clamp(17px,1.6vw,21px);color:#fff}
.to-bpla__actions{display:flex;gap:12px 22px;align-items:center;flex-wrap:wrap}
.to-bpla .to-bpla__primary,.to-bpla .to-bpla__secondary{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:46px;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
.to-bpla .to-bpla__primary{background:var(--yellow);color:#172239;border:0;border-radius:4px;padding:12px 19px;text-decoration:none}
.to-bpla .to-bpla__primary:hover{background:#ffe69a}
.to-bpla .to-bpla__secondary{background:none;border:0;padding:8px 0;color:white;text-decoration:underline;text-underline-offset:5px}
.to-bpla__catalog{margin:clamp(36px,5vw,72px) 0}
.to-bpla__grid{margin-top:24px;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:20px}
.to-bpla__structure{min-height:360px;display:flex;align-items:flex-end}
.to-bpla__structure:before{background:linear-gradient(0deg,#101d32 0%,#101d32d6 26%,#101d3230 62%,transparent)}
.to-bpla__structure>div{padding:clamp(20px,2.6vw,38px)}
.to-bpla__structure h3,.to-bpla__nets h3{font-size:clamp(25px,2.6vw,38px);line-height:1.1;letter-spacing:-.025em}
.to-bpla__structure h3,.to-bpla__structure p,.to-bpla__structure a{color:white}
.to-bpla__structure p{margin:10px 0}
.to-bpla__structure a{display:inline-flex;align-items:center;gap:14px;min-height:44px;font-weight:bold;text-underline-offset:4px}
.to-bpla__nets{background:#edf0f3;padding:clamp(16px,2.4vw,34px);border-radius:6px;display:grid;grid-template-rows:auto 1fr 1fr;gap:14px}
.to-bpla__nets h3{color:var(--navy);margin:0 0 4px}
.to-bpla .to-bpla__sample{display:grid;grid-template-columns:32% 1fr auto;align-items:center;gap:clamp(10px,1.3vw,19px);background:white;color:var(--ink);padding-right:14px;text-decoration:none;min-height:96px;border-radius:4px;overflow:hidden}
.to-bpla__sample img{height:100%;max-height:168px}
.to-bpla__sample strong,.to-bpla__sample small{display:block}
.to-bpla__sample strong{font-size:clamp(17px,1.55vw,23px);line-height:1.14}
.to-bpla__sample small{margin-top:6px;font-size:14px;line-height:1.4;color:#515e71}
.to-bpla__sample i{font-style:normal;font-size:22px;color:var(--navy)}
.to-bpla__sample:hover strong{text-decoration:underline;text-underline-offset:4px}
.to-bpla__request{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:clamp(24px,6vw,90px);align-items:start;background:#19264b;color:white;padding:clamp(22px,3.8vw,54px);border-radius:6px}
.to-bpla__request h2,.to-bpla__request p{color:white}
.to-bpla__request-intro p{margin:14px 0 22px;max-width:46ch}
.to-bpla__spec details{border-top:1px solid #647190}
.to-bpla__spec details:last-child{border-bottom:1px solid #647190}
.to-bpla__spec summary{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:54px;cursor:pointer;font-weight:700;font-size:18px;list-style:none}
.to-bpla__spec summary::-webkit-details-marker{display:none}
.to-bpla__spec summary:after{content:"+";color:var(--yellow);font-size:22px}
.to-bpla__spec details[open] summary:after{content:"−"}
.to-bpla__spec p{padding:0 0 16px;color:#e5eaf3;font-size:16px}
.to-bpla :is(a,button,summary):focus-visible{outline:3px solid #008cd1;outline-offset:3px}
@media(max-width:767px){
 .to-bpla__grid,.to-bpla__request{grid-template-columns:minmax(0,1fr)}
 .to-bpla__hero{min-height:480px}
 .to-bpla .to-bpla__hero-img{object-position:66% center}
 .to-bpla__hero:before{background:linear-gradient(0deg,#0b1934 4%,#10203bcc 48%,#0b193410 88%)}
 .to-bpla__hero-copy{padding:25px 19px}
 .to-bpla__hero p{margin:16px 0 20px}
 .to-bpla__structure{min-height:330px}
 .to-bpla__grid{gap:12px}
 .to-bpla__sample{min-height:100px}
 .to-bpla__request .to-bpla__spec{grid-row:2}
}

/* Каталог и страницы продукции */
.to-bpla__nets h3 a{color:inherit;text-decoration:none}
.to-bpla__nets h3 a:hover,.bp-related a:hover{text-decoration:underline}
.bp-parent{margin:4px 0 18px}
.bp-parent a,.bp-related a{color:var(--navy);font-weight:bold;text-underline-offset:4px}
.bp-lead{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#19264b;border-radius:6px;overflow:hidden}
.bp-copy{align-self:center;padding:clamp(22px,3.8vw,58px)}
.bp-copy h1{color:white;font-size:clamp(31px,3.8vw,59px);line-height:1.06;letter-spacing:-.03em}
.bp-copy p{color:#edf1fa;max-width:46ch;margin:18px 0 24px}
.bp-photo{min-height:310px;position:relative}
.bp-photo img{position:absolute;height:100%;inset:0}
.bp-section,.bp-rfq{margin-top:clamp(32px,4vw,60px)}
.bp-list,.bp-table,.bp-tiles{margin:22px 0 0}
.bp-list>div{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(0,1.35fr);gap:24px;border-top:1px solid #cdd6e0;padding:19px 4px}
.bp-list dt{font-size:19px;color:var(--navy)}
.bp-list dd{margin:0;font-size:17px;line-height:1.5}
.bp-tiles{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.to-bpla .bp-tile{display:block;background:#edf0f3;border-radius:6px;overflow:hidden;color:var(--navy);text-decoration:none}
.bp-tile img{height:clamp(150px,17vw,245px)}
.bp-tile div{padding:20px 24px}
.bp-tile h3{font-size:clamp(22px,2.3vw,32px);color:var(--navy)}
.bp-tile p{margin:6px 0 12px}
.bp-tile span{font-weight:bold;text-decoration:underline;text-underline-offset:4px}
.bp-table{width:100%;border-collapse:collapse;table-layout:fixed}
.bp-table th,.bp-table td{text-align:left;vertical-align:top;overflow-wrap:anywhere;padding:14px;border-bottom:1px solid #cdd6e0;font-size:16px;line-height:1.4}
.bp-table thead{background:var(--navy);color:white}
.bp-rfq{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:clamp(22px,4vw,62px);background:#edf0f3;border-radius:6px;padding:clamp(20px,3vw,44px)}
.bp-rfq p{margin:16px 0 0;max-width:42ch}
.bp-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bp-inputs label{font:inherit;font-weight:600;font-size:15px;display:flex;flex-direction:column;justify-content:flex-end;gap:6px;margin:0;color:var(--ink)}
.bp-inputs input{width:100%;min-height:44px;border:1px solid #a4aebb;border-radius:4px;background:white;padding:8px 10px;color:var(--ink);font:inherit;font-weight:400}
.bp-inputs button{grid-column:1/-1;justify-self:start}
.bp-related{display:flex;gap:12px 28px;flex-wrap:wrap;margin:24px 0}
@media(max-width:767px){
 .bp-lead,.bp-rfq,.bp-list>div,.bp-tiles{grid-template-columns:minmax(0,1fr)}
 .bp-photo{min-height:0;aspect-ratio:2.25}
 .bp-list>div{gap:6px}.bp-table th,.bp-table td{padding:8px 6px;font-size:14px}
}
@media(max-width:480px){.bp-inputs{grid-template-columns:minmax(0,1fr)}}
.bp-editorial,.bp-sheet{margin-block:clamp(30px,4vw,62px)}
.bp-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}
.bp-facts article,.bp-story{background:#f1f3f6;border-top:3px solid #33457e;padding:clamp(18px,2vw,30px)}
.bp-facts h3,.bp-sheet h3{font-size:clamp(20px,1.8vw,25px);line-height:1.18;color:var(--navy)}
.bp-facts p,.bp-sheet p{margin-top:10px}
.bp-story,.bp-qa{margin-top:22px}
.bp-story p{max-width:84ch;margin-bottom:12px}
.bp-sheet{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid #bfc9d6;padding:clamp(18px,2.8vw,36px);border-radius:6px}
.bp-sheet a,.bp-story a{color:var(--navy);font-weight:bold;text-underline-offset:4px}
.bp-sheet a{white-space:nowrap}
.bp-qa details{padding:14px 0;border-top:1px solid #ccd3dd}
.bp-qa summary{cursor:pointer;font-size:18px;font-weight:600;color:var(--navy)}
.bp-qa p{padding:12px 0 0;max-width:80ch}
@media(max-width:767px){.bp-facts{grid-template-columns:1fr}.bp-sheet{align-items:flex-start;flex-direction:column}}
.to-bpla .bp-area{grid-column:1/-1;margin:0;padding:12px 14px;border-left:3px solid #33457e;background:white;color:#1b265a;font-size:16px}

/* Главная раздела, версия 0.5 */
.hb-section {margin-block:clamp(38px,5vw,72px)}
.hb-section>h2 {margin-bottom:22px}
.hb-section h3 {font-size:clamp(19px,1.7vw,25px);line-height:1.16;color:var(--navy)}
.hb-section a {color:var(--navy);font-weight:650;text-underline-offset:4px}
.hb-split,.hb-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,3vw,42px);align-items:center}
.hb-section figure,.hb-notes {margin:0}
.hb-split figure img,.hb-pair figure img {aspect-ratio:1.65;border-radius:5px}
.hb-section figcaption {padding:10px 0;font-size:14px;line-height:1.45;color:#4f5a6a}
.hb-pair figcaption a {font-size:20px}
.hb-notes>div {border-top:1px solid #c9d2de;padding:12px 0}
.hb-notes dt {font-size:18px;font-weight:700;color:var(--navy)}
.hb-notes dd {margin:4px 0 0;line-height:1.5}
.hb-tiles,.hb-use,.hb-steps {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 18px}
.hb-tiles article,.hb-use article,.hb-steps li {background:#f1f3f6;border-radius:4px;overflow:hidden}
.hb-tiles img {aspect-ratio:1.55}
.hb-tiles article>div,.hb-use article,.hb-steps li {padding:18px}
.hb-tiles p,.hb-use p,.hb-steps p,.hb-final p {margin:9px 0 0}
.hb-panel,.hb-paper {padding:clamp(20px,2.8vw,42px);background:#edf0f4}
.hb-panel .hb-paper {background:white}
.hb-paper p,.hb-panel p {margin:13px 0}
.hb-paper .bp-table {margin:12px 0 16px}
.hb-steps {padding:0;counter-reset:step}
.hb-steps li:before {counter-increment:step;content:counter(step,decimal-leading-zero);display:block;color:#33457e;margin-bottom:12px;font-size:20px}
.hb-contacts {display:flex;gap:16px;flex-wrap:wrap;margin-top:16px}
.hb-contacts a {color:white;text-decoration:underline}
@media(max-width:960px){.hb-tiles,.hb-use,.hb-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.hb-split,.hb-pair{grid-template-columns:1fr}.hb-table,.hb-table tbody,.hb-table tr,.hb-table td,.hb-table tbody th{display:block;width:100%}.hb-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.hb-table tbody th{background:#e7ecf1}.hb-table td:before{content:attr(data-label);display:block;font-weight:600;color:var(--navy)}}
@media(max-width:460px){.hb-tiles,.hb-use,.hb-steps{grid-template-columns:1fr}}

/* The catalogue supplies the gutter between the menu and this column. */
.to-bpla.bp-detail {
  container: bpla-content / inline-size;
  width: 100%;
  min-width: 0;
  padding: 12px 0 36px;
  overflow-wrap: break-word;
}
.bp-detail h2 { font-size: clamp(24px, 3.6cqi, 36px); }
.bp-detail h3 { font-size: clamp(20px, 2.6cqi, 26px); }
.bp-detail .bp-section, .bp-detail .bp-rfq, .bp-detail .bp-sheet {
  margin-block: clamp(24px, 4cqi, 42px) 0;
}
.bp-detail .bp-copy, .bp-detail .bp-rfq, .bp-detail .bp-sheet {
  padding: clamp(16px, 3cqi, 30px);
}
.bp-detail .bp-copy p { margin: 0 0 18px; }
.bp-detail .bp-photo { min-height: 0; aspect-ratio: auto; }
.bp-detail .bp-lead { min-height: clamp(180px, 26cqi, 265px); }
.bp-detail .bp-facts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.bp-detail .bp-inputs input, .bp-detail .bp-inputs label { min-width: 0; }
.bp-detail .to-bpla__primary { max-width: 100%; white-space: normal; text-align: center; }
.bp-detail .bp-tile img { height: clamp(145px, 23cqi, 210px); }
.bp-detail .bp-table th, .bp-detail .bp-table td { padding: clamp(8px, 1.5cqi, 14px); }

@container bpla-content (max-width: 900px) {
  .bp-rfq { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .bp-rfq p { max-width: 64ch; }
}
@container bpla-content (max-width: 620px) {
  .bp-lead, .bp-tiles, .bp-list > div { grid-template-columns: minmax(0, 1fr); }
  .bp-detail .bp-photo { aspect-ratio: 2.6; }
  .bp-list > div { gap: 6px; padding: 14px 0; }
  .bp-sheet { flex-direction: column; align-items: flex-start; }
}
@container bpla-content (max-width: 460px) {
  .bp-inputs { grid-template-columns: minmax(0, 1fr); }
  .bp-detail .bp-table th, .bp-detail .bp-table td { padding: 8px 6px; font-size: 14px; }
}

.hb-annotated{position:relative}
.hb-point{position:absolute;display:inline-block;padding:4px 10px;background:#16264de8;color:white;border:1px solid #ffffffb0;border-radius:3px;font-size:14px;line-height:1.35}
.hb-point:before{content:"";position:absolute;right:100%;top:50%;width:16px;border-top:1px solid white}
.hb-point-post{top:66%;left:40%}.hb-point-net{top:27%;left:59%}

/* Catalogue and service templates both inherit global nowrap table styles. */
.bp-detail table.bp-table {
  display: table;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  table-layout: fixed;
  white-space: normal;
}
.bp-detail .bp-table th,
.bp-detail .bp-table td {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
  vertical-align: top;
}
.bp-detail .bp-table thead th:first-child { width: 32%; }
.bp-detail .bp-table thead th { background: var(--navy); color: white; }
