/* ==========================================================================
   AV-Security — «Защита предприятий от БПЛА»
   (/uslugi/vse-uslugi/zashchita-ot-bpla/)

   Loaded only on this page (inc/bpla-protection.php), after sections.css.
   Every rule is scoped to .av-bpla-page / .av-bpla-* classes; the site
   header and footer (outside <main>) keep their own styles and fonts.

   Layout, colours, type (Onest, JetBrains Mono) and components follow the
   approved mock-up /home/aleks/av-security-bpla-mockup.html. Adapted to the
   site: content in the corporate grid (1180 container, 24px gutters →
   1132px), cards and panels use the homepage card radius (4px), buttons the
   homepage button radius (2px); pills and switches keep the mock-up's
   round shape.

   Sections: fonts · tokens · shell · hero · «Купол» (3D) · includes ·
   law · steps · FAQ · related · request form · reveal · motion.
   ========================================================================== */

/* ---------- fonts (self-hosted, SIL OFL — assets/fonts/README.txt) ---------- */
@font-face {
	font-family: "Onest";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/onest-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: "Onest";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/onest-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "JetBrains Mono";
	font-style: normal;
	font-weight: 400 500;
	font-display: swap;
	src: url("../fonts/jetbrains-mono-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: "JetBrains Mono";
	font-style: normal;
	font-weight: 400 500;
	font-display: swap;
	src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens (the mock-up's :root) ---------- */
.av-bpla-page {
	--bp-bg: #fff;
	--bp-tint: #f3f6fa;
	--bp-ink: #0e1d3a;
	--bp-ink2: #3d4b66;
	--bp-ink3: #66738e;
	--bp-rule: #e2e7f0;
	--bp-rule2: #d3dbe8;
	--bp-navy: #0b1a2e;
	--bp-deep: #07111f;
	--bp-on: #e8eef8;
	--bp-on2: #9fb1cc;
	--bp-on3: #6f83a3;
	--bp-dl: rgba(150, 175, 215, 0.18);
	--bp-red: #d7263d;
	--bp-red-d: #ff5a68;
	--bp-blue: #2455c3;
	--bp-blue-h: #1b46a8;
	--bp-blue-d: #6f9cff;
	--bp-ok: #1f8f5a;
	--bp-ok-d: #4fe0a8;
	--bp-r: 4px;     /* cards, panels — homepage card radius (mock-up 10px) */
	--bp-r-btn: 2px; /* buttons — homepage button radius (mock-up 4px) */
	--bp-f: "Onest", "Segoe UI", Roboto, Arial, sans-serif;
	--bp-m: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
	--bp-gut: var(--wp--preset--spacing--50, 1.5rem);

	font-family: var(--bp-f);
	font-size: 16px;
	line-height: 1.55;
	color: var(--bp-ink);
	-webkit-font-smoothing: antialiased;
}

/* The page's bands butt up against each other inside the constrained <main>. */
.av-bpla-page > * {
	margin-block: 0;
}

.av-bpla-page *,
.av-bpla-page *::before,
.av-bpla-page *::after {
	box-sizing: border-box;
}

.av-bpla-page [hidden] {
	display: none !important;
}

.av-bpla-page button,
.av-bpla-page input,
.av-bpla-page textarea {
	font-family: inherit;
	color: inherit;
}

.av-bpla-page :focus-visible {
	outline: 2px solid var(--bp-blue);
	outline-offset: 3px;
}

.av-bpla-dk :focus-visible {
	outline-color: var(--bp-blue-d);
}

/* ---------- shell ---------- */

/* Content container: the same edges as .av-section .av-container. */
.av-bpla-wrap {
	width: 100%;
	max-width: none;
	margin-inline: 0;
	padding-inline: var(--bp-gut);
}

@media (min-width: 769px) {
	.av-bpla-wrap {
		padding-inline: max(
			calc(var(--bp-gut) * 3),
			calc((100% - var(--av-container, 1180px)) / 2 + var(--bp-gut))
		);
	}
}

.av-bpla-wrap > * {
	margin-block: 0;
}

.av-bpla-band {
	padding-block: 96px;
	background: var(--bp-bg);
	color: var(--bp-ink);
}

.av-bpla-page .av-bpla-tint {
	background: var(--bp-tint);
}

.av-bpla-page .av-bpla-dk {
	background: var(--bp-navy);
	color: var(--bp-on);
}

@media (max-width: 760px) {
	.av-bpla-band {
		padding-block: 64px;
	}
}

/* Section head */
.av-bpla-sh {
	display: grid;
	gap: 16px;
	max-width: 760px;
	margin-bottom: 44px;
}

.av-bpla-sh > * {
	margin: 0;
}

.av-bpla-wrap > .av-bpla-sh.av-bpla-sh--flush,
.av-bpla-sh--flush {
	margin: 0;
	align-content: start;
}

/* Eyebrow: red 30×2 bar + uppercase label. */
.av-bpla-page .av-bpla-eb {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font: 500 13px/1 var(--bp-f);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bp-ink3);
}

.av-bpla-page .av-bpla-eb::before {
	content: "";
	flex: none;
	width: 30px;
	height: 2px;
	background: var(--bp-red);
}

.av-bpla-dk .av-bpla-eb {
	color: var(--bp-on2);
}

.av-bpla-page .av-bpla-h1 {
	margin: 0;
	font: 800 clamp(40px, min(5.4vw, (100vw - 200px) * 0.0613), 66px)/1 var(--bp-f);
	letter-spacing: -0.04em;
	text-wrap: balance;
	color: var(--bp-ink);
}

/* The mock-up's 68px H1 needs a 740px column for its two lines
   («Защита предприятий / от БПЛА»); in the 1132px grid the copy column is
   673px, so the size follows the column (66px max). One column ≤960. */
@media (max-width: 960px) {
	.av-bpla-page .av-bpla-h1 {
		font-size: clamp(40px, 5.4vw, 68px);
	}
}

.av-bpla-page .av-bpla-h2 {
	margin: 0;
	font: 800 clamp(30px, 3.6vw, 46px)/1.06 var(--bp-f);
	letter-spacing: -0.03em;
	text-wrap: balance;
	color: inherit;
}

.av-bpla-page h3 {
	margin: 0;
	font: 700 20px/1.25 var(--bp-f);
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.av-bpla-page .av-bpla-lead {
	margin: 0;
	max-width: 62ch;
	font-size: 18px;
	line-height: 1.55;
	color: var(--bp-ink2);
}

.av-bpla-dk .av-bpla-lead {
	color: #b8c6db;
}

.av-bpla-page .av-bpla-lead--sm {
	font-size: 16px;
}

.av-bpla-page .av-bpla-cap {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--bp-ink3);
}

.av-bpla-dk .av-bpla-cap {
	color: var(--bp-on3);
}

.av-bpla-card {
	padding: 26px;
	border: 1px solid var(--bp-rule);
	border-radius: var(--bp-r);
	background: var(--bp-bg);
}

.av-bpla-tint .av-bpla-card {
	border-color: var(--bp-rule2);
}

/* Buttons */
.av-bpla-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--bp-r-btn);
	cursor: pointer;
	font: 600 15px/1 var(--bp-f);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.av-bpla-btn svg {
	width: 16px;
	height: 16px;
	flex: none;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.av-bpla-page .av-bpla-btn--p,
.av-bpla-page .av-bpla-btn--p:visited {
	background: var(--bp-blue);
	color: #fff;
	text-decoration: none;
}

.av-bpla-page .av-bpla-btn--p:hover {
	background: var(--bp-blue-h);
	color: #fff;
}

.av-bpla-page .av-bpla-btn--r {
	border: 1.5px solid rgba(255, 90, 104, 0.6);
	background: transparent;
	color: #fff;
}

.av-bpla-page .av-bpla-btn--r:hover {
	background: rgba(255, 90, 104, 0.12);
}

.av-bpla-btn--r svg {
	width: 14px;
	height: 14px;
	color: var(--bp-red-d);
}

.av-bpla-btn[disabled] {
	opacity: 0.7;
	cursor: progress;
}

/* ---------- hero ---------- */
.av-bpla-hero {
	padding-block: 56px 64px;
	background: var(--bp-bg);
}

.av-bpla-hero__in {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: 56px;
	align-items: center;
}

.av-bpla-hero__copy {
	display: grid;
	gap: 22px;
	min-width: 0;
}

.av-bpla-hero__copy > * {
	margin: 0;
}

/* Breadcrumbs (breadcrumbs.css): the copy grid gap plus the rest of the
   shared breadcrumbs → eyebrow distance. */
.av-bpla-hero__copy > .av-breadcrumbs {
	margin-bottom: calc(var(--av-crumbs-gap-eyebrow) - 22px);
}

.av-bpla-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.av-bpla-tags li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 30px;
	padding: 0 12px;
	border-radius: 15px;
	background: var(--bp-tint);
	font-size: 13px;
	font-weight: 500;
	color: var(--bp-ink2);
	white-space: nowrap;
}

.av-bpla-tags li::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--bp-ok);
}

.av-bpla-btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.av-bpla-page .av-bpla-tlink {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 4px;
	font-size: 15px;
	font-weight: 600;
	color: var(--bp-ink);
	text-decoration: none;
}

.av-bpla-tlink svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
}

.av-bpla-page .av-bpla-tlink:hover {
	color: var(--bp-blue);
}

.av-bpla-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--bp-rule);
	border-radius: var(--bp-r);
	overflow: hidden;
	background: var(--bp-rule);
}

.av-bpla-facts > div {
	display: grid;
	align-content: start;
	gap: 6px;
	padding: 20px;
	background: var(--bp-bg);
}

.av-bpla-facts strong {
	font: 800 34px/1 var(--bp-f);
	letter-spacing: -0.035em;
	font-variant-numeric: tabular-nums;
	color: var(--bp-ink);
}

/* Word values (no figure) are a step smaller, so «Лицензия» fits the cell. */
.av-bpla-facts strong.is-text {
	font-size: 28px;
	letter-spacing: -0.025em;
}

.av-bpla-facts span {
	font-size: 14px;
	line-height: 1.4;
	color: var(--bp-ink3);
}

@media (max-width: 960px) {
	.av-bpla-hero__in {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}

@media (max-width: 640px) {
	.av-bpla-tags {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		margin-inline: calc(-1 * var(--bp-gut));
		padding-inline: var(--bp-gut);
	}

	.av-bpla-tags::-webkit-scrollbar {
		display: none;
	}

	.av-bpla-tags li {
		flex: none;
	}
}

@media (max-width: 390px) {
	.av-bpla-facts > div {
		padding: 16px;
	}

	.av-bpla-facts strong {
		font-size: 30px;
	}

	.av-bpla-facts strong.is-text {
		font-size: 23px;
	}
}

/* ---------- «Купол» (3D) ---------- */
.av-bpla-day {
	position: relative;
	padding-block: 72px 80px;
}

.av-bpla-day .av-bpla-sh {
	margin-bottom: 28px;
}

.av-bpla-wrap > .av-bpla-day__cap {
	margin-top: 14px;
}

.av-bpla-dgrid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 16px;
}

.av-bpla-stage {
	position: relative;
	min-height: 640px;
	border: 1px solid var(--bp-dl);
	border-radius: var(--bp-r);
	overflow: hidden;
	isolation: isolate;
	background: #081525;
}

.av-bpla-stage__cv {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	outline: none;
	cursor: grab;
	touch-action: pan-y;
}

.av-bpla-stage__cv:active {
	cursor: grabbing;
}

.av-bpla-poster {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: grid;
	place-items: center;
	padding: 24px;
	background:
		linear-gradient(rgba(120, 160, 230, 0.07) 1px, transparent 1px) 0 0 / 32px 32px,
		linear-gradient(90deg, rgba(120, 160, 230, 0.07) 1px, transparent 1px) 0 0 / 32px 32px;
	font: 500 12px/1.4 var(--bp-m);
	letter-spacing: 0.06em;
	text-align: center;
	text-transform: uppercase;
	color: var(--bp-on2);
}

.av-bpla-poster span {
	display: flex;
	align-items: center;
	gap: 10px;
}

.av-bpla-poster span::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	border: 2px solid var(--bp-blue-d);
	border-right-color: transparent;
	border-radius: 50%;
	animation: av-bpla-spin 1s linear infinite;
}

.av-bpla-poster.is-failed span::before {
	display: none;
}

@keyframes av-bpla-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Scene labels («Детектор БПЛА», «Подстанция»…), placed by the script. */
.av-bpla-hots {
	position: absolute;
	inset: 0;
	z-index: 2;
	overflow: hidden;
	pointer-events: none;
}

.av-bpla-hot {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	will-change: transform;
}

.av-bpla-hot__ring {
	flex: none;
	width: 14px;
	height: 14px;
	border: 2px solid var(--c, #e8eef8);
	border-radius: 50%;
	background: rgba(8, 21, 37, 0.9);
}

.av-bpla-hot__txt {
	display: grid;
	line-height: 1.15;
	text-shadow: 0 1px 8px #061020, 0 0 2px #061020;
}

.av-bpla-hot__txt b {
	font: 600 13px/1.2 var(--bp-f);
	color: #fff;
}

.av-bpla-hot__txt small {
	font: 500 11.5px/1.2 var(--bp-f);
	color: var(--bp-on2);
}

.av-bpla-hot.is-flip {
	flex-direction: row-reverse;
	text-align: right;
}

.av-bpla-hot.is-short .av-bpla-hot__txt,
.av-bpla-hot.is-off {
	display: none;
}

/* HUD: blue with the system, red («warn») without. */
.av-bpla-hud {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 3;
	display: grid;
	gap: 2px;
	padding: 12px 16px;
	border: 1px solid rgba(111, 156, 255, 0.5);
	border-radius: var(--bp-r);
	background: rgba(7, 17, 31, 0.82);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.av-bpla-hud__k {
	font: 600 11px/1 var(--bp-f);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #bcd0ff;
}

.av-bpla-hud strong {
	font: 500 28px/1.1 var(--bp-m);
	font-variant-numeric: tabular-nums;
	color: #fff;
}

.av-bpla-hud small {
	font-size: 12.5px;
	color: #d7e1f0;
}

.av-bpla-hud.is-warn {
	border-color: rgba(255, 90, 104, 0.45);
}

.av-bpla-hud.is-warn .av-bpla-hud__k {
	color: #ffb3ba;
}

.av-bpla-tools {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	display: flex;
	gap: 6px;
}

.av-bpla-tool {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid rgba(142, 162, 189, 0.28);
	border-radius: var(--bp-r);
	background: rgba(8, 21, 37, 0.78);
	cursor: pointer;
	color: var(--bp-on);
}

.av-bpla-tool:hover {
	border-color: rgba(142, 162, 189, 0.6);
}

.av-bpla-tool svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.av-bpla-hint {
	position: absolute;
	bottom: 14px;
	left: 50%;
	z-index: 4;
	max-width: calc(100% - 28px);
	padding: 7px 12px;
	border: 1px solid var(--bp-dl);
	border-radius: var(--bp-r);
	background: rgba(8, 21, 37, 0.9);
	font-size: 12.5px;
	color: #c9d6e8;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transform: translateX(-50%);
	transition: opacity 0.25s;
}

.av-bpla-hint.is-on {
	opacity: 1;
}

/* Panel */
.av-bpla-panel {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	padding: 22px;
	border: 1px solid var(--bp-dl);
	border-radius: var(--bp-r);
	background: linear-gradient(180deg, rgba(14, 32, 56, 0.92), rgba(10, 24, 43, 0.92));
}

.av-bpla-panel > * {
	margin: 0;
}

.av-bpla-panel__k {
	font: 500 11px/1.3 var(--bp-m);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bp-on2);
}

.av-bpla-panel__k em {
	font-style: normal;
	color: var(--bp-red-d);
}

.av-bpla-page .av-bpla-panel h3 {
	font-size: 21px;
	color: #fff;
}

.av-bpla-panel p {
	font-size: 15px;
	color: #c3d0e2;
}

.av-bpla-cmp2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
}

.av-bpla-cmp2 > div {
	display: grid;
	gap: 4px;
	padding: 12px;
	border-radius: var(--bp-r);
	background: rgba(150, 175, 215, 0.07);
}

.av-bpla-cmp2 strong {
	font: 800 26px/1 var(--bp-f);
	letter-spacing: -0.02em;
	color: #fff;
}

.av-bpla-cmp2 span {
	font-size: 12.5px;
	line-height: 1.3;
	color: var(--bp-on2);
}

.av-bpla-cmp2 .is-g strong {
	color: var(--bp-ok-d);
}

.av-bpla-cmp2 .is-b strong {
	color: var(--bp-red-d);
}

.av-bpla-steps2 {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.av-bpla-steps2 li {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	gap: 10px;
	padding: 7px 8px;
	border-radius: var(--bp-r);
	font-size: 13.5px;
	line-height: 1.35;
	color: var(--bp-on3);
}

/* Initial state: «<b>Обнаружение</b> — text» in light ink. */
.av-bpla-steps2 li b {
	font-weight: 700;
	color: #fff;
}

.av-bpla-steps2 time {
	font: 500 12px/1.4 var(--bp-m);
}

.av-bpla-steps2 li.is-done {
	color: #d7e1f0;
}

.av-bpla-steps2 li.is-done time {
	color: var(--bp-ok-d);
}

.av-bpla-steps2 li.is-now {
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
}

.av-bpla-steps2 li.is-bad {
	color: #ffc7cd;
}

.av-bpla-steps2 li.is-bad time {
	color: var(--bp-red-d);
}

.av-bpla-pcta {
	display: grid;
	gap: 10px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--bp-dl);
}

.av-bpla-panel > .av-bpla-pcta {
	margin-top: auto;
}

.av-bpla-pcta span {
	font-size: 13.5px;
	color: var(--bp-on2);
}

.av-bpla-pcta .av-bpla-btn {
	width: 100%;
	height: 44px;
}

/* Controls */
.av-bpla-ctl {
	grid-column: 1 / -1;
	display: grid;
	gap: 14px;
	min-width: 0;
	padding: 16px 18px;
	border: 1px solid var(--bp-dl);
	border-radius: var(--bp-r);
	background: rgba(255, 255, 255, 0.03);
}

.av-bpla-ctl__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
}

.av-bpla-segc2 {
	display: inline-flex;
	padding: 4px;
	border: 1px solid var(--bp-dl);
	border-radius: 24px;
}

.av-bpla-segc2 button {
	height: 38px;
	padding: 0 16px;
	border: 0;
	border-radius: 19px;
	background: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	color: var(--bp-on2);
	transition: background-color 0.2s, color 0.2s;
}

.av-bpla-segc2 button[aria-pressed="true"] {
	background: #fff;
	color: var(--bp-ink);
}

.av-bpla-dirs {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--bp-on2);
}

.av-bpla-dirs button {
	height: 34px;
	padding: 0 12px;
	border: 1px solid var(--bp-dl);
	border-radius: 17px;
	background: none;
	cursor: pointer;
	font-size: 13.5px;
	color: #d7e1f0;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.av-bpla-dirs button[aria-pressed="true"] {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.av-bpla-runs {
	display: flex;
	align-items: center;
	gap: 8px;
}

.av-bpla-runs .av-bpla-btn--r {
	flex: 0 0 auto;
}

.av-bpla-snd {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 14px;
	border: 1.5px solid rgba(150, 175, 215, 0.3);
	border-radius: var(--bp-r-btn);
	background: transparent;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	color: var(--bp-on2);
}

.av-bpla-snd:hover {
	border-color: rgba(150, 175, 215, 0.6);
	color: #fff;
}

.av-bpla-snd svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.av-bpla-snd__on {
	display: none;
}

.av-bpla-snd[aria-pressed="true"] {
	border-color: #fff;
	color: #fff;
}

.av-bpla-snd[aria-pressed="true"] .av-bpla-snd__on {
	display: inline;
}

.av-bpla-snd[aria-pressed="true"] .av-bpla-snd__off {
	display: none;
}

/* Comparison timeline */
.av-bpla-tline {
	display: grid;
	gap: 10px;
	padding-top: 6px;
}

.av-bpla-tl2 {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
}

.av-bpla-tl2 > b {
	font-size: 13.5px;
	font-weight: 600;
	color: #fff;
}

.av-bpla-tl2 > b small {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--bp-on2);
}

.av-bpla-tr {
	position: relative;
	height: 26px;
	border-radius: var(--bp-r);
	background: rgba(150, 175, 215, 0.1);
}

.av-bpla-tr i {
	position: absolute;
	top: 0;
	bottom: 0;
	border-radius: var(--bp-r);
}

.av-bpla-tr i.is-react {
	border: 1px solid rgba(79, 224, 168, 0.6);
	background: rgba(79, 224, 168, 0.28);
}

.av-bpla-tr i.is-react.is-short {
	border-color: rgba(255, 90, 104, 0.7);
	background: rgba(255, 90, 104, 0.3);
}

.av-bpla-tr i.is-shel {
	top: 9px;
	bottom: 9px;
	border-radius: 2px;
	background: #4fe0a8;
	opacity: 0.8;
}

.av-bpla-tr em {
	position: absolute;
	top: 50%;
	padding-left: 8px;
	font: 600 12px/1 var(--bp-f);
	font-style: normal;
	color: #fff;
	white-space: nowrap;
	transform: translateY(-50%);
}

.av-bpla-tr em.is-muted {
	color: var(--bp-on2);
}

.av-bpla-tr .av-bpla-now {
	position: absolute;
	top: -4px;
	bottom: -4px;
	width: 2px;
	border-radius: 1px;
	background: #fff;
}

.av-bpla-tl2.is-ax .av-bpla-tr {
	height: 14px;
	background: none;
}

.av-bpla-tl2.is-ax .av-bpla-tr span {
	position: absolute;
	font: 400 11px/1 var(--bp-m);
	color: var(--bp-on3);
	transform: translateX(-50%);
}

.av-bpla-tl2.is-ax .av-bpla-tr span:first-child {
	transform: none;
}

.av-bpla-tl2.is-ax .av-bpla-tr span:last-child {
	transform: translateX(-100%);
}

@media (max-width: 1040px) {
	.av-bpla-dgrid {
		grid-template-columns: minmax(0, 1fr);
	}

	.av-bpla-stage {
		order: 1;
		min-height: 0;
		height: min(66vh, 520px);
	}

	.av-bpla-ctl {
		order: 2;
	}

	.av-bpla-panel {
		order: 3;
	}
}

@media (max-width: 760px) {
	.av-bpla-dirs span {
		display: none;
	}

	.av-bpla-segc2 {
		width: 100%;
	}

	.av-bpla-segc2 button {
		flex: 1;
		padding: 0 8px;
		font-size: 13px;
	}

	.av-bpla-dirs {
		width: 100%;
	}

	.av-bpla-dirs button {
		flex: 1;
	}
}

@media (max-width: 560px) {
	.av-bpla-stage {
		height: 420px;
	}

	.av-bpla-ctl {
		padding: 14px;
	}

	.av-bpla-runs {
		flex: 1 1 100%;
		min-width: 0;
	}

	.av-bpla-runs .av-bpla-btn--r {
		flex: 1 1 auto;
		min-width: 0;
		padding: 0 14px;
	}

	.av-bpla-snd {
		flex: none;
		justify-content: center;
		width: 48px;
		padding: 0;
	}

	.av-bpla-snd span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.av-bpla-tl2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.av-bpla-tl2.is-ax > b {
		display: none;
	}

	.av-bpla-tl2.is-ax .av-bpla-tr span:nth-child(even) {
		display: none;
	}
}

/* ---------- includes ---------- */
.av-bpla-inc {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.av-bpla-inc .av-bpla-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.av-bpla-inc .av-bpla-card > * {
	margin: 0;
}

.av-bpla-ic {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: var(--bp-r);
	background: var(--bp-tint);
}

.av-bpla-ic svg {
	width: 24px;
	height: 24px;
	stroke: var(--bp-blue);
	fill: none;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.av-bpla-inc p {
	font-size: 15px;
	color: var(--bp-ink2);
}

.av-bpla-page .av-bpla-show {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	margin-top: auto;
	font: 600 13.5px/1 var(--bp-f);
	color: var(--bp-blue);
	text-decoration: none;
}

.av-bpla-page .av-bpla-show:hover {
	color: var(--bp-blue-h);
}

@media (max-width: 1100px) {
	.av-bpla-inc {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.av-bpla-inc {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- law ---------- */
.av-bpla-law {
	display: grid;
	gap: 32px;
}

.av-bpla-lawc {
	display: grid;
	grid-template-columns: 1fr 1fr 1.2fr;
	gap: 16px;
	align-items: stretch;
}

.av-bpla-lawc .av-bpla-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.av-bpla-lawc .av-bpla-card > * {
	margin: 0;
}

.av-bpla-lawc__k {
	font: 600 11.5px/1 var(--bp-f);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bp-ink3);
}

.av-bpla-lawc p {
	font-size: 15px;
	color: var(--bp-ink2);
}

.av-bpla-tint .av-bpla-lawc .is-hl {
	border-color: var(--bp-navy);
	background: var(--bp-navy);
	color: var(--bp-on);
}

.av-bpla-lawc .is-hl .av-bpla-lawc__k {
	color: var(--bp-red-d);
}

.av-bpla-lawc .is-hl h3 {
	color: var(--bp-on);
}

.av-bpla-lawc ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	color: #d7e1f0;
}

.av-bpla-lawc li {
	position: relative;
	padding-left: 20px;
}

.av-bpla-lawc li::before {
	content: "";
	position: absolute;
	top: 0.45em;
	left: 0;
	width: 10px;
	height: 6px;
	border-bottom: 2px solid var(--bp-ok-d);
	border-left: 2px solid var(--bp-ok-d);
	transform: rotate(-45deg);
}

@media (max-width: 960px) {
	.av-bpla-lawc {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- steps ---------- */
.av-bpla-steps {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.av-bpla-steps li {
	position: relative;
	display: grid;
	align-content: start;
	gap: 10px;
	padding-top: 56px;
}

.av-bpla-steps li > * {
	margin: 0;
}

.av-bpla-steps__n {
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 2px solid var(--bp-blue);
	border-radius: 50%;
	background: var(--bp-bg);
	font: 700 14px/1 var(--bp-f);
	color: var(--bp-blue);
}

.av-bpla-steps li::after {
	content: "";
	position: absolute;
	top: 21px;
	right: -8px;
	left: 52px;
	height: 2px;
	background: var(--bp-rule2);
}

.av-bpla-steps li:last-child::after {
	display: none;
}

.av-bpla-steps p {
	font-size: 14.5px;
	color: var(--bp-ink2);
}

@media (max-width: 960px) {
	.av-bpla-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.av-bpla-steps li {
		min-height: 44px;
		padding: 0 0 0 64px;
	}

	.av-bpla-steps li::after {
		top: 52px;
		right: auto;
		bottom: -12px;
		left: 21px;
		width: 2px;
		height: auto;
	}
}

/* ---------- FAQ ---------- */
.av-bpla-faq {
	display: grid;
	grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
	gap: 48px;
}

.av-bpla-page .av-bpla-phone {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--bp-ink);
	text-decoration: none;
	white-space: nowrap;
}

.av-bpla-page .av-bpla-phone:hover {
	color: var(--bp-blue);
}

.av-bpla-acc {
	display: grid;
	border-top: 1px solid var(--bp-rule2);
}

.av-bpla-acc details {
	border-bottom: 1px solid var(--bp-rule2);
}

.av-bpla-acc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 0;
	cursor: pointer;
	list-style: none;
}

.av-bpla-acc summary::-webkit-details-marker {
	display: none;
}

.av-bpla-page .av-bpla-acc summary h3 {
	font: 600 18px/1.35 var(--bp-f);
	letter-spacing: normal;
	text-wrap: pretty;
}

.av-bpla-acc summary i {
	position: relative;
	flex: none;
	width: 32px;
	height: 32px;
	border: 1px solid var(--bp-rule2);
	border-radius: 50%;
	background: var(--bp-bg);
	transition: transform 0.25s, background-color 0.2s;
}

.av-bpla-acc summary i::before,
.av-bpla-acc summary i::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	margin: -1px 0 0 -6px;
	background: var(--bp-ink);
}

.av-bpla-acc summary i::after {
	transform: rotate(90deg);
	transition: transform 0.25s;
}

.av-bpla-acc details[open] summary i {
	border-color: var(--bp-navy);
	background: var(--bp-navy);
}

.av-bpla-acc details[open] summary i::before,
.av-bpla-acc details[open] summary i::after {
	background: #fff;
}

.av-bpla-acc details[open] summary i::after {
	transform: rotate(0);
}

.av-bpla-acc__a {
	display: grid;
	gap: 10px;
	padding: 0 52px 22px 0;
	color: var(--bp-ink2);
}

.av-bpla-acc__a p {
	margin: 0;
}

@media (max-width: 960px) {
	.av-bpla-faq {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

@media (max-width: 560px) {
	.av-bpla-acc__a {
		padding-right: 0;
	}
}

/* ---------- related ---------- */
.av-bpla-rel {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.av-bpla-rel li {
	display: flex;
	min-width: 0;
}

.av-bpla-page .av-bpla-rel a {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 26px;
	border: 1px solid var(--bp-rule);
	border-radius: var(--bp-r);
	color: var(--bp-ink);
	text-decoration: none;
	transition: border-color 0.2s, transform 0.2s;
}

.av-bpla-rel a > * {
	margin: 0;
}

.av-bpla-page .av-bpla-rel a:hover {
	border-color: var(--bp-ink);
	transform: translateY(-2px);
}

.av-bpla-rel__no {
	font: 500 12px/1 var(--bp-m);
	color: var(--bp-ink3);
	overflow-wrap: anywhere;
}

.av-bpla-rel p {
	font-size: 15px;
	color: var(--bp-ink2);
}

.av-bpla-rel__go {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	font-size: 14px;
	font-weight: 600;
	color: var(--bp-blue);
}

.av-bpla-rel__go svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
}

@media (max-width: 900px) {
	.av-bpla-rel {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- request form ---------- */
.av-bpla-req {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 48px;
	align-items: start;
}

.av-bpla-contact {
	display: grid;
	gap: 14px;
	margin: 8px 0 0;
}

.av-bpla-contact div {
	display: grid;
	gap: 2px;
}

.av-bpla-contact dt {
	font-size: 12.5px;
	color: var(--bp-on2);
}

.av-bpla-contact dd {
	margin: 0;
	font: 600 20px/1.3 var(--bp-f);
	color: #fff;
}

.av-bpla-page .av-bpla-contact a {
	color: #fff;
	text-decoration: none;
}

.av-bpla-page .av-bpla-contact a:hover {
	text-decoration: underline;
}

.av-bpla-contact .av-bpla-contact__addr {
	font-size: 16px;
}

.av-bpla-formwrap {
	min-width: 0;
}

.av-bpla-form {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	padding: 28px;
	border-radius: var(--bp-r);
	background: var(--bp-bg);
	color: var(--bp-ink);
}

.av-bpla-form > * {
	margin: 0;
}

.av-bpla-field {
	display: grid;
	align-content: start;
	gap: 6px;
	min-width: 0;
}

.av-bpla-field--full {
	grid-column: 1 / -1;
}

.av-bpla-field > label {
	font-size: 13px;
	font-weight: 600;
	color: var(--bp-ink2);
}

.av-bpla-opt {
	font-weight: 400;
	color: var(--bp-ink3);
}

.av-bpla-form input[type="text"],
.av-bpla-form input[type="tel"],
.av-bpla-form input[type="email"],
.av-bpla-form textarea {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--bp-rule2);
	border-radius: var(--bp-r);
	background: var(--bp-bg);
	font-size: 15.5px;
	font-weight: 400;
	color: var(--bp-ink);
}

.av-bpla-form textarea {
	height: 110px;
	padding: 12px 14px;
	resize: vertical;
}

.av-bpla-form input::placeholder,
.av-bpla-form textarea::placeholder {
	color: #8590a6;
}

.av-bpla-form input:focus,
.av-bpla-form textarea:focus {
	outline: none;
	border-color: var(--bp-blue);
	box-shadow: 0 0 0 3px rgba(36, 85, 195, 0.15);
}

.av-bpla-form [aria-invalid="true"] {
	border-color: var(--bp-red);
}

.av-bpla-err {
	font-size: 12.5px;
	font-weight: 500;
	color: var(--bp-red);
}

.av-bpla-field > label.av-bpla-agree {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--bp-ink3);
	cursor: pointer;
}

.av-bpla-agree input {
	flex: none;
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	accent-color: var(--bp-blue);
}

.av-bpla-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.av-bpla-form .av-bpla-btn {
	width: 100%;
}

.av-bpla-status {
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--bp-red);
}

.av-bpla-page .av-bpla-status a {
	color: inherit;
	font-weight: 600;
}

.av-bpla-ok {
	display: grid;
	gap: 12px;
	padding: 36px;
	border-radius: var(--bp-r);
	background: var(--bp-bg);
	color: var(--bp-ink);
}

.av-bpla-ok > * {
	margin: 0;
}

.av-bpla-ok strong {
	font: 800 28px/1.1 var(--bp-f);
	letter-spacing: -0.02em;
}

.av-bpla-ok p {
	color: var(--bp-ink2);
}

.av-bpla-ok:focus {
	outline: none;
}

@media (max-width: 960px) {
	.av-bpla-req {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
}

@media (max-width: 560px) {
	.av-bpla-form {
		grid-template-columns: minmax(0, 1fr);
		padding: 20px;
	}

	.av-bpla-ok {
		padding: 24px;
	}

	.av-bpla-contact dd {
		font-size: 18px;
	}
}

/* ---------- reveal ----------
   assets/js/bpla-protection.js adds `av-bpla-rv` to <html>, `av-rv-u` to the
   units below the hero and `is-in` once each one enters the viewport (delay
   in --av-rv-d for units arriving together) — the homepage reveal
   (sections.css «Homepage reveal»: 24px rise, 0.7s). Keyframes only set the
   start; `translate` leaves the cards' own hover transforms alone. The 3D
   stage, panel and controls are not part of it (the scene has its own
   draw-in). Without JS nothing is hidden. */
@keyframes av-bpla-rise {
	from {
		opacity: 0;
		translate: 0 24px;
	}
}

.av-bpla-rv .av-rv-u:not(.is-in) {
	opacity: 0;
}

.av-bpla-rv .av-rv-u.is-in {
	animation: av-bpla-rise 0.7s ease-out var(--av-rv-d, 0ms) backwards;
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.av-bpla-page *,
	.av-bpla-page *::before,
	.av-bpla-page *::after {
		animation: none !important;
		transition: none !important;
	}

	.av-bpla-rv .av-rv-u:not(.is-in) {
		opacity: 1;
	}

	.av-bpla-page .av-bpla-rel a:hover {
		transform: none;
	}
}
