:root {
	/* Core greyscale (Figma Variables) */
	--cbpm-color-ink: #030712;             /* Grayscale/100 — primary text, dark buttons */
	--cbpm-color-muted: #374151;           /* Grayscale/80 — muted body */
	--cbpm-color-surface: #ffffff;         /* Grayscale/0 — cards */
	--cbpm-color-soft: #f3f4f7;            /* Grayscale/10 — hero bg, soft surfaces */

	/* Accent + section tints */
	--cbpm-color-benefit: #f3f4f7;         /* Info cards — Figma Grayscale/10 */
	--cbpm-color-migration: #f2f0ff;       /* Migration / alt section bg */
	--cbpm-color-accent: #107baa;          /* BC blue — highlighted words */
	--cbpm-color-hero-accent: #0a8fc0;     /* Hero H1 accent (Figma 470:2074) */
	--cbpm-color-accent-dark: #0d6f5f;     /* Accent hover */
	--cbpm-color-accent-contrast: #ffffff;
	--cbpm-color-cta: #000000;             /* Primary button bg (Frame 77 design) */
	--cbpm-color-cta-contrast: #ffffff;

	/* Icon well backgrounds (Services list variant rows) */
	--cbpm-color-icon-well-cyan: #e9f9fa;
	--cbpm-color-icon-well-cream: #fff8c9;
	--cbpm-color-icon-well-sage: #f3f8ed;

	/* Hero decorative glow (Figma 375:2657 → 371:2116) */
	--cbpm-hero-glow-violet: #4b50ca;
	--cbpm-hero-glow-cyan: #61dfff;
	--cbpm-hero-glow-blue: #1196c3;
	--cbpm-gradient-hero:
		radial-gradient(ellipse 55% 48% at 18% 88%, rgba(75, 80, 202, 0.5), transparent 72%),
		radial-gradient(ellipse 52% 46% at 78% 82%, rgba(97, 223, 255, 0.5), transparent 72%),
		radial-gradient(ellipse 52% 46% at 52% 78%, rgba(17, 150, 195, 0.85), transparent 70%);

	/* Variant 2 — Split (Figma 642:9015).
	   Tuning guide for radial-gradient:
	   - at X% Y%  → centre of the blob (↓ X = left, ↓ Y = up, stretch toward centre)
	   - ellipse W% H% → size of spread (↑ = reaches farther)
	   - transparent N% → how far colour fades (↑ = softer, reaches farther) */
	--cbpm-gradient-hero-split:
		radial-gradient(ellipse 100% 95% at 25% 30%, rgba(75, 80, 202, 0.20), transparent 85%),
		radial-gradient(ellipse 120% 110% at 68% 108%, rgba(97, 223, 255, 0.28), transparent 88%),
		radial-gradient(ellipse 110% 100% at 62% 102%, rgba(17, 150, 195, 0.16), transparent 82%);

	/* Variant 3 — Centered no image (Figma 642:9016 / 642:8902, frame 1440×521).
	   Distinctly different from Variant 2:
	   - Violet sits LEFT of frame (wrapper at -367 x), blur 300 (smaller blob)
	   - Cyan uses #4CDBFF (lighter) instead of #61DFFF
	   - Blue blob is centred and pushed far below (centre y ≈ 170%) */
	--cbpm-gradient-hero-centered:
		radial-gradient(ellipse 35% 70% at -11% 105%, rgba(75, 80, 202, 0.32), transparent 72%),
		radial-gradient(ellipse 60% 120% at 92% 131%, rgba(76, 219, 255, 0.32), transparent 72%),
		radial-gradient(ellipse 80% 100% at 51% 170%, rgba(17, 150, 195, 0.22), transparent 70%);

	/* Hero trust strip gradient */   
	--cbpm-gradient-trust: linear-gradient(90deg, #c047a8 0%, #4b50ca 50%, #17b3d5 100%);

	/* Why BC / Info section accent (Figma 470:2242) */
	--cbpm-gradient-why-accent:
		radial-gradient(ellipse 140% 120% at 12% 50%, #652fc3 0%, #4b50ca 38%, #3182d0 68%, #17b3d5 100%);

	/* CTA banner (Figma 374:1737, 374:1738) */
	--cbpm-gradient-cta:
		radial-gradient(circle at 0% 100%, #652fc3 0%, #4b50ca 25%, #2d75c0 57%, #17b3d5 100%);

	/* Geometry */
	--cbpm-radius-card: 20px;
	--cbpm-radius-pill: 999px;
	--cbpm-radius-button: 74px;            /* Pill CTA buttons (Header / hero) */
	--cbpm-radius-icon-well: 20px;
	--cbpm-container: 1280px;
	--cbpm-container-padding: 80px;
	--cbpm-section-y: 100px;
	--cbpm-card-gap: 21px;
	--cbpm-card-padding: 28px;

	/* Shadows */
	--cbpm-shadow-soft: 0 20px 50px rgba(3, 7, 18, 0.08);
	--cbpm-shadow-button: 2px 2px 10px rgba(0, 0, 0, 0.1);
	--cbpm-shadow-image: 1px 1px 12px 5px rgba(0, 0, 0, 0.04);
	--cbpm-shadow-badge: 0.48px 0.48px 32px 4.8px rgba(0, 0, 0, 0.05);

	/* Typography stacks (font files enqueued separately) */
	--cbpm-font-display: "Wix Madefor Display", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
	--cbpm-font-body: "Wix Madefor Text", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
	--cbpm-font-tiktok: "TikTok Sans", var(--cbpm-font-body);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: var(--cbpm-color-ink);
	font-family: var(--cbpm-font-body);
	line-height: 1.6;
	background: var(--cbpm-color-surface);
}

a {
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.cbpm-container {
	width: min(100% - 40px, var(--cbpm-container));
	margin-inline: auto;
}

.cbpm-container--narrow {
	--cbpm-container: 880px;
}

.cbpm-site-header,
.cbpm-site-footer {
	background: var(--cbpm-color-surface);
}

.cbpm-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(16, 24, 32, 0.08);
}

.cbpm-site-header__inner,
.cbpm-site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 18px;
}

.cbpm-site-header__site-name {
	font-weight: 800;
	text-decoration: none;
}

.cbpm-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cbpm-menu--primary {
	display: flex;
	align-items: center;
	gap: 24px;
}

.cbpm-menu a {
	text-decoration: none;
}

/* ============================================================
 * Header navigation + dropdown submenus (Figma 375:2452)
 * ============================================================ */
.cbpm-site-header__inner {
	padding-block: 20px;
}

.cbpm-site-header__actions {
	display: flex;
	align-items: center;
	gap: 40px;
}

/* Burger (mobile only) */
.cbpm-site-header__toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

/* Hamburger — Figma 713-24755: three 16px bars (2.67px tall, ~4px gap) on
   Grayscale/100, centred in the tap target. Morphs to an X when the menu opens. */
.cbpm-site-header__toggle-bar,
.cbpm-site-header__toggle-bar::before,
.cbpm-site-header__toggle-bar::after {
	position: absolute;
	right: 0px;
	width: 16px;
	height: 1.5px;
    border-radius: 0px;
	background: var(--cbpm-color-ink);
	transition: transform 0.25s ease, background 0.25s ease;
}

.cbpm-site-header__toggle-bar {
	top: 21px;
}

.cbpm-site-header__toggle-bar::before {
	content: "";
	top: -6.5px;
}

.cbpm-site-header__toggle-bar::after {
	content: "";
	top: 6.5px;
}

.cbpm-site-header.is-nav-open .cbpm-site-header__toggle-bar {
	background: transparent;
}

.cbpm-site-header.is-nav-open .cbpm-site-header__toggle-bar::before {
	transform: translateY(6.5px) rotate(45deg);
}

.cbpm-site-header.is-nav-open .cbpm-site-header__toggle-bar::after {
	transform: translateY(-6.5px) rotate(-45deg);
}

/* Primary nav links */
.cbpm-menu--primary {
	gap: 40px;
}

.cbpm-menu--primary > li {
	position: relative;
}

.cbpm-menu--primary > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
	transition: color 0.2s ease;
}

.cbpm-menu--primary > li > a:hover,
.cbpm-menu--primary > li > a:focus-visible {
	color: var(--cbpm-color-hero-accent);
}

/* Caret on items with a submenu */
.cbpm-menu--primary .menu-item-has-children > a::after {
	content: "";
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23030712' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.25s ease;
}

.cbpm-menu--primary .menu-item-has-children.is-open > a::after {
	transform: rotate(180deg);
}

/* Dropdown panel */
.cbpm-menu--primary .sub-menu {
	position: absolute;
	top: calc(100% + 20px);
	left: 0;
	z-index: 60;
	min-width: 255px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 4px;
	list-style: none;
	background: #fff;
	border-radius: 0 0 10px 10px;
	box-shadow: var(--cbpm-shadow-soft);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* Invisible bridge so hover does not break over the header padding */
.cbpm-menu--primary .sub-menu::before {
	content: "";
	position: absolute;
	top: -20px;
	left: 0;
	right: 0;
	height: 20px;
}

.cbpm-menu--primary > li:hover > .sub-menu,
.cbpm-menu--primary > li:focus-within > .sub-menu,
.cbpm-menu--primary > li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.cbpm-menu--primary .sub-menu a {
	display: block;
	padding: 12px;
	border-radius: 8px;
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
	transition: background 0.2s ease, color 0.2s ease;
}

.cbpm-menu--primary .sub-menu a:hover,
.cbpm-menu--primary .sub-menu a:focus-visible {
	background: #e5f3ff;
	color: var(--cbpm-color-hero-accent);
}

/* Wide dropdown — 2 columns when there are >5 items (Figma 651:6278).
   CSS multi-column balances items column-first (item 1 top-left,
   item 2 below 1, then continues to column 2). */
.cbpm-menu--primary .sub-menu.is-wide {
	display: block;
	column-count: 2;
	column-gap: 8px;
	column-fill: balance;
	width: 510px;
	min-width: 510px;
}

.cbpm-menu--primary .sub-menu.is-wide > li {
	break-inside: avoid;
	margin-bottom: 4px;
}

.cbpm-menu--primary .sub-menu.is-wide > li:last-child {
	margin-bottom: 0;
}

/* "Overview" link to the parent page — injected into submenus for the mobile
   drill-down so the parent's own page stays reachable. Hidden on desktop
   (the desktop parent link itself navigates on click). */
.cbpm-menu-overview {
	display: none;
}

.cbpm-button,
button.cbpm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 11px 18px;
	border: 0;
	border-radius: 999px;
	color: var(--cbpm-color-accent-contrast);
	background: var(--cbpm-color-accent);
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.cbpm-button--secondary,
.cbpm-button--arrow {
	color: var(--cbpm-color-ink);
	background: var(--cbpm-color-soft);
}

.cbpm-section {
	padding-block: 84px;
}

.cbpm-section--spacing-compact {
	padding-block: 48px;
}

.cbpm-section--spacing-large {
	padding-block: 120px;
}

.cbpm-section--bg-soft,
.cbpm-section--bg-muted {
	background: var(--cbpm-color-soft);
}

.cbpm-section__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 32px;
}

.cbpm-section__description,
.cbpm-section__header > div {
	max-width: 720px;
	color: var(--cbpm-color-muted);
}

.cbpm-eyebrow,
.cbpm-card__meta {
	margin: 0 0 10px;
	color: var(--cbpm-color-accent);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cbpm-contact-grid,
.cbpm-featured-material {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
	gap: 48px;
	align-items: center;
}

.cbpm-contact-grid__aside {
	display: grid;
	gap: 24px;
}

.cbpm-contact-grid__photos {
	display: grid;
	gap: 16px;
}

.cbpm-contact-grid__photos--single {
	grid-template-columns: 1fr;
}

.cbpm-contact-grid__photos--double {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cbpm-contact-grid__photos--grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cbpm-contact-grid__photo-item {
	border-radius: var(--cbpm-radius-card);
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: var(--cbpm-color-soft);
}

.cbpm-contact-grid__photo-item .cbpm-contact-grid__photo,
.cbpm-contact-grid__photo-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cbpm-contact-grid__photos--single .cbpm-contact-grid__photo-item {
	aspect-ratio: 16 / 10;
}

.cbpm-contact-grid__direct {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 40px;
	padding: 28px;
	background: #f3f4f7;
	border-radius: 20px;
}

.cbpm-contact-grid__direct-intro {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 0 0 auto;
	max-width: 280px;
}

.cbpm-contact-grid__direct-heading {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: #09090b;
}

.cbpm-contact-grid__direct-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cbpm-contact-grid__direct-group {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cbpm-contact-grid__direct-group-label {
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.26;
	color: #09090b;
}

.cbpm-contact-grid__direct-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-family: var(--cbpm-font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.26;
	color: #09090b;
}

.cbpm-contact-grid__direct-list a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.15s ease;
}

.cbpm-contact-grid__direct-list a:hover {
	color: var(--cbpm-form-cobalt-text, #1e40af);
}

.cbpm-contact-grid__direct-sublabel {
	display: none;
}

@media (max-width: 768px) {
	.cbpm-contact-grid__direct {
		flex-direction: column;
		gap: 24px;
	}
}

.cbpm-section--hero {
	position: relative;
	overflow: hidden;
	background-color: var(--cbpm-color-surface);
	padding-top: 0;
	padding-bottom: 0;
}

.cbpm-section--hero .cbpm-container.cbpm-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	position: relative;
	min-height: 807px;
	padding-block: 64px 0;
	background-color: var(--cbpm-color-surface);
	background-image: var(--cbpm-hero-bg, none), var(--cbpm-gradient-hero);
	background-repeat: no-repeat;
	background-size: cover, auto;
	background-position: center, center bottom;
}

.cbpm-hero__stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	width: min(100%, 748px);
	text-align: center;
}

.cbpm-hero__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 42px;
	width: 100%;
}

.cbpm-section--hero .cbpm-hero__eyebrow {
	margin: 0;
	color: var(--cbpm-color-ink);
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
}

.cbpm-hero__title {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	color: var(--cbpm-color-ink);
	text-align: center;
}
.cbpm-hero__title span {
	color: var(--cbpm-color-hero-accent);
}

.cbpm-hero__title-accent,
.cbpm-hero__title .cbpm-hero__title-accent {
	color: var(--cbpm-color-hero-accent);
}

.cbpm-hero__actions {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	gap: 24px;
	width: 100%;
}

.cbpm-hero__buttons {
	justify-content: center;
	margin-top: 0;
	gap: 20px;
}

.cbpm-hero__buttons .cbpm-button {
	min-height: 50px;
	padding: 12px 30px;
	border-radius: 200px;
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
}

.cbpm-hero__buttons .cbpm-button--secondary {
	min-width: 253px;
	color: var(--cbpm-color-ink);
	background: var(--cbpm-color-surface);
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
}

.cbpm-hero__note {
	margin: 0;
	max-width: 568px;
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--cbpm-color-ink);
	text-align: center;
}

.cbpm-hero__preview {
	display: flex;
	flex-direction: column;
	width: min(100%, 820px);
	min-height: 318px;
	margin-top: auto;
	padding: 20px;
	overflow: hidden;
	border: 1px solid var(--cbpm-color-surface);
	border-radius: 10px 10px 0 0;
	background: rgba(255, 255, 255, 0.4);
	box-shadow: 0 1px 44px rgba(0, 0, 0, 0.15);
}

.cbpm-hero__preview .cbpm-hero__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.cbpm-hero__preview .cbpm-hero__video {
	width: 100%;
	min-height: 240px;
}

/* Description paragraph used inside the intro by Split & Centered variants */
.cbpm-hero__desc {
	margin: 0;
	max-width: 568px;
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

/* ============================================================
 * Hero Variant 2 — Split (Figma 642:9015)
 * Two columns: text left + image frame right.
 * Gradient = real coloured ellipses + filter:blur (mirrors Figma exactly).
 * ============================================================ */
.cbpm-section--hero--split {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: #ffffff;
	background-image: var(--cbpm-hero-bg, none);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.cbpm-section--hero--split .cbpm-container.cbpm-hero__inner {
	position: relative;
	z-index: 1;
	background: none;
	width: min(100% - 40px, var(--cbpm-container, 1280px));
	margin-inline: auto;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
	min-height: 0;
	padding-block: 80px;
	text-align: left;
}

.cbpm-section--hero--split .cbpm-hero__stack {
	width: auto;
	flex: 1 1 0;
	min-width: 0;
	max-width: 630px;
	text-align: left;
	align-items: flex-start;
	gap: 60px;
}

.cbpm-section--hero--split .cbpm-hero__intro {
	align-items: flex-start;
	gap: 28px;
}

.cbpm-section--hero--split .cbpm-hero__eyebrow {
	font-size: 1.25rem;
	color: #000000;
	text-align: left;
}

.cbpm-section--hero--split .cbpm-hero__title {
	font-size: clamp(2rem, 3.5vw, 2.5rem);
	line-height: 1.26;
	text-align: left;
}

.cbpm-section--hero--split .cbpm-hero__desc {
	text-align: left;
}

.cbpm-section--hero--split .cbpm-hero__actions {
	align-items: flex-start;
	gap: 20px;
	width: 100%;
}

.cbpm-section--hero--split .cbpm-hero__buttons {
	flex-direction: row;
	justify-content: flex-start;
	gap: 20px;
}

.cbpm-section--hero--split .cbpm-hero__media {
	flex: 0 0 auto;
	width: min(100%, 630px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.cbpm-section--hero--split .cbpm-hero__media-frame {
	position: relative;
	width: 100%;
	max-width: 532px;
	aspect-ratio: 532 / 367;
	padding: 24px;
	border: 1px solid #ffffff;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.5);
	box-shadow: 1px 1px 8px 8px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.cbpm-section--hero--split .cbpm-hero__media-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
}

/* ------------------------------------------------------------
 * Hero option: bare media (ACF: media_frame_bare).
 * Strips the decorative window frame — background, border, shadow
 * and inner padding — around the hero image/video so it shows clean.
 * Applies to both the Default preview (.cbpm-hero__preview) and the
 * Split frame (.cbpm-hero__media-frame).
 *   - Default preview selector is 0,2,0 — beats the base .cbpm-hero__preview (0,1,0).
 *   - Split selector is compound 0,3,0 — beats the base split rule and the
 *     mobile override (both 0,2,0), so the frame stays bare at every breakpoint.
 * ------------------------------------------------------------ */
.cbpm-section--hero--bare-media .cbpm-hero__preview,
.cbpm-section--hero--bare-media.cbpm-section--hero--split .cbpm-hero__media-frame {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

/* ============================================================
 * Hero Variant 3 — Centered, no image (Figma 642:9016 / 642:8902)
 * Same blob technique as Split — exact Figma colours, sizes, blurs.
 * ============================================================ */
.cbpm-section--hero--centered {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: #ffffff;
}

.cbpm-section--hero--centered .cbpm-container.cbpm-hero__inner {
	position: relative;
	z-index: 1;
	background: none;
	min-height: 0;
	padding-block: 80px;
}

.cbpm-section--hero--centered .cbpm-hero__stack {
	gap: 40px;
	max-width: 748px;
}

.cbpm-section--hero--centered .cbpm-hero__intro {
	gap: 28px;
}

.cbpm-section--hero--centered .cbpm-hero__title {
	font-size: clamp(2rem, 3.5vw, 2.5rem);
	line-height: 1.26;
}

.cbpm-section--hero--centered .cbpm-hero__desc {
	font-size: 1rem;
	text-align: center;
}

/* ============================================================
 * Hero decorative coloured glows — 1:1 match with Figma's
 * filter:blur(290-400px) on solid colour ellipses.
 * Positions are % of the hero section (derived from Figma frame coords).
 * ============================================================ */
.cbpm-hero__glows {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.cbpm-hero__glow {
	position: absolute;
	display: block;
	border-radius: 50%;
}

/* Variant 2 — Split (Figma 573-5810). Decorative ellipses cluster on the RIGHT-bottom
   quadrant (Figma container starts ~x:314 and spans 1687px → visual mass ≈ 80% x, low).
   Glow centre = left + width/2, top + height/2 — all three pushed into the right half
   so the colour wash sits behind the right-side image card, not in the centre. */
.cbpm-section--hero--split .cbpm-hero__glow--1 {
	/* Violet — centre ≈ 70% x, 105% y (bottom-right anchor) */
	left: 40%;
	top: 45%;
	width: 60%;
	height: 120%;
	background: #4b50ca;
	filter: blur(200px);
	opacity: 0.45;
}

.cbpm-section--hero--split .cbpm-hero__glow--2 {
	/* Cyan — centre ≈ 86% x, 78% y (far right) */
	left: 58%;
	top: 20%;
	width: 55%;
	height: 115%;
	background: #61dfff;
	filter: blur(220px);
	opacity: 0.5;
}

.cbpm-section--hero--split .cbpm-hero__glow--3 {
	/* Blue — centre ≈ 74% x, 90% y, bridges violet → cyan on the right */
	left: 48%;
	top: 35%;
	width: 52%;
	height: 110%;
	background: #1196c3;
	filter: blur(210px);
	opacity: 0.35;
}

/* Variant 3 — Centered: violet left, light-cyan right, blue mid-bottom */
.cbpm-section--hero--centered .cbpm-hero__glow--1 {
	left: -25%;
	top: 20%;
	width: 50%;
	height: 110%;
	background: #4b50ca;
	filter: blur(150px);
	opacity: 0.45;
}

.cbpm-section--hero--centered .cbpm-hero__glow--2 {
	left: 70%;
	top: 0%;
	width: 55%;
	height: 110%;
	background: #4cdbff;
	filter: blur(150px);
	opacity: 0.55;
}

.cbpm-section--hero--centered .cbpm-hero__glow--3 {
	left: 20%;
	top: 50%;
	width: 60%;
	height: 90%;
	background: #1196c3;
	filter: blur(180px);
	opacity: 0.35;
}

.cbpm-button-row,
.cbpm-section__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 24px;
}


.cbpm-container.cbpm-trust-strip__inner,
.cbpm-horizontal-list,
.cbpm-grid {
	display: grid;
	gap: 20px;
}

.cbpm-trust-strip__inner, .cbpm-trust-strip {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 0;
}

/* Per-count column overrides — PHP emits `cbpm-trust-strip--cols-{N}` (1..6) based on
   the actual number of trust cards present, so a 3-card strip lays out as a true
   3-column grid instead of leaving an empty 4th column. Chained selector keeps
   specificity above the default 4-col rule above. */
.cbpm-trust-strip.cbpm-trust-strip--cols-1 .cbpm-trust-strip__inner {
	grid-template-columns: minmax(0, 1fr);
}

.cbpm-trust-strip.cbpm-trust-strip--cols-2 .cbpm-trust-strip__inner {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cbpm-trust-strip.cbpm-trust-strip--cols-3 .cbpm-trust-strip__inner {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cbpm-trust-strip.cbpm-trust-strip--cols-4 .cbpm-trust-strip__inner {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cbpm-trust-strip.cbpm-trust-strip--cols-5 .cbpm-trust-strip__inner {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cbpm-trust-strip.cbpm-trust-strip--cols-6 .cbpm-trust-strip__inner {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}
.cbpm-container.cbpm-hero__inner {
    width: auto;
}	
.cbpm-horizontal-list {
	grid-auto-flow: column;
	grid-auto-columns: minmax(260px, 1fr);
	overflow-x: auto;
	padding-bottom: 12px;
}

.cbpm-grid--cards,
.cbpm-grid--services,
.cbpm-grid--team,
.cbpm-grid--timeline {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cbpm-grid--services {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 21px;
}

/* ============================================================
 * Block 03 — Services (Figma 596:3317)
 * Рядки по 2 картки: текстова + ілюстрація, сторони чергуються.
 * ============================================================ */
.cbpm-section--services {
	padding-block: var(--cbpm-section-y);
}

.cbpm-section--services > .cbpm-container {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.cbpm-section--services > .cbpm-container > h2 {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

.cbpm-services {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cbpm-services__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 21px;
	align-items: stretch;
}

.cbpm-services__row--single {
	grid-template-columns: 1fr;
}

/* Reverse: ілюстрація ліворуч, текст праворуч */
.cbpm-services__row--reverse .cbpm-card--service {
	order: 2;
}

/* Text card */
.cbpm-card--service {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	padding: 28px;
	border: 1px solid #e5e7eb;
	box-shadow: none;
	border-radius: var(--cbpm-radius-card);
	background: var(--cbpm-color-surface);
}

.cbpm-card--service h3 {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

.cbpm-card--service > div {
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

.cbpm-card--service .cbpm-button--service {
	align-self: flex-start;
	margin-top: 24px;
	min-height: 50px;
	padding: 15px 30px;
	border-radius: 200px;
	background: var(--cbpm-color-ink);
	color: var(--cbpm-color-surface);
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
}

.cbpm-card--service .cbpm-button--service::after {
	content: "";
	width: 24px;
	height: 24px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Illustration card — outer teal frame (Figma 653-6651/6652 — Primary/Teal Lighter `#D9F8FF`).
   Background stays constant on every row regardless of section bg variant.
   Hosts the inner translucent-white frame which carries the image + border/shadow.
   Chained `.cbpm-card.cbpm-card--service-media` (specificity 0,2,0) beats the generic
   `.cbpm-card { background: var(--cbpm-color-surface) }` rule that lives later in the
   file — without the chain, the teal gets overridden back to white. */
.cbpm-card.cbpm-card--service-media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 320px;
	padding: 28px;
	border: 0;
	box-shadow: none;
	border-radius: var(--cbpm-radius-card);
	background: #d9f8ff;
	overflow: hidden;
}

/* Inner image frame (Figma — translucent white 40% + 1px white border + soft drop shadow).
   This is the highlighted detail the user called out: the image preview sits inside this
   frame, the frame itself sits on the teal card. */
.cbpm-card--service-media__frame {
	width: 100%;
	max-width: 460px;
	padding: 16px;
	background: rgba(255, 255, 255, 0.4);
	border: 1px solid #ffffff;
	border-radius: 8px;
	box-shadow: 0 1px 35px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cbpm-card--service-media__image {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	border-radius: 4px;
	object-fit: cover;
}

/* Section background variants — only the section bg swaps; text card stays white, image
   teal frame stays teal. This matches Figma 653-6651 (white) vs 653-6652 (gray). */
.cbpm-section--services.cbpm-section--bg-light {
	background: #f3f4f7;
}

/* Image-style variant: Full bleed (ACF: image_style = full-bleed, Figma 573-5662).
   Image fills the whole card — no teal background frame, no inner translucent frame,
   no padding. Just radius 20 and `object-fit: cover` to crop nicely. Selected with
   the `cbpm-section--services--media-full-bleed` modifier added by services.php.
   Chained `.cbpm-card.cbpm-card--service-media` (0,2,0) beats the generic
   `.cbpm-card { background: var(--cbpm-color-surface) }` rule. */
.cbpm-section--services--media-full-bleed .cbpm-card.cbpm-card--service-media {
	background: transparent;
	padding: 0;
}

/* Image-style variant: Framed rotating (ACF: image_style = framed-rotating, Figma 596-3319).
   Same framed card as the default, but the image card's background cycles per row:
   teal -> gray -> cobalt -> (repeat). The inner translucent frame stays the same.
   Targeted per row so the colour follows the visual order regardless of --reverse.
   Chained `.cbpm-card.cbpm-card--service-media` (0,2,0) beats the generic
   `.cbpm-card { background: var(--cbpm-color-surface) }`. */
.cbpm-section--services--media-framed-rotating .cbpm-services__row:nth-child(3n + 1) .cbpm-card.cbpm-card--service-media {
	background: #d9f8ff;
}
.cbpm-section--services--media-framed-rotating .cbpm-services__row:nth-child(3n + 2) .cbpm-card.cbpm-card--service-media {
	background: #f3f4f7;
}
.cbpm-section--services--media-framed-rotating .cbpm-services__row:nth-child(3n + 3) .cbpm-card.cbpm-card--service-media {
	background: #e5f3ff;
}

.cbpm-section--services--media-full-bleed .cbpm-card--service-media__frame {
	width: 100%;
	max-width: none;
	height: 100%;
	min-height: 320px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: var(--cbpm-radius-card);
	box-shadow: none;
}

.cbpm-section--services--media-full-bleed .cbpm-card--service-media__image {
	width: 100%;
	height: 100%;
	min-height: 320px;
	border-radius: var(--cbpm-radius-card);
	object-fit: cover;
}

.cbpm-card,
.cbpm-trust-card,
.cbpm-placeholder,
.cbpm-form,
.cbpm-accordion__item {
	border: 1px solid rgba(16, 24, 32, 0.08);
	border-radius: var(--cbpm-radius-card);
	background: var(--cbpm-color-surface);
	box-shadow: var(--cbpm-shadow-soft);
}

.cbpm-card,
.cbpm-trust-card,
.cbpm-placeholder,
.cbpm-form,
.cbpm-accordion__item {
	padding: 24px;
}

.cbpm-card__link,
.cbpm-card--solution {
	display: block;
	color: inherit;
	text-decoration: none;
}

.cbpm-card__media {
	margin: -24px -24px 20px;
}

.cbpm-card__media img,
.cbpm-card img {
	border-radius: calc(var(--cbpm-radius-card) - 4px);
}

/* ============================================================
 * Block 11 — Blog Teaser + article card (Figma 596:3504 / 374:2014)
 * ============================================================ */
.cbpm-section--blog-teaser {
	padding-block: var(--cbpm-section-y);
	background: var(--cbpm-color-soft);
}

.cbpm-section--blog-teaser .cbpm-section__header {
	align-items: flex-end;
	margin-bottom: 40px;
}

.cbpm-section--blog-teaser .cbpm-section__header h2 {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

.cbpm-section--blog-teaser .cbpm-section__header .cbpm-button {
	min-height: 50px;
	padding: 15px 30px;
	gap: 6px;
	border-radius: 200px;
	background: var(--cbpm-color-ink);
	color: var(--cbpm-color-surface);
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	flex-shrink: 0;
}

.cbpm-section--blog-teaser .cbpm-section__header .cbpm-button::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10 18L16 12L10 6' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 24px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10 18L16 12L10 6' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 24px no-repeat;
}

/* Article preview card */
.cbpm-card--post {
	display: flex;
	flex-direction: column;
	padding: 0;
	border: 0;
	box-shadow: none;
	border-radius: var(--cbpm-radius-card);
	background: var(--cbpm-color-surface);
	overflow: hidden;
}

.cbpm-card--post .cbpm-card__link {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.cbpm-card--post .cbpm-card__media {
	margin: 0;
}

.cbpm-card--post .cbpm-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 413 / 272;
	object-fit: cover;
	border-radius: 0;
}

.cbpm-card--post .cbpm-card__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 28px;
	flex: 1;
}

.cbpm-card--post .cbpm-card__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cbpm-card--post .cbpm-card__title {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

.cbpm-card--post .cbpm-card__excerpt {
	margin: 0;
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

.cbpm-card--post .cbpm-card__meta {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--cbpm-color-ink);
}

.cbpm-card--post .cbpm-card__footer {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cbpm-card--post .cbpm-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 26px;
	border-radius: 200px;
	background: #e5f3ff;
	color: #4b50ca;
	font-family: var(--cbpm-font-display);
	font-size: 0.875rem;
	font-weight: 600;
	transition: background 0.2s ease;
}

.cbpm-card--post .cbpm-card__link:hover .cbpm-card__cta {
	background: #d3e9ff;
}

/* ============================================================
 * Block 06 — CTA Banner (Figma 374:1737 with bullets, 374:1738 centered)
 * ============================================================ */

.cbpm-section--cta-banner {
	padding-block: 0;
	overflow-x: clip;
}

.cbpm-section--cta-banner .cbpm-container {
	max-width: 1440px;
}

.cbpm-cta-banner {
	/* Фон тягнеться на весь viewport, контент лишається в межах контейнера.
	   100% тут = ширина .cbpm-container, тож контент збігається з рештою секцій. */
	padding-block: var(--cbpm-section-y);
	padding-inline: calc((100vw - 100%) / 2);
	margin-inline: calc((100% - 100vw) / 2);
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: var(--cbpm-gradient-cta);
	background-size: cover;
	background-position: center;
	box-shadow: none;
	color: var(--cbpm-color-surface);
}

.cbpm-cta-banner__title {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.26;
	letter-spacing: 0;
	color: inherit;
}

.cbpm-cta-banner__description {
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.26;
	color: inherit;
}

.cbpm-cta-banner__description p {
	margin: 0 0 0.75em;
}

.cbpm-cta-banner__description p:last-child {
	margin-bottom: 0;
}

.cbpm-button--cta-banner {
	min-height: 50px;
	padding: 15px 30px;
	border-radius: 200px;
	background: var(--cbpm-color-surface);
	color: var(--cbpm-color-ink);
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
}

.cbpm-button--cta-banner::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	margin-left: 6px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23030712' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Variant: bullets + copy (374:1737) */
.cbpm-cta-banner--with-bullets {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
}

.cbpm-cta-banner--with-bullets .cbpm-cta-banner__main {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 40px;
	max-width: 522px;
	flex: 0 1 522px;
}

.cbpm-cta-banner--with-bullets .cbpm-cta-banner__main .cbpm-cta-banner__title,
.cbpm-cta-banner--with-bullets .cbpm-cta-banner__main .cbpm-cta-banner__description {
	text-align: left;
	width: 100%;
}

.cbpm-cta-banner__bullets {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 0 1 630px;
	max-width: 630px;
	width: 100%;
}

.cbpm-cta-banner__bullet {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 28px;
	border-radius: var(--cbpm-radius-card);
	background: rgba(255, 255, 255, 0.1);
}

.cbpm-cta-banner__bullet-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	background: url("../images/cta-check.svg") center / contain no-repeat;
}

.cbpm-cta-banner__bullet-text {
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: inherit;
}

.cbpm-cta-banner__bullet-text p {
	margin: 0;
}

/* Variant: centered text only (374:1738) */
.cbpm-cta-banner--centered {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	text-align: center;
}

.cbpm-cta-banner--centered .cbpm-cta-banner__main {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: 1001px;
	width: 100%;
}

.cbpm-cta-banner--centered .cbpm-cta-banner__description {
	max-width: 646px;
	font-family: var(--cbpm-font-tiktok);
	font-size: 1.25rem;
	line-height: 1.3;
	color: #e5e7eb;
}

.cbpm-cta-banner--centered .cbpm-cta-banner__media {
	max-width: 480px;
}

.cbpm-cta-banner--centered .cbpm-cta-banner__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--cbpm-radius-card);
}

.cbpm-accordion__trigger {
	width: 100%;
	border: 0;
	padding: 0;
	background: transparent;
	font: inherit;
	font-weight: 800;
	text-align: left;
	cursor: pointer;
}

.cbpm-accordion__panel {
	display: none;
	margin-top: 16px;
	color: var(--cbpm-color-muted);
}

.cbpm-accordion__item.is-open .cbpm-accordion__panel {
	display: block;
}

.cbpm-accordion__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

@media (max-width: 720px) {
	.cbpm-accordion__columns {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

.cbpm-accordion__label {
	margin: 0 0 8px;
	color: var(--cbpm-color-text, inherit);
	font-size: 0.95rem;
	font-weight: 700;
}

.cbpm-accordion__text > :first-child {
	margin-top: 0;
}

.cbpm-accordion__text > :last-child {
	margin-bottom: 0;
}

/* ============================================================
 * Block 12 — FAQ (Figma 375:3126 "FAQs. Type 2")
 * 2 колонки: заголовок ліворуч, список питань праворуч.
 * ============================================================ */
.cbpm-section--faq {
	padding-block: var(--cbpm-section-y);
	background: #e5f3ff;
}

.cbpm-section--faq .cbpm-container {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 40px;
}

/* Title + optional description grouped so the section gap (40) sits below the
   header while title->description stay tight at 16. */
.cbpm-section--faq .cbpm-faq__header {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cbpm-section--faq .cbpm-faq__title {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

/* Optional description under the FAQ heading — Body 1 (18/400). */
.cbpm-section--faq .cbpm-faq__desc {
	margin: 0;
	max-width: 960px;
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

.cbpm-section--faq .cbpm-accordion {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.cbpm-section--faq .cbpm-accordion__item {
	padding: 0;
	border: 0;
	box-shadow: none;
	background: var(--cbpm-color-surface);
	border-radius: var(--cbpm-radius-card);
	overflow: hidden;
}

.cbpm-section--faq .cbpm-accordion__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	width: 100%;
	padding: 24px 24px 24px 28px;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
}

.cbpm-section--faq .cbpm-accordion__trigger > span {
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

/* Кнопка-іконка (шеврон): вниз = закрито, вгору = відкрито */
.cbpm-section--faq .cbpm-accordion__trigger::after {
	content: "";
	flex-shrink: 0;
	width: 54px;
	height: 54px;
	border-radius: 15px;
	background: var(--cbpm-color-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23030712' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
	transition: transform 0.25s ease;
}

.cbpm-section--faq .cbpm-accordion__item.is-open .cbpm-accordion__trigger {
	background: #9cc8ff;
}

.cbpm-section--faq .cbpm-accordion__item.is-open .cbpm-accordion__trigger::after {
	transform: rotate(180deg);
}

.cbpm-section--faq .cbpm-accordion__panel {
	margin-top: 0;
	padding: 0 28px 28px;
	color: var(--cbpm-color-ink);
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.26;
}

@media (max-width: 860px) {
	.cbpm-section--faq .cbpm-container {
		gap: 32px;
	}

	.cbpm-section--faq .cbpm-faq__title {
		font-size: clamp(1.5rem, 7vw, 2.25rem);
	}
}

/* ============================================================
 * Block 07 — Pain Points (Figma 470:2183 full / 374:1799 simple)
 * ============================================================ */
.cbpm-section--pain-points {
	padding-block: var(--cbpm-section-y);
	background: #e5f3ff;
}

.cbpm-section--pain-points .cbpm-container {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

/* Header */
.cbpm-section--pain-points .cbpm-section__header {
	align-items: flex-end;
	margin-bottom: 0;
}

.cbpm-section--pain-points .cbpm-section__header h2 {
	margin: 0 0 16px;
	font-family: var(--cbpm-font-display);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

.cbpm-section--pain-points .cbpm-section__header > div {
	max-width: 646px;
}

.cbpm-section--pain-points .cbpm-section__header > div > div {
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

.cbpm-section--pain-points .cbpm-section__header .cbpm-button {
	min-height: 50px;
	padding: 15px 30px;
	gap: 6px;
	border-radius: 200px;
	background: var(--cbpm-color-ink);
	color: var(--cbpm-color-surface);
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	flex-shrink: 0;
}

.cbpm-section--pain-points .cbpm-section__header .cbpm-button::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10 18L16 12L10 6' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 24px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10 18L16 12L10 6' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 24px no-repeat;
}

/* Card list */
.cbpm-section--pain-points .cbpm-accordion {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cbpm-section--pain-points .cbpm-accordion__item {
	padding: 0;
	border: 0;
	box-shadow: none;
	background: var(--cbpm-color-surface);
	border-radius: var(--cbpm-radius-card);
	overflow: hidden;
}

/* Simple mode: half-width cards, aligned left */
.cbpm-section--pain-points .cbpm-pain-accordion--simple .cbpm-accordion__item {
	width: 100%;
	max-width: 761px;
}

.cbpm-section--pain-points .cbpm-accordion__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	width: 100%;
	padding: 24px 24px 24px 28px;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.25s ease;
}

.cbpm-section--pain-points .cbpm-accordion__item.is-open .cbpm-accordion__trigger {
	background: #9cc8ff;
}

.cbpm-section--pain-points .cbpm-accordion__trigger > span {
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

/* Chevron icon button (down = closed, up = open) */
.cbpm-section--pain-points .cbpm-accordion__trigger::after {
	content: "";
	flex-shrink: 0;
	width: 54px;
	height: 54px;
	border-radius: 15px;
	background: var(--cbpm-color-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23030712' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
	transition: transform 0.25s ease;
}

.cbpm-section--pain-points .cbpm-accordion__item.is-open .cbpm-accordion__trigger::after {
	transform: rotate(180deg);
}

/* Panel */
.cbpm-section--pain-points .cbpm-accordion__panel {
	margin-top: 0;
	padding: 0 28px 28px;
	color: var(--cbpm-color-ink);
}

.cbpm-section--pain-points .cbpm-accordion__columns {
	gap: 22px;
	margin-top: 15px;
}

.cbpm-section--pain-points .cbpm-accordion__label {
	margin: 0 0 16px;
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	color: var(--cbpm-color-ink);
}

.cbpm-section--pain-points .cbpm-accordion__column .cbpm-accordion__text {
	font-family: var(--cbpm-font-body);
	font-size: 1rem;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

/* Simple mode answer: single column, larger body text */
.cbpm-section--pain-points .cbpm-accordion__answer .cbpm-accordion__text {
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

@media (max-width: 860px) {
	.cbpm-section--pain-points .cbpm-section__header {
		align-items: flex-start;
		flex-direction: column;
	}

	.cbpm-section--pain-points .cbpm-accordion__columns {
		grid-template-columns: 1fr 1fr;
		gap: 16px;
		
	}
.cbpm-accordion__answer {
    padding-top: 15px;
}
	.cbpm-section--pain-points .cbpm-pain-accordion--simple .cbpm-accordion__item {
		max-width: none;
	}
}

.cbpm-form {
	display: grid;
	gap: 14px;
}

.cbpm-form label {
	display: grid;
	gap: 6px;
	font-weight: 700;
}

.cbpm-form input,
.cbpm-form textarea,
.cbpm-form select {
	width: 100%;
	border: 1px solid rgba(16, 24, 32, 0.16);
	border-radius: 12px;
	padding: 12px 14px;
	font: inherit;
}

.cbpm-form__checkbox {
	display: flex !important;
	grid-template-columns: auto 1fr;
	align-items: start;
	font-weight: 400 !important;
}

.cbpm-form__checkbox input {
	width: auto;
	margin-top: 6px;
}

.cbpm-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 28px;
}

.cbpm-table th,
.cbpm-table td {
	border: 1px solid rgba(16, 24, 32, 0.12);
	padding: 14px;
	text-align: left;
}

/* ============================================================
 * Footer (Figma 470:2244)
 * ============================================================ */
.cbpm-site-footer {
	padding-block: 80px 20px;
	background: var(--cbpm-color-ink);
	color: #fff;
}

.cbpm-site-footer__grid {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 60px;
}

.cbpm-site-footer__brand {
	flex: 0 1 610px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.cbpm-site-footer__menus {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}

.cbpm-site-footer__nav {
	flex: 1 1 200px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cbpm-menu--footer a {
	overflow-wrap: break-word;
}

.cbpm-site-footer__nav-title {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
}

.cbpm-menu--footer {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cbpm-menu--footer a {
	font-family: var(--cbpm-font-body);
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.85);
	transition: color 0.2s ease;
}

.cbpm-menu--footer a:hover {
	color: #fff;
}

/* Footer contacts */
.cbpm-footer-contacts {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cbpm-footer-contacts__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cbpm-footer-contacts__label {
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
}

.cbpm-footer-contacts__value {
	color: rgba(255, 255, 255, 0.85);
	font-family: var(--cbpm-font-body);
	font-size: 1rem;
	text-decoration: none;
}

.cbpm-footer-contacts__value:hover {
	color: #fff;
}

/* Social icons (32×32, brand colours) */
.cbpm-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cbpm-social-links__item {
	display: inline-flex;
	width: 32px;
	height: 32px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.cbpm-social-links__item:hover {
	transform: translateY(-2px);
	opacity: 0.9;
}

.cbpm-social-links__item--telegram {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23229ED9'/%3E%3Cpath fill='%23fff' d='M7 15.7l14.8-5.7c.7-.25 1.3.17 1.07 1.2l-2.52 11.9c-.17.8-.65 1-1.32.62l-3.66-2.7-1.77 1.7c-.2.2-.36.36-.73.36l.26-3.72 6.74-6.09c.3-.26-.06-.4-.46-.15l-8.33 5.24-3.59-1.12c-.78-.24-.8-.78.16-1.16z'/%3E%3C/svg%3E");
}

.cbpm-social-links__item--linkedin {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='6' fill='%230A66C2'/%3E%3Cpath fill='%23fff' d='M11.6 24V12.7H8V24zM9.8 11.2c1.16 0 1.88-.77 1.88-1.73-.02-.98-.72-1.73-1.86-1.73S7.94 8.5 7.94 9.47c0 .96.72 1.73 1.84 1.73zM13.6 24h3.6v-6.3c0-.32.02-.64.12-.87.26-.64.85-1.3 1.84-1.3 1.3 0 1.82.98 1.82 2.42V24h3.6v-6.46c0-3.33-1.78-4.88-4.15-4.88-1.93 0-2.78 1.07-3.25 1.81h.02v-1.56H13.6c.05 1.02 0 11.29 0 11.29z'/%3E%3C/svg%3E");
}

.cbpm-social-links__item--mail {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='m' x1='16' y1='0' x2='16' y2='32' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%233486F4'/%3E%3Cstop offset='1' stop-color='%232AD1FB'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='32' height='32' rx='7.04587' fill='url(%23m)'/%3E%3Cpath d='M9 12h14v8H9z' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M9.5 12.5l6.5 5 6.5-5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.cbpm-social-links__item--facebook {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='6' fill='%231877F2'/%3E%3Cpath fill='%23fff' d='M18.4 25v-7h2.3l.35-2.7H18.4v-1.72c0-.78.22-1.31 1.34-1.31h1.43V8.86c-.25-.03-1.1-.1-2.08-.1-2.06 0-3.47 1.26-3.47 3.56v1.98H13.3V17h2.32v8z'/%3E%3C/svg%3E");
}

.cbpm-social-links__item--instagram {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='6' fill='%23E4405F'/%3E%3Crect x='9' y='9' width='14' height='14' rx='4' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3Ccircle cx='16' cy='16' r='3.4' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3Ccircle cx='20.4' cy='11.6' r='1' fill='%23fff'/%3E%3C/svg%3E");
}

.cbpm-social-links__item--youtube {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='6' fill='%23FF0000'/%3E%3Cpath fill='%23fff' d='M13.5 12.5l6 3.5-6 3.5z'/%3E%3C/svg%3E");
}

.cbpm-social-links__item--other {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='6' fill='%236B7280'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' d='M13 15l-1.5 1.5a2.5 2.5 0 003.5 3.5L16.5 19M19 17l1.5-1.5a2.5 2.5 0 00-3.5-3.5L15.5 13'/%3E%3C/svg%3E");
}

.cbpm-site-footer__bottom {
	margin-top: 60px;
	padding-block: 20px 0;
	border-top: 1px solid #9ca3af;
}

.cbpm-site-footer__legal-fallback {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cbpm-dev-warning {
	margin: 20px auto;
	max-width: var(--cbpm-container);
	padding: 16px;
	border: 1px solid #d98500;
	background: #fff7e6;
	color: #5f3900;
}

.cbpm-section__title {
	margin: 0 0 16px;
	font-family: var(--cbpm-font-display);
	font-weight: 600;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.cbpm-section__header--stack {
	align-items: flex-start;
}

.cbpm-section__note {
	margin: 0;
	color: var(--cbpm-color-muted);
	font-size: 0.9rem;
}

.cbpm-trust-strip.cbpm-trust-strip--overlap {
	position: relative;
	z-index: 2;
	/* width: min(100% - 40px, 1440px); */
	/* max-width: 1440px; */
	margin-inline: auto;
	padding: 80px;
	background: var(--cbpm-color-ink);
}

.cbpm-trust-strip--overlap .cbpm-trust-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 160px;
	padding: 0 20px;
	color: var(--cbpm-color-surface);
	text-align: center;
	background: transparent;
	border: 0;
	border-right: 1px solid #6b7280;
	border-radius: 0;
	box-shadow: none;
}

.cbpm-trust-strip--overlap .cbpm-trust-card:last-child {
	border-right: 0;
}

.cbpm-trust-strip--overlap .cbpm-trust-card__value {
	display: block;
	font-family: var(--cbpm-font-display);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1;
	color: inherit;
}

.cbpm-trust-strip--overlap .cbpm-trust-card__label {
	margin: 0;
	max-width: 225px;
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.35;
	color: inherit;
}

.cbpm-trust-strip--overlap .cbpm-trust-card__logo {
	display: block;
	width: auto;
	max-width: 207px;
	height: auto;
	max-height: 48px;
	margin: 0 auto;
	object-fit: contain;
}

.cbpm-trust-strip--overlap .cbpm-trust-card__rich {
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	line-height: 1.35;
}

.cbpm-trust-card__value {
	display: block;
	font-size: 2rem;
	line-height: 1;
}

.cbpm-trust-card__label {
	margin: 0.5rem 0 0;
	font-size: 1rem;
}

/* ============================================================
 * Block 02 — Why BC / Info section (Figma 470:2076, 470:2142, 470:2185, 470:2242)
 * ============================================================ */

.cbpm-section--why-bc {
	padding-block: var(--cbpm-section-y);
	overflow-x: clip;
}

.cbpm-section--why-bc .cbpm-container {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.cbpm-section--why-bc .cbpm-section__header {
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 0;
	gap: 32px;
}

.cbpm-section--why-bc .cbpm-section__header--stack {
	align-items: flex-end;
}

.cbpm-section--why-bc .cbpm-section__header-copy {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 680px;
	flex: 1 1 auto;
}

.cbpm-section--why-bc .cbpm-section__title {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.26;
	letter-spacing: 0;
	color: var(--cbpm-color-ink);
}

.cbpm-section--why-bc .cbpm-section__description {
	max-width: 646px;
	margin: 0;
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.26;
	color: var(--cbpm-color-muted);
}

.cbpm-section--why-bc .cbpm-section__description p {
	margin: 0;
}

.cbpm-section--why-bc .cbpm-section__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	flex-shrink: 0;
}

.cbpm-section--why-bc .cbpm-section__actions .cbpm-button {
	min-height: 50px;
	padding: 15px 30px;
	gap: 6px;
	border-radius: 200px;
	background: var(--cbpm-color-ink);
	color: var(--cbpm-color-surface);
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	box-shadow: none;
}

.cbpm-section--why-bc .cbpm-section__actions .cbpm-button::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10 18L16 12L10 6' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 24px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10 18L16 12L10 6' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 24px no-repeat;
}

.cbpm-section--why-bc .cbpm-section__note {
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	color: var(--cbpm-color-ink);
}

.cbpm-section--why-bc .cbpm-benefit-scroll {
	display: flex;
	gap: var(--cbpm-card-gap);
	overflow-x: auto;
	padding-bottom: 12px;
	/* Breakout: правий край тягнеться до краю екрана, лівий лишається по контейнеру.
	   padding-right повертає останню картку до правої межі контейнера при повному скролі. */
	margin-right: calc((100% - 100vw) / 2);
	padding-right: max(20px, calc((100vw - var(--cbpm-container)) / 2));
	/* No scroll-snap: snapping can fight the programmatic `scrollLeft` set by the
	   wheel handler (the strip would jump back to the nearest card). Free scroll. */
	scroll-snap-type: none;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	/* Hide the horizontal scrollbar — wheel/touch still scroll (JS converts the
	   vertical wheel to horizontal and releases to page scroll at the edges). */
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.cbpm-section--why-bc .cbpm-benefit-scroll::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

/* When every card fits within the container there is nothing to scroll: drop the
   breakout + overflow so the row sits statically (JS toggles `--fits`). */
.cbpm-section--why-bc .cbpm-benefit-scroll.cbpm-benefit-scroll--fits {
	overflow-x: visible;
	margin-right: 0;
	padding-right: 0;
	scroll-snap-type: none;
}

.cbpm-section--why-bc .cbpm-card--benefit {
	flex: 0 0 305px;
	width: 305px;
	min-width: 305px;
	min-height: 305px;
	padding: var(--cbpm-card-padding);
	border: 0;
	border-radius: var(--cbpm-radius-card);
	background: var(--cbpm-color-benefit);
	box-shadow: none;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	scroll-snap-align: start;
}

.cbpm-section--why-bc .cbpm-card--benefit h3 {
	margin: 0;
	/* max-width: 225px; */
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.26;
	letter-spacing: 0;
	color: var(--cbpm-color-ink);
}

.cbpm-section--why-bc .cbpm-card--benefit .cbpm-card__excerpt {
	margin: 0;
	max-width: 100%;
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

.cbpm-section--why-bc .cbpm-card--benefit .cbpm-card__excerpt p {
	margin: 0 0 0.75em;
}

.cbpm-section--why-bc .cbpm-card--benefit .cbpm-card__excerpt p:last-child {
	margin-bottom: 0;
}

/* Icon cards (470:2076, 470:2185): title top, icon well bottom */
.cbpm-section--why-bc .cbpm-card--benefit:has(.cbpm-card__icon) .cbpm-card__excerpt:empty {
	display: none;
}

.cbpm-section--why-bc .cbpm-card--benefit:has(.cbpm-card__icon) .cbpm-card__icon {
	margin-top: auto;
}

.cbpm-section--why-bc .cbpm-card--benefit:not(:has(.cbpm-card__icon)) .cbpm-card__excerpt {
	margin-top: auto;
}

.cbpm-section--why-bc .cbpm-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	flex-shrink: 0;
	border-radius: 15px;
	background: var(--cbpm-color-surface);
}

.cbpm-section--why-bc .cbpm-card__icon-image {
	display: block;
	width: auto;
	max-width: 68px;
	height: auto;
	max-height: 68px;
	object-fit: contain;
}

/* Text-only cards (470:2142): title + body, no icon.
   Without an icon the title should use the full card width (the 225px cap exists
   only to keep room beside the icon well in icon cards). */
.cbpm-section--why-bc .cbpm-card--benefit:not(:has(.cbpm-card__icon)) h3 {
	margin-bottom: 0;
	max-width: none;
}

/* Section background: Light */
.cbpm-section--why-bc.cbpm-section--bg-light {
	background: var(--cbpm-color-soft);
}

/* Section background: Accent (470:2242) */
.cbpm-section--why-bc.cbpm-section--bg-accent {
	background: var(--cbpm-gradient-why-accent);
	color: var(--cbpm-color-surface);
}

.cbpm-section--why-bc.cbpm-section--bg-accent .cbpm-section__title,
.cbpm-section--why-bc.cbpm-section--bg-accent .cbpm-section__note,
.cbpm-section--why-bc.cbpm-section--bg-accent .cbpm-card--benefit h3 {
	color: #ffffff;
}

.cbpm-section--why-bc.cbpm-section--bg-accent .cbpm-section__description,
.cbpm-section--why-bc.cbpm-section--bg-accent .cbpm-card--benefit .cbpm-card__excerpt {
	color: #f3f4f7;
}

.cbpm-section--why-bc.cbpm-section--bg-accent .cbpm-card--benefit {
	background: rgba(243, 244, 247, 0.2);
	border: 0;
	backdrop-filter: blur(8px);
}

.cbpm-section--why-bc.cbpm-section--bg-accent .cbpm-card__icon {
	background: var(--cbpm-color-surface);
	border: 1px solid #e5e7eb;
}

.cbpm-section--why-bc.cbpm-section--bg-accent .cbpm-section__actions .cbpm-button--primary,
.cbpm-section--why-bc.cbpm-section--bg-accent .cbpm-section__actions .cbpm-button {
	background: var(--cbpm-color-surface);
	color: var(--cbpm-color-ink);
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
}

/* Section background: Cobalt Lighter (Figma 651:6546) — light blue bg, white cards */
.cbpm-section--why-bc.cbpm-section--bg-cobalt {
	background: #e5f3ff;
}

.cbpm-section--why-bc.cbpm-section--bg-cobalt .cbpm-section__title {
	color: var(--cbpm-color-ink);
}

.cbpm-section--why-bc.cbpm-section--bg-cobalt .cbpm-section__description {
	color: var(--cbpm-color-muted);
}

.cbpm-section--why-bc.cbpm-section--bg-cobalt .cbpm-card--benefit {
	background: var(--cbpm-color-surface);
	border: 0;
}

.cbpm-section--why-bc.cbpm-section--bg-cobalt .cbpm-card--benefit h3,
.cbpm-section--why-bc.cbpm-section--bg-cobalt .cbpm-card--benefit .cbpm-card__excerpt {
	color: var(--cbpm-color-ink);
}

.cbpm-section--why-bc.cbpm-section--bg-cobalt .cbpm-card__icon {
	background: var(--cbpm-color-surface);
	border: 1px solid #e5e7eb;
}

.cbpm-section--why-bc.cbpm-section--bg-cobalt .cbpm-section__actions .cbpm-button {
	background: var(--cbpm-color-surface);
	color: var(--cbpm-color-ink);
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
}

/* Section background: Gray (Figma 642-9489) — inverse of Variant 1: gray section,
   white cards with a thin border, dark text. Best paired with grid layout +
   text-only cards. */
.cbpm-section--why-bc.cbpm-section--bg-gray {
	background: #f3f4f7;
}

.cbpm-section--why-bc.cbpm-section--bg-gray .cbpm-section__title {
	color: var(--cbpm-color-ink);
}

.cbpm-section--why-bc.cbpm-section--bg-gray .cbpm-section__description {
	color: var(--cbpm-color-muted);
}

.cbpm-section--why-bc.cbpm-section--bg-gray .cbpm-card--benefit {
	background: var(--cbpm-color-surface);
	border: 1px solid #e5e7eb;
}

.cbpm-section--why-bc.cbpm-section--bg-gray .cbpm-card--benefit h3,
.cbpm-section--why-bc.cbpm-section--bg-gray .cbpm-card--benefit .cbpm-card__excerpt {
	color: var(--cbpm-color-ink);
}

.cbpm-section--why-bc.cbpm-section--bg-gray .cbpm-card__icon {
	background: #f3f4f7;
	border: 1px solid #e5e7eb;
}

.cbpm-section--why-bc.cbpm-section--bg-gray .cbpm-section__actions .cbpm-button {
	background: var(--cbpm-color-ink);
	color: var(--cbpm-color-surface);
}

/* Section background: Dark — cards stay light for contrast */
.cbpm-section--why-bc.cbpm-section--bg-dark {
	background: var(--cbpm-color-ink);
	color: var(--cbpm-color-surface);
}

.cbpm-section--why-bc.cbpm-section--bg-dark .cbpm-section__title,
.cbpm-section--why-bc.cbpm-section--bg-dark .cbpm-section__note {
	color: inherit;
}

.cbpm-section--why-bc.cbpm-section--bg-dark .cbpm-section__description {
	color: rgba(255, 255, 255, 0.82);
}

.cbpm-section--why-bc.cbpm-section--bg-dark .cbpm-card--benefit {
	background: var(--cbpm-color-benefit);
	color: var(--cbpm-color-ink);
}

.cbpm-section--why-bc.cbpm-section--bg-dark .cbpm-card--benefit h3,
.cbpm-section--why-bc.cbpm-section--bg-dark .cbpm-card--benefit .cbpm-card__excerpt {
	color: var(--cbpm-color-ink);
}

.cbpm-section--why-bc.cbpm-section--bg-dark .cbpm-section__actions .cbpm-button {
	background: var(--cbpm-color-surface);
	color: var(--cbpm-color-ink);
}

/* Why BC — Icon position toggle (ACF: icon_position).
   DOM is title → icon → excerpt. We override the card's justify-content and use
   order + auto margins so the icon ends up either above the excerpt (Figma
   651-6332 — icon block at top, title+excerpt grouped at bottom) or below it
   (Figma 373-796 — title+excerpt at top, icon block at bottom).
   Chained selector (.cbpm-section--why-bc.cbpm-section--why-bc--icon-…) raises
   specificity to (0,3,0) so it beats the legacy `.cbpm-section--why-bc …` rules. */

/* icon ABOVE: icon at top, title+excerpt grouped at bottom */
.cbpm-section--why-bc.cbpm-section--why-bc--icon-above .cbpm-card--benefit:has(.cbpm-card__icon) {
	justify-content: flex-start;
}

.cbpm-section--why-bc.cbpm-section--why-bc--icon-above .cbpm-card--benefit:has(.cbpm-card__icon) .cbpm-card__icon {
	order: -1;
	margin-top: 0;
	margin-bottom: auto;
}

.cbpm-section--why-bc.cbpm-section--why-bc--icon-above .cbpm-card--benefit:has(.cbpm-card__icon) h3 {
	margin-top: 0;
}

.cbpm-section--why-bc.cbpm-section--why-bc--icon-above .cbpm-card--benefit:has(.cbpm-card__icon) .cbpm-card__excerpt {
	margin-top: 16px;
}

/* icon BELOW (default-like): title+excerpt at top, icon at bottom */
.cbpm-section--why-bc.cbpm-section--why-bc--icon-below .cbpm-card--benefit:has(.cbpm-card__icon) {
	justify-content: flex-start;
}

.cbpm-section--why-bc.cbpm-section--why-bc--icon-below .cbpm-card--benefit:has(.cbpm-card__icon) h3 {
	order: 0;
	margin-top: 0;
}

.cbpm-section--why-bc.cbpm-section--why-bc--icon-below .cbpm-card--benefit:has(.cbpm-card__icon) .cbpm-card__excerpt {
	order: 1;
	margin-top: 16px;
}

.cbpm-section--why-bc.cbpm-section--why-bc--icon-below .cbpm-card--benefit:has(.cbpm-card__icon) .cbpm-card__icon {
	order: 2;
	margin-top: auto;
}

/* Why BC — Cards layout toggle (ACF: cards_layout).
   Grid 2-col is desktop-only; mobile (<768) keeps the default horizontal scroll.
   Chained selector raises specificity over the legacy single-class rules.
   IMPORTANT: must explicitly reset `grid-auto-flow` and `grid-auto-columns`
   because `.cbpm-horizontal-list` (sibling class on the same element) sets
   them to `column` / `minmax(260px, 1fr)` which would otherwise turn the
   grid into a single-row column-flow strip. */
@media (min-width: 768px) {
	.cbpm-section--why-bc.cbpm-section--why-bc--layout-grid .cbpm-benefit-scroll {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto;
		grid-auto-flow: row;
		grid-auto-columns: auto;
		gap: 20px;
		overflow: visible;
		overflow-x: visible;
		margin-right: 0;
		padding-right: 0;
		padding-bottom: 0;
		scroll-snap-type: none;
	}

	.cbpm-section--why-bc.cbpm-section--why-bc--layout-grid .cbpm-card--benefit {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
		max-width: none;
		scroll-snap-align: none;
	}
}

/* Grid layout on mobile (Figma 713-25017) — cards stack vertically full-width
   instead of the horizontal scroll used by the default icon-card layout. */
@media (max-width: 767px) {
	.cbpm-section--why-bc.cbpm-section--why-bc--layout-grid .cbpm-benefit-scroll {
		display: grid;
		grid-template-columns: 1fr;
		grid-auto-flow: row;
		grid-auto-columns: auto;
		gap: 12px;
		overflow: visible;
		overflow-x: visible;
		margin-right: 0;
		padding-right: 0;
		padding-bottom: 0;
		scroll-snap-type: none;
	}

	.cbpm-section--why-bc.cbpm-section--why-bc--layout-grid .cbpm-card--benefit {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
		max-width: none;
		scroll-snap-align: none;
	}
}

/* Why BC — wide cards variant (ACF: cards_layout = scroll-wide, Figma 828-12556).
   Same horizontal-scroll strip and wheel behaviour, but cards are ~413px wide so
   exactly 3 fit per 1280 container (gap 21). Caps to the viewport on narrow
   screens so a card never exceeds the phone width. Chained selector (0,3,0) beats
   the base .cbpm-card--benefit width (0,2,0). */
.cbpm-section--why-bc.cbpm-section--why-bc--layout-scroll-wide .cbpm-benefit-scroll {
	gap: 21px;
}

.cbpm-section--why-bc.cbpm-section--why-bc--layout-scroll-wide .cbpm-card--benefit {
	flex: 0 0 min(413px, 82vw);
	width: min(413px, 82vw);
	min-width: 0;
	min-height: 412px;
}

.cbpm-benefit-scroll {
	scroll-snap-type: x mandatory;
}

.cbpm-benefit-scroll .cbpm-card {
	scroll-snap-align: start;
}

.cbpm-section--migration-fit {
	background: var(--cbpm-color-migration);
}

/* ============================================================
 * Section background variants — controlled by ACF
 * "Section background" field (default / light / dark / accent).
 * ============================================================ */

.cbpm-section--bg-light {
	background: var(--cbpm-color-soft);
}

.cbpm-section--bg-dark {
	background: var(--cbpm-color-ink);
	color: var(--cbpm-color-surface);
}

.cbpm-section--bg-accent {
	background: var(--cbpm-gradient-why-accent);
	color: #ffffff;
}

.cbpm-section--bg-dark .cbpm-section__title,
.cbpm-section--bg-dark .cbpm-section__description,
.cbpm-section--bg-dark .cbpm-section__note,
.cbpm-section--bg-dark h2,
.cbpm-section--bg-dark h3,
.cbpm-section--bg-accent .cbpm-section__title,
.cbpm-section--bg-accent .cbpm-section__description,
.cbpm-section--bg-accent .cbpm-section__note,
.cbpm-section--bg-accent h2,
.cbpm-section--bg-accent h3 {
	color: inherit;
}

.cbpm-section--bg-dark .cbpm-section__description,
.cbpm-section--bg-dark .cbpm-section__note,
.cbpm-section--bg-accent .cbpm-section__description,
.cbpm-section--bg-accent .cbpm-section__note {
	color: rgba(255, 255, 255, 0.82);
}

/* Cards inside an accent section: translucent fill, white text. */
.cbpm-section--bg-accent .cbpm-card {
	background: rgba(243, 244, 247, 0.2);
	color: inherit;
	border: 0;
	backdrop-filter: blur(8px);
}

.cbpm-section--bg-accent .cbpm-card h3,
.cbpm-section--bg-accent .cbpm-card .cbpm-card__excerpt,
.cbpm-section--bg-accent .cbpm-card p {
	color: inherit;
}

.cbpm-section--bg-accent .cbpm-card .cbpm-card__excerpt,
.cbpm-section--bg-accent .cbpm-card p {
	color: rgba(255, 255, 255, 0.78);
}

/* Primary button on accent bg: invert to white pill, dark text. */
.cbpm-section--bg-accent .cbpm-button--primary,
.cbpm-section--bg-dark .cbpm-button--primary {
	background: var(--cbpm-color-surface);
	color: var(--cbpm-color-ink);
}

.cbpm-section--bg-accent .cbpm-button--primary:hover,
.cbpm-section--bg-dark .cbpm-button--primary:hover {
	background: rgba(255, 255, 255, 0.9);
}

/* Plain links / underline accents inside dark or accent sections. */
.cbpm-section--bg-accent a:not(.cbpm-button),
.cbpm-section--bg-dark a:not(.cbpm-button) {
	color: inherit;
	text-decoration-color: rgba(255, 255, 255, 0.5);
}

.cbpm-grid--migration,
.cbpm-grid--cases {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cbpm-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.cbpm-card__tags li {
	padding: 4px 10px;
	border-radius: var(--cbpm-radius-pill);
	background: var(--cbpm-color-soft);
	font-size: 0.75rem;
	font-weight: 700;
}

.cbpm-card__metrics {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 16px 0 0;
}

.cbpm-card__metric {
	margin: 0;
}

.cbpm-card__metric-value {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 800;
}

.cbpm-card__metric-label {
	margin: 4px 0 0;
	color: var(--cbpm-color-muted);
	font-size: 0.8rem;
}

.cbpm-card__cta {
	display: inline-flex;
	margin-top: 16px;
	font-weight: 700;
	color: var(--cbpm-color-accent);
}

/* ============================================================
 * Block 14 — Case Studies List (Figma 492-3132)
 * Large dark landscape cards 1280×~530 stacked vertically with alternating
 * left/right image side. Each card: dark `#030712` bg, padding 28, radius 20.
 * Content column (text/tags/stats) on one side, image + bottom CTA on the other.
 * ============================================================ */
/* Section bg + spacing per Figma 492-3132 (`#E5E7EB` Grayscale/20, 80px block padding).
   Chained `.cbpm-section.cbpm-section--case-studies-list` (specificity 0,2,0) beats
   any `.cbpm-section--bg-{dark|light|accent}` rule (0,1,0) regardless of source order
   so the gray bg holds across all ACF section_background variants. */
.cbpm-section.cbpm-section--case-studies-list {
	background: #e5e7eb;
	padding-block: 80px;
}

.cbpm-case-list--landscape {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Each card is the dark wrapper itself; the inner <a> becomes the row layout. */
.cbpm-card.cbpm-card--case-study {
	display: block;
	padding: 28px;
	border: 0;
	border-radius: 20px;
	background: #030712;
	color: #ffffff;
	overflow: hidden;
	box-shadow: none;
}

.cbpm-card--case-study .cbpm-card__link {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 32px;
	width: 100%;
	color: #ffffff;
	text-decoration: none;
}

/* Body (left) — Figma fixed 630×474; column space-between so tags top, text middle,
   stats bottom. Use flex grow so it can shrink on narrower viewports. */
.cbpm-card--case-study .cbpm-card__body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	flex: 1 1 0;
	min-width: 0;
	min-height: 474px;
}

.cbpm-card--case-study .cbpm-card__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Tags — white-on-translucent pills (override generic light-bg/ink rule). */
.cbpm-card--case-study .cbpm-card__tags {
	margin: 0;
	gap: 10px;
}

.cbpm-card--case-study .cbpm-card__tags li {
	padding: 12px 24px;
	border-radius: 54px;
	background: rgba(255, 255, 255, 0.1);
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.26;
	color: #ffffff;
}

.cbpm-card--case-study .cbpm-card__title {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.26;
	color: #ffffff;
}

.cbpm-card--case-study .cbpm-card__excerpt {
	margin: 0;
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.26;
	color: #ffffff;
}

.cbpm-card--case-study .cbpm-card__excerpt p {
	margin: 0;
}

/* Metrics — 3 translucent-white tiles in a row (override generic compact metric grid). */
.cbpm-card--case-study .cbpm-card__metrics {
	display: flex;
	flex-direction: row;
	gap: 20px;
	margin: 0;
}

.cbpm-card--case-study .cbpm-card__metric {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 8px;
	padding: 20px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.1);
	flex: 1 1 0;
	min-width: 0;
}

.cbpm-card--case-study .cbpm-card__metric-value {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.26;
	min-height: 2.52em;
	color: #ffffff;
}

.cbpm-card--case-study .cbpm-card__metric-label {
	margin: 0;
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.26;
	color: #ffffff;
}

/* Media (right) — Figma 522×474, image background with darken-gradient (transparent 68%
   → black 100%) so the bottom-anchored CTA pill stays legible over any photo. */
.cbpm-card--case-study .cbpm-card__media {
	position: relative;
	flex: 0 0 522px;
	min-height: 474px;
	margin: 0;
	padding: 32px;
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: stretch;
	background: #1f2937;
}

.cbpm-card--case-study .cbpm-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
	border-radius: 0;
	z-index: 0;
}

.cbpm-card--case-study .cbpm-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 68%, rgba(0, 0, 0, 1) 100%);
	z-index: 1;
	pointer-events: none;
}

/* CTA pill — sits over the dark gradient at the bottom of the image. Full-width
   inside the 32px padding of the media frame, white bg + ink text + chevron. */
.cbpm-card--case-study .cbpm-card__cta {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 15px 30px;
	border-radius: 200px;
	background: #ffffff;
	color: #030712;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.26;
	transition: transform 0.15s ease;
}

.cbpm-card--case-study .cbpm-card__cta::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10 18L16 12L10 6' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 24px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10 18L16 12L10 6' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 24px no-repeat;
}

.cbpm-card--case-study .cbpm-card__link:hover .cbpm-card__cta {
	transform: translateY(-1px);
}

/* Alternating sides — even patterns (2, 4) swap so image lands on the LEFT.
   Uses CSS order on flex children — DOM stays the same. */
.cbpm-card--case-study.cbpm-card--case-pattern-2 .cbpm-card__body,
.cbpm-card--case-study.cbpm-card--case-pattern-4 .cbpm-card__body {
	order: 2;
}

.cbpm-card--case-study.cbpm-card--case-pattern-2 .cbpm-card__media,
.cbpm-card--case-study.cbpm-card--case-pattern-4 .cbpm-card__media {
	order: 1;
}

/* ============================================================
 * Block 04 — Case Studies carousel (Figma 596:3403 / 375:3033)
 * ============================================================ */
.cbpm-section--case-studies {
	padding-block: 0;
	background: none;
}

/* Gradient intro band (Figma 596:3404) */
.cbpm-case-intro {
	padding-block: 100px;
	background: var(--cbpm-gradient-cta);
	color: #fff;
}

.cbpm-case-intro__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 40px;
}

.cbpm-case-intro__text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: 1001px;
}

.cbpm-case-intro__title {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: #fff;
}

.cbpm-case-intro__desc {
	max-width: 646px;
	font-family: var(--cbpm-font-tiktok);
	font-size: 1.25rem;
	line-height: 1.3;
	color: #e5e7eb;
}

.cbpm-button--case-intro {
	min-height: 50px;
	padding: 15px 30px;
	border-radius: 200px;
	background: #fff;
	color: var(--cbpm-color-ink);
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
}

.cbpm-button--case-intro::after {
	content: "";
	width: 24px;
	height: 24px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23030712' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Intro variant: Header row (Figma 765-10849) — light band, title on the left,
   dark pill button on the right. The default .cbpm-case-intro is the centered
   gradient CTA band. Modifier class added by case-studies.php; same specificity
   as the base (0,1,0) so it wins via source order. */
.cbpm-case-intro--header {
	padding-block: 80px;
	background: #f3f4f7;
	color: var(--cbpm-color-ink);
}

.cbpm-case-intro--header .cbpm-case-intro__inner {
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	text-align: left;
}

.cbpm-case-intro--header .cbpm-case-intro__text {
	align-items: flex-start;
	gap: 8px;
	text-align: left;
}

.cbpm-case-intro--header .cbpm-case-intro__title {
	color: var(--cbpm-color-ink);
}

/* Dark pill button for the header variant — overrides the white CTA pill and its
   chevron colour (both 0,1,0 / 0,1,1; placed after the base rules to win). */
.cbpm-button--case-intro-dark {
	flex: 0 0 auto;
	background: var(--cbpm-color-ink);
	color: #fff;
}

.cbpm-button--case-intro-dark::after {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Dark carousel band (Figma 596:3405) — arrows live in the band gutters */
.cbpm-case-stage {
	position: relative;
	padding-block: 60px;
	background: var(--cbpm-color-ink);
	color: #fff;
}

.cbpm-case-carousel {
	position: static;
}

.cbpm-case-carousel__viewport {
	overflow: hidden;
}

.cbpm-case-carousel__track {
	display: flex;
}

.cbpm-case-slide {
	flex: 0 0 100%;
	display: flex;
	justify-content: space-between;
	gap: 40px;
	align-items: stretch;
	min-width: 0;
}

.cbpm-case-slide__content {
	flex: 1 1 auto;
	max-width: 630px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
	min-height: 474px;
}

.cbpm-case-slide__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cbpm-case-slide__title {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.26;
	color: #fff;
}

.cbpm-case-slide__desc {
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.26;
	color: rgba(255, 255, 255, 0.85);
}

.cbpm-case-slide__stats {
	display: flex;
	gap: 20px;
}

.cbpm-case-slide__stat {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.1);
}

.cbpm-case-slide__stat-value {
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.26;
	min-height: 2.52em;
	color: #fff;
}

.cbpm-case-slide__stat-label {
	font-family: var(--cbpm-font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.26;
	color: rgba(255, 255, 255, 0.85);
}

.cbpm-case-slide__media {
	position: relative;
	flex: 0 0 522px;
	max-width: 522px;
	min-height: 474px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 32px;
	border-radius: var(--cbpm-radius-card);
	overflow: hidden;
}

.cbpm-case-slide__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.cbpm-case-slide__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 68%, rgba(0, 0, 0, 0.95) 100%);
}

.cbpm-button--case {
	position: relative;
	z-index: 2;
	width: 100%;
	min-height: 50px;
	padding: 15px 30px;
	border-radius: 200px;
	background: #fff;
	color: var(--cbpm-color-ink);
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
}

.cbpm-button--case::after {
	content: "";
	width: 24px;
	height: 24px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23030712' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Carousel controls */
.cbpm-case-carousel__nav {
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border: 0;
	border-radius: 15px;
	background: var(--cbpm-color-ink);
	cursor: pointer;
}

.cbpm-case-carousel__nav--prev {
	left: 16px;
}

.cbpm-case-carousel__nav--next {
	right: 16px;
}

.cbpm-case-carousel__nav::after {
	content: "";
	width: 24px;
	height: 24px;
	background: center / contain no-repeat;
}

.cbpm-case-carousel__nav--prev::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M14 6L8 12L14 18' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E");
}

.cbpm-case-carousel__nav--next::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10 18L16 12L10 6' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E");
}

.cbpm-case-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
}

.cbpm-case-carousel__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.3);
	cursor: pointer;
	transition: width 0.3s ease, background 0.3s ease;
}

.cbpm-case-carousel__dot.is-active {
	width: 32px;
	background: #0789fb;
}

/* ============================================================
 * Block 20 — Webinars / Events slider (Figma 543-6222)
 * Reuses the case-studies carousel JS + structure (data-cbpm-carousel,
 * .cbpm-case-carousel__track) but with a light section, white split-card
 * slide (date + title + desc + CTA on the left, cover image on the right)
 * and light "Secondary" nav arrows + grey/blue dots.
 * ============================================================ */
.cbpm-section--webinars-events {
	background: #f3f4f7;
}

.cbpm-webinars__title {
	margin: 0 0 40px;
	font-family: var(--cbpm-font-display);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

/* Stage relative wrapper — its inner container anchors the absolute nav arrows. */
.cbpm-webinar-stage {
	position: relative;
}

.cbpm-webinar-stage > .cbpm-container {
	position: relative;
}

/* Slide — white rounded card, text panel + cover image side by side. */
.cbpm-webinar-slide {
	flex: 0 0 100%;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	min-width: 0;
	min-height: 440px;
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
}

.cbpm-webinar-slide__content {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	padding: 28px 40px;
}

.cbpm-webinar-slide__date {
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-webinar-slide__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cbpm-webinar-slide__title {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-webinar-slide__desc {
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.26;
	color: #030712;
}

.cbpm-webinar-slide__desc p {
	margin: 0;
}

.cbpm-button.cbpm-button--webinar {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 50px;
	padding: 15px 30px;
	border-radius: 200px;
	background: #030712;
	color: #ffffff;
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
}

.cbpm-button.cbpm-button--webinar::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10 18L16 12L10 6' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 24px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10 18L16 12L10 6' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 24px no-repeat;
}

/* Cover image — fills the right half, clipped by the card's 20px radius. */
.cbpm-webinar-slide__media {
	position: relative;
	flex: 0 0 48%;
	max-width: 48%;
	min-height: 440px;
}

.cbpm-webinar-slide__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Nav arrows — light Secondary buttons (Figma 709-23231/232): #F3F4F7 bg, dark
   chevron, radius 15, soft shadow so they read against the white card. Positioned
   straddling the card .cbpm-site-header__toggle-bar, .cbpm-site-header__toggle-bar::before, .cbpm-site-header__toggle-bar::after (anchored to the relative inner container). */
.cbpm-section--webinars-events .cbpm-case-carousel__nav {
	background: #f3f4f7;
	border-radius: 15px;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
}

.cbpm-section--webinars-events .cbpm-case-carousel__nav:hover {
	background: #e5e7eb;
}

.cbpm-section--webinars-events .cbpm-case-carousel__nav--prev {
	left: -57px;
	box-shadow: -1px 0px 0px #000;
}

.cbpm-section--webinars-events .cbpm-case-carousel__nav--next {
	right: -57px;
	box-shadow: 1px 0px 0px rgba(0, 0, 0, 1);
}

.cbpm-section--webinars-events .cbpm-case-carousel__nav--prev::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M14 6L8 12L14 18' stroke='%23030712' stroke-width='1.5'/%3E%3C/svg%3E");
}

.cbpm-section--webinars-events .cbpm-case-carousel__nav--next::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10 18L16 12L10 6' stroke='%23030712' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* Dots — grey inactive / blue active on the light section. */
.cbpm-section--webinars-events .cbpm-case-carousel__dot {
	background: #6b7280;
}

.cbpm-section--webinars-events .cbpm-case-carousel__dot.is-active {
	background: #0789fb;
}

/* Mobile (Figma 713-24725) — single card, image on top, no nav arrows (dots only). */
@media (max-width: 860px) {
	.cbpm-webinars__title {
		margin-bottom: 24px;
		font-size: 2rem;
	}

	.cbpm-webinar-slide {
		flex-direction: column;
		min-height: 0;
	}

	.cbpm-webinar-slide__media {
		order: -1;
		flex: 0 0 auto;
		max-width: none;
		min-height: 0;
		aspect-ratio: 350 / 220;
	}

	.cbpm-webinar-slide__content {
		gap: 24px;
		padding: 24px;
	}

	.cbpm-webinar-slide__title {
		font-size: 1.75rem;
	}

	.cbpm-webinar-slide__desc {
		font-size: 1rem;
	}

	.cbpm-button.cbpm-button--webinar {
		align-self: stretch;
		justify-content: center;
	}

	.cbpm-section--webinars-events .cbpm-case-carousel__nav {
		display: none;
	}
}

.cbpm-slider {
	position: relative;
}

.cbpm-slider__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(280px, 1fr);
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
}

.cbpm-slider__track > * {
	scroll-snap-align: start;
}

.cbpm-slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--cbpm-color-surface);
	box-shadow: var(--cbpm-shadow-soft);
	cursor: pointer;
	z-index: 2;
}

.cbpm-slider__nav--prev { left: -12px; }
.cbpm-slider__nav--next { right: -12px; }

/* ============================================================
 * Block 08 — Testimonials (Figma 596:3448 / cards 375:3092·3093)
 * Картки заповнюють ширину, коли вміщаються; скрол лише за переповнення.
 * ============================================================ */
.cbpm-section--testimonials {
	padding-block: var(--cbpm-section-y);
}

.cbpm-section--testimonials .cbpm-section__header {
	margin-bottom: 40px;
}

.cbpm-testimonials {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 4px;
}

.cbpm-testimonials > * {
	flex: 1 0 413px;
	min-height: 460px;
	scroll-snap-align: start;
}

/* Video card: фото на всю картку, градієнтна рамка, кнопка Play */
.cbpm-video-card {
	position: relative;
	display: block;
	border-radius: var(--cbpm-radius-card);
	overflow: hidden;
	text-decoration: none;
	color: var(--cbpm-color-surface);
	cursor: pointer;
}

.cbpm-video-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Темний градієнт знизу для читабельності тексту */
.cbpm-video-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 51%, rgba(0, 0, 0, 0.9) 82%);
	z-index: 1;
}

/* Градієнтна рамка 16px (Figma stroke) */
.cbpm-video-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
	border-radius: var(--cbpm-radius-card);
	padding: 16px;
	background: radial-gradient(circle at 0% 108%, #652fc3 0%, #4b50ca 26%, #06579d 61%, #17b3d5 100%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.cbpm-video-card__play {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	border-radius: 0 0 10px 10px;
	background: #139dc7;
}

.cbpm-video-card__play::after {
	content: "";
	border-style: solid;
	border-width: 12px 0 12px 20px;
	border-color: transparent transparent transparent #fff;
}

.cbpm-video-card__meta {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 32px;
}

.cbpm-video-card__name {
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: #fff;
}

.cbpm-video-card__subtitle {
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	color: #e5e7eb;
}

/* Text card */
.cbpm-card--testimonial {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
	padding: 32px;
	margin: 0;
	border: 0;
	box-shadow: none;
	border-radius: var(--cbpm-radius-card);
	background: var(--cbpm-color-soft);
}

.cbpm-card--testimonial__avatar {
	width: 80px;
	height: 80px;
	border-radius: 20px;
	object-fit: cover;
}

.cbpm-card--testimonial__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cbpm-card--testimonial__quote {
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

.cbpm-card--testimonial__quote > :first-child {
	margin-top: 0;
}

.cbpm-card--testimonial__quote > :last-child {
	margin-bottom: 0;
}

.cbpm-card--testimonial footer {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cbpm-card--testimonial footer strong {
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: var(--cbpm-color-muted);
}

.cbpm-card--testimonial footer span {
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	color: var(--cbpm-color-muted);
}

/* Single-testimonial variant (Figma 511-4768) — applied by PHP when there is
   exactly one card. The layout collapses to a centred column: 80×80 square photo
   on top, large quote below, name+title (Grayscale/80) at the bottom.
   Multi-card behaviour is left untouched.
   Chained selector `.cbpm-testimonials.cbpm-testimonials--single` keeps
   specificity above the base `.cbpm-card--testimonial` rules above. */
.cbpm-testimonials.cbpm-testimonials--single {
	display: flex;
	justify-content: center;
	gap: 0;
}

.cbpm-testimonials.cbpm-testimonials--single > * {
	width: 100%;
	max-width: 842px;
	justify-content: unset;
}

.cbpm-testimonials.cbpm-testimonials--single .cbpm-card--testimonial {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 40px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	border-radius: 0;
}

.cbpm-testimonials.cbpm-testimonials--single .cbpm-card--testimonial__avatar {
	width: 80px;
	height: 80px;
	border-radius: 20px;
	object-fit: cover;
	flex-shrink: 0;
}

.cbpm-testimonials.cbpm-testimonials--single .cbpm-card--testimonial__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
}

.cbpm-testimonials.cbpm-testimonials--single .cbpm-card--testimonial__quote {
	font-family: var(--cbpm-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-testimonials.cbpm-testimonials--single .cbpm-card--testimonial footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.cbpm-testimonials.cbpm-testimonials--single .cbpm-card--testimonial footer strong {
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: #374151;
}

.cbpm-testimonials.cbpm-testimonials--single .cbpm-card--testimonial footer span {
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.26;
	color: #374151;
}

@media (max-width: 640px) {
	.cbpm-testimonials.cbpm-testimonials--single .cbpm-card--testimonial {
		gap: 24px;
	}

	.cbpm-testimonials.cbpm-testimonials--single .cbpm-card--testimonial__quote {
		font-size: 1.25rem;
	}

	.cbpm-testimonials.cbpm-testimonials--single .cbpm-card--testimonial footer strong {
		font-size: 1.125rem;
	}
}

.cbpm-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.cbpm-slider__nav[hidden] {
	display: none;
}

/* Video lightbox modal */
.cbpm-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.cbpm-modal[hidden] {
	display: none;
}

.cbpm-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 7, 18, 0.8);
}

.cbpm-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(960px, 100%);
}

.cbpm-modal__body {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--cbpm-radius-card);
	overflow: hidden;
	background: #000;
}

.cbpm-modal__body iframe,
.cbpm-modal__body video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.cbpm-modal__close {
	position: absolute;
	top: -44px;
	right: 0;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.cbpm-modal__close:hover {
	background: rgba(255, 255, 255, 0.28);
}

.cbpm-timeline {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 48px;
}

.cbpm-timeline__card {
	padding: 24px;
	border-radius: var(--cbpm-radius-card);
	border: 1px solid rgba(3, 7, 18, 0.08);
	background: var(--cbpm-color-surface);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cbpm-timeline__card.is-active {
	transform: translateY(-4px);
	box-shadow: var(--cbpm-shadow-soft);
}

.cbpm-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0;
}

.cbpm-filter-bar__btn {
	border: 1px solid rgba(3, 7, 18, 0.12);
	border-radius: var(--cbpm-radius-pill);
	padding: 8px 16px;
	background: var(--cbpm-color-surface);
	cursor: pointer;
	font: inherit;
}

.cbpm-filter-bar__btn.is-active {
	background: var(--cbpm-color-ink);
	color: #fff;
	border-color: var(--cbpm-color-ink);
}

.cbpm-filter-empty {
	color: var(--cbpm-color-muted);
}

.cbpm-form__message--error {
	color: #b42318;
}

.cbpm-form__success-links a {
	margin-right: 12px;
}

.cbpm-button--primary {
	background: var(--cbpm-color-ink);
}

.cbpm-button--header {
	min-height: 50px;
	padding: 15px 30px;
	border-radius: 200px;
	background: var(--cbpm-color-ink);
	color: var(--cbpm-color-surface);
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
}

@media (max-width: 860px) {
	.cbpm-section__header {
		align-items: start;
		flex-direction: column;
	}

	.cbpm-site-header__inner {
		flex-wrap: wrap;
	}

	.cbpm-site-header__toggle {
		display: block;
	}

	.cbpm-site-header__nav {
		width: 100%;
	}
	.cbpm-button--case-intro ,
	.cbpm-button--cta-banner, 
	.cbpm-section--pain-points .cbpm-section__header .cbpm-button,
	.cbpm-section--why-bc .cbpm-section__actions .cbpm-button,
	input.wpcf7-form-control.wpcf7-submit.has-spinner.cbpm-button.cbpm-button--primary
	{
		width: 100%;
	}
	
	/* Full-screen mobile menu overlay (Figma 656:9195 / 656:9196) */
	.cbpm-site-header__actions {
		position: fixed;
		inset: 60px 0 0;
		z-index: 100;
		flex-basis: auto;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 24px 20px 100px;
		background: #fff;
		overflow-y: auto;
		opacity: 0;
		transform: translateX(100%);
		pointer-events: none;
		transition: transform 0.3s ease, opacity 0.25s ease;
	}

	.cbpm-site-header.is-nav-open .cbpm-site-header__actions {
		opacity: 1;
		transform: translateX(0);
		pointer-events: auto;
	}

	/* Bottom-fixed CTA */
	.cbpm-site-header__actions .cbpm-button--header {
		position: fixed;
		left: 20px;
		right: 20px;
		bottom: 20px;
		width: auto;
		align-self: auto;
		padding: 13px 26px;
		font-size: 0.875rem;
		min-height: 44px;
	}

	.cbpm-site-header__nav {
		width: 100%;
	}

	.cbpm-menu--primary {
		align-items: stretch;
		flex-direction: column;
		gap: 24px;
		width: 100%;
	}

	.cbpm-menu--primary > li > a {
		padding: 8px 0;
		font-size: 1rem;
		font-weight: 600;
		line-height: 1.26;
	}

	/* On mobile use chevron-right for submenu indicator */
	.cbpm-menu--primary .menu-item-has-children > a::after {
		margin-left: auto;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath d='M10 18L16 12L10 6' stroke='%23030712' stroke-width='1.5'/%3E%3C/svg%3E");
		width: 24px;
		height: 24px;
		transform: none;
	}

	/* When a sub is open: hide all other parent items, show only the open one with "Back" arrow */
	.cbpm-menu--primary > li.is-open ~ li,
	.cbpm-menu--primary:has(li.is-open) > li:not(.is-open) {
		display: none;
	}

	/* Show the parent-page "overview" link as the first submenu item on mobile. */
	.cbpm-menu--primary .sub-menu .cbpm-menu-overview {
		display: block;
	}

	.cbpm-menu--primary > li.is-open {
		padding-bottom: 16px;
		border-bottom: 1px solid #9ca3af;
		margin-bottom: 8px;
	}

	.cbpm-menu--primary > li.is-open > a {
		font-weight: 600;
	}

	/* Replace right chevron with left chevron (← Back) on the active parent */
	.cbpm-menu--primary > li.is-open > a::after {
		order: -1;
		margin-left: 0;
		margin-right: 6px;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath d='M14 6L8 12L14 18' stroke='%23030712' stroke-width='1.5'/%3E%3C/svg%3E");
	}

	/* Submenu shown as a list under the active parent */
	.cbpm-menu--primary .sub-menu {
		position: static;
		display: none;
		min-width: 0;
		padding: 16px 0 0;
		background: transparent;
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		gap: 24px;
	}

	.cbpm-menu--primary .sub-menu::before {
		display: none;
	}

	/* Wide (2-column desktop) submenus must collapse to the same hidden single
	   column on mobile. The base `.sub-menu.is-wide { display: block }` rule has
	   higher specificity (0,3,0) than the mobile `.sub-menu { display: none }`
	   (0,2,0), so without this same-specificity reset wide submenus stay expanded
	   until the parent is tapped. */
	.cbpm-menu--primary .sub-menu.is-wide {
		display: none;
		column-count: 1;
		column-gap: 0;
		width: auto;
		min-width: 0;
	}

	.cbpm-menu--primary > li.is-open > .sub-menu,
	.cbpm-menu--primary > li.is-open > .sub-menu.is-wide {
		display: flex;
		flex-direction: column;
		width: auto;
		min-width: 0;
		grid-template-columns: none;
	}

	.cbpm-menu--primary .sub-menu a {
		color: var(--cbpm-color-ink);
		padding: 8px 0;
		font-size: 1rem;
		font-weight: 600;
	}

	.cbpm-menu--primary .sub-menu a:hover {
		background: transparent;
	}

	.cbpm-section--hero .cbpm-container.cbpm-hero__inner {
		min-height: auto;
		padding-block: 40px 0;
		padding-inline: 20px;
		gap: 40px;
	}

	/* Mobile typography for all hero variants — Mobile/H1 36, Mobile/Subtitle2 16, Mobile/Body2 14 */
	.cbpm-section--hero .cbpm-hero__stack {
		gap: 40px;
	}

	.cbpm-section--hero .cbpm-hero__intro {
		gap: 20px;
	}

	.cbpm-section--hero .cbpm-hero__eyebrow {
		font-size: 1rem;
	}

	.cbpm-section--hero .cbpm-hero__title {
		font-size: clamp(2rem, 9vw, 2.25rem);
		line-height: 1.26;
	}

	.cbpm-section--hero .cbpm-hero__desc {
		font-size: 0.875rem;
	}

	.cbpm-section--hero .cbpm-hero__note {
		font-size: 0.875rem;
	}

	.cbpm-section--hero .cbpm-hero__buttons {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		width: 100%;
	}

	.cbpm-section--hero .cbpm-hero__buttons .cbpm-button {
		width: 100%;
		padding: 13px 26px;
		font-size: 0.875rem;
	}

	.cbpm-hero__preview {
		min-height: 220px;
	}

	/* Split — stack vertically on mobile; text centered (Figma 657-9775), image below */
	.cbpm-section--hero--split .cbpm-container.cbpm-hero__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 40px;
		padding-block: 40px;
		text-align: center;
	}

	.cbpm-section--hero--split .cbpm-hero__stack {
		max-width: none;
		align-items: center;
		text-align: center;
	}

	.cbpm-section--hero--split .cbpm-hero__intro {
		align-items: center;
	}

	.cbpm-section--hero--split .cbpm-hero__buttons {
		justify-content: stretch;
	}

	.cbpm-section--hero--split .cbpm-hero__media {
		width: 100%;
		max-width: none;
	}

	.cbpm-section--hero--split .cbpm-hero__media-frame {
		max-width: none;
		aspect-ratio: 329 / 227;
		padding: 15px;
	}

	/* Centered — keep centered, no image, tighter padding */
	.cbpm-section--hero--centered .cbpm-container.cbpm-hero__inner {
		padding-block: 40px;
	}

	/* Numbers / Trust strip — Figma 702:7230 mobile spec */
	.cbpm-trust-strip--overlap {
		padding: 40px 20px;
	}

	/* Stack stats vertically on mobile (Figma 713-24988). The chained selector
	   (0,3,0) matches the `--cols-N __inner` specificity and wins via source order,
	   collapsing any column count to a single full-width column. */
	.cbpm-trust-strip--overlap .cbpm-container.cbpm-trust-strip__inner {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.cbpm-trust-strip--overlap .cbpm-trust-card {
		border-right: 0;
		min-height: 160px;
	}

	.cbpm-trust-strip--overlap .cbpm-trust-card__value {
		font-size: 2rem;
	}

	.cbpm-trust-strip--overlap .cbpm-trust-card__label {
		font-size: 1rem;
	}

	.cbpm-section--why-bc .cbpm-section__header,
	.cbpm-section--why-bc .cbpm-section__header--stack {
		align-items: flex-start;
		flex-direction: column;
	}

	.cbpm-section--why-bc .cbpm-section__actions {
		align-items: flex-start;
		width: 100%;
	}

	.cbpm-section--why-bc .cbpm-section__title {
		font-size: clamp(1.5rem, 6vw, 2.25rem);
	}

	.cbpm-cta-banner--with-bullets {
		flex-direction: column;
		align-items: stretch;
	}

	.cbpm-cta-banner--with-bullets .cbpm-cta-banner__main {
		flex: 1 1 auto;
		max-width: none;
	}

	.cbpm-cta-banner__bullets {
		flex: 1 1 auto;
		max-width: none;
	}

	.cbpm-contact-grid,
	.cbpm-featured-material {
		grid-template-columns: 1fr;
	}

	.cbpm-site-footer__grid {
		gap: 40px;
	}

	.cbpm-site-footer__brand {
		flex-basis: 100%;
	}

	.cbpm-site-footer__menus {
		gap: 32px;
	}

	.cbpm-site-footer__bottom {
		flex-direction: row;
		align-items: flex-start;
		gap: 12px;
	}
	.cbpm-site-footer__bottom p{
		margin: 0;
	}
	.cbpm-trust-strip,
	.cbpm-trust-strip--overlap,
	.cbpm-grid--cards,
	.cbpm-grid--services,
	.cbpm-grid--team,
	.cbpm-grid--timeline,
	.cbpm-grid--migration,
	.cbpm-grid--cases,
	.cbpm-timeline {
		grid-template-columns: 1fr;
	}

	/* Block 14 — Case Studies List landscape card collapses to single column:
	   image on top (fixed aspect), text below. Tags wrap, metrics stack column
	   so each tile keeps room for its value + label. CTA pill stays full-width. */
	.cbpm-card.cbpm-card--case-study {
		padding: 40px 20px;
		border-radius: 10px;
	}

	.cbpm-card--case-study .cbpm-card__link {
		flex-direction: column;
		gap: 20px;
	}

	/* Mobile order (Figma 713-24695): text + stats on top, image with CTA below.
	   Reset the desktop `flex: 1 1 0` → `0 0 auto`: in the mobile flex COLUMN a
	   zero flex-basis collapses the body so its title/description/stats overlap
	   ("squished" bug). Auto basis lets it take its natural content height. */
	.cbpm-card--case-study .cbpm-card__body,
	.cbpm-card--case-study.cbpm-card--case-pattern-2 .cbpm-card__body,
	.cbpm-card--case-study.cbpm-card--case-pattern-4 .cbpm-card__body {
		order: 1;
		flex: 0 0 auto;
		min-height: 0;
		gap: 20px;
	}

	.cbpm-card--case-study .cbpm-card__media,
	.cbpm-card--case-study.cbpm-card--case-pattern-2 .cbpm-card__media,
	.cbpm-card--case-study.cbpm-card--case-pattern-4 .cbpm-card__media {
		order: 2;
		flex: 0 0 auto;
		min-height: 239px;
		padding: 12px;
	}

	/* Tags are omitted from the mobile card design. */
	.cbpm-card--case-study .cbpm-card__tags {
		display: none;
	}

	.cbpm-card--case-study .cbpm-card__title {
		font-size: 1.25rem;
	}

	.cbpm-card--case-study .cbpm-card__excerpt {
		font-size: 0.875rem;
	}

	/* Stats stay in a 3-up row (Figma), just tighter. */
	.cbpm-card--case-study .cbpm-card__metrics {
		flex-direction: row;
		gap: 12px;
	}

	.cbpm-card--case-study .cbpm-card__metric {
		padding: 12px;
	}

	.cbpm-card--case-study .cbpm-card__metric-value {
		font-size: 0.875rem;
		min-height: 0;
	}

	.cbpm-card--case-study .cbpm-card__metric-label {
		font-size: 0.75rem;
	}

	.cbpm-card--case-study .cbpm-card__cta {
		padding: 13px 26px;
		font-size: 0.875rem;
	}

	/* Tighter gap between section heading and the first card row on mobile (Figma
	   701-10554 shows the inner stack gap collapses from desktop 40px to ~12px). */
	.cbpm-section--services > .cbpm-container {
		gap: 12px;
	}

	.cbpm-services__row,
	.cbpm-services__row--reverse {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	/* On mobile, image ALWAYS sits above the text card — no left/right alternation
	   (Figma 701-10554 + 701-10555). Override desktop --reverse order rules. */
	.cbpm-services__row .cbpm-card--service-media,
	.cbpm-services__row--reverse .cbpm-card--service-media {
		order: 1;
		min-height: 0;
		aspect-ratio: 350 / 222;
		padding: 16px;
	}

	.cbpm-services__row .cbpm-card--service,
	.cbpm-services__row--reverse .cbpm-card--service {
		order: 2;
	}

	.cbpm-card--service-media__frame {
		max-width: 100%;
		padding: 9px;
		border-radius: 4px;
		box-shadow: 0 1px 20px rgba(0, 0, 0, 0.15);
	}

	.cbpm-section--services > .cbpm-container > h2 {
		font-size: 2rem;
		line-height: 1.26;
	}

	.cbpm-card--service h3 {
		font-size: 1.75rem;
		line-height: 1.26;
	}

	.cbpm-card--service > div {
		font-size: 1rem;
	}

	.cbpm-card--service .cbpm-button--service {
		min-height: 46px;
		padding: 13px 26px;
		font-size: 0.875rem;
	}

	.cbpm-card__metrics {
		grid-template-columns: 1fr;
	}

	/* Testimonials mobile (Figma 658-7774 / 658-7773) */
	.cbpm-section--testimonials {
		padding-block: 40px;
	}

	.cbpm-section--testimonials .cbpm-section__header {
		margin-bottom: 20px;
	}

	.cbpm-section--testimonials .cbpm-section__title,
	.cbpm-section--testimonials .cbpm-section__header h2 {
		font-size: 1.75rem;
		line-height: 1.26;
	}

	.cbpm-testimonials {
		gap: 20px;
	}

	.cbpm-testimonials > * {
		flex: 0 0 288px;
		min-height: 420px;
	}

	.cbpm-video-card {
		min-height: 420px;
	}

	.cbpm-card--testimonial {
		padding: 32px;
		gap: 32px;
	}

	.cbpm-card--testimonial__quote {
		font-size: 1rem;
	}

	.cbpm-card--testimonial footer strong {
		font-size: 1rem;
	}

	.cbpm-card--testimonial footer span {
		font-size: 0.875rem;
	}

	/* Blog teaser mobile (Figma 658-7776) — header stacks, cards become row-scroll */
	.cbpm-section--blog-teaser {
		padding-block: 40px;
	}

	.cbpm-section--blog-teaser .cbpm-section__header {
		flex-direction: column;
		align-items: stretch;
		margin-bottom: 20px;
		gap: 20px;
	}

	.cbpm-section--blog-teaser .cbpm-section__header h2 {
		font-size: clamp(1.75rem, 7vw, 2.25rem);
	}

	.cbpm-section--blog-teaser .cbpm-section__header .cbpm-button {
		align-self: stretch;
		width: 100%;
		min-height: 44px;
		padding: 13px 26px;
		font-size: 0.875rem;
	}

	.cbpm-section--blog-teaser .cbpm-grid--cards {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 12px;
		scroll-snap-type: x mandatory;
		grid-template-columns: none;
		padding-bottom: 4px;
	}

	.cbpm-section--blog-teaser .cbpm-grid--cards > * {
		flex: 0 0 288px;
		scroll-snap-align: start;
	}

	.cbpm-card--post .cbpm-card__media img {
		aspect-ratio: 288 / 213;
	}

	.cbpm-card--post .cbpm-card__body {
		padding: 28px 20px;
		gap: 20px;
	}

	.cbpm-card--post .cbpm-card__text {
		gap: 12px;
	}

	.cbpm-card--post .cbpm-card__title {
		font-size: 1rem;
	}

	.cbpm-card--post .cbpm-card__excerpt {
		font-size: 1rem;
	}

	.cbpm-card--post .cbpm-card__meta {
		font-size: 0.875rem;
	}

	.cbpm-card--post .cbpm-card__cta {
		width: 100%;
		padding: 13px 26px;
		font-size: 0.875rem;
	}

	.cbpm-case-slide {
		flex-direction: column;
		gap: 24px;
	}

	.cbpm-case-slide__content {
		max-width: none;
		min-height: 0;
		gap: 24px;
	}

	.cbpm-case-slide__stats {
		flex-wrap: wrap;
	}

	.cbpm-case-slide__stat {
		flex: 1 1 140px;
	}

	.cbpm-case-slide__media {
		flex-basis: auto;
		max-width: none;
		min-height: 280px;
	}

	.cbpm-case-carousel__nav {
		display: none;
	}

	.cbpm-case-intro {
		padding-block: 60px;
	}

	/* Header variant on mobile (Figma 713-24642): stack title above a
	   full-width dark button; tighter H2. Button width:100% already comes
	   from the .cbpm-button--case-intro mobile rule above. */
	.cbpm-case-intro--header .cbpm-case-intro__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.cbpm-case-intro--header .cbpm-case-intro__title {
		font-size: 2rem;
	}
}

/* ==========================================================================
   Block 13 — Contact Form (Figma 596:3505 + 82:371 form components)
   MUST stay at end of file: relies on cascade order to override legacy
   .cbpm-form rules at lines 806-823 and 1463-1494.
   Covers BOTH the CF7 markup AND the native fallback (<label> wraps <input>).
   ========================================================================== */

/* Local design tokens */
.cbpm-section--contact-form,
.cbpm-form {
	--cbpm-form-border: #9ca3af;
	--cbpm-form-border-hover: #6b7280;
	--cbpm-form-border-focus: #030712;
	--cbpm-form-border-error: #f87171;
	--cbpm-form-border-error-focus: #dc2626;
	--cbpm-form-placeholder: #6b7280;
	--cbpm-form-text: #030712;
	--cbpm-form-required: #dc2626;
	--cbpm-form-disabled: #9ca3af;
	--cbpm-form-cobalt-bg: #e5f3ff;
	--cbpm-form-cobalt-text: #4b50ca;
	--cbpm-form-cobalt-bg-hover: #d4eaff;
	--cbpm-form-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
	--cbpm-form-radius-input: 6px;
}

/* --- 1. Section layout ------------------------------------------------------ */
.cbpm-section--contact-form {
	padding-block: 0;
	background: #ffffff;
}

.cbpm-section--contact-form .cbpm-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 120px;
	align-items: stretch;
	padding-top: 80px;
	padding-bottom: 80px;
}

.cbpm-contact-grid__form {
	display: flex;
	flex-direction: column;
	gap: 40px;
	min-width: 0;
}

.cbpm-section--contact-form .cbpm-contact-grid__aside {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

/* --- 2. Section header ------------------------------------------------------ */
.cbpm-contact-form__title {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-weight: 600;
	font-size: 36px;
	line-height: 1.26;
	color: var(--cbpm-form-text);
}

.cbpm-contact-form__intro {
	margin: 0;
	font-family: var(--cbpm-font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.26;
	color: var(--cbpm-color-muted);
}

.cbpm-contact-form__intro > * { margin: 0 0 8px; }
.cbpm-contact-form__intro > *:last-child { margin-bottom: 0; }

/* --- 3. Form base — reset legacy chrome, set up rows/fields ---------------- */
.cbpm-section--contact-form .cbpm-form,
.cbpm-form--cf7 {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

.cbpm-form--cf7 .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
}

.cbpm-form__row {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
}

.cbpm-form__row--two {
	flex-direction: row;
}

.cbpm-form__row--two > .cbpm-form__field {
	flex: 1 1 0;
	min-width: 0;
}

.cbpm-form__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
}

.cbpm-form__field--full { width: 100%; }

/* Label — CF7 case (label is sibling of input wrap inside the <p>) */
.cbpm-form--cf7 .cbpm-form__field > label {
	display: block;
	margin: 0;
	padding: 0;
	font-family: var(--cbpm-font-display);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.26;
	color: var(--cbpm-form-text);
}

/* Label — fallback case (label wraps input; label-text + input stacked) */
.cbpm-section--contact-form .cbpm-form:not(.cbpm-form--cf7) .cbpm-form__field > label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	font-family: var(--cbpm-font-display);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.26;
	color: var(--cbpm-form-text);
}

.cbpm-form__label-text {
	display: block;
}

/* Required asterisk (inline with the label text) */
.cbpm-form__required {
	margin-left: 2px;
	font-weight: 500;
	color: var(--cbpm-form-required);
}

/* Text inputs / textarea / select — override legacy lines 1463-1494 */
.cbpm-section--contact-form .cbpm-form input[type="text"],
.cbpm-section--contact-form .cbpm-form input[type="email"],
.cbpm-section--contact-form .cbpm-form input[type="tel"],
.cbpm-section--contact-form .cbpm-form input[type="url"],
.cbpm-section--contact-form .cbpm-form input[type="number"],
.cbpm-section--contact-form .cbpm-form input[type="search"],
.cbpm-section--contact-form .cbpm-form textarea,
.cbpm-section--contact-form .cbpm-form select,
.cbpm-form--cf7 input[type="text"],
.cbpm-form--cf7 input[type="email"],
.cbpm-form--cf7 input[type="tel"],
.cbpm-form--cf7 input[type="url"],
.cbpm-form--cf7 input[type="number"],
.cbpm-form--cf7 input[type="search"],
.cbpm-form--cf7 textarea,
.cbpm-form--cf7 select {
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--cbpm-form-border);
	border-radius: var(--cbpm-form-radius-input);
	background: #ffffff;
	box-shadow: var(--cbpm-form-shadow-sm);
	font-family: var(--cbpm-font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.26;
	color: var(--cbpm-form-text);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	appearance: none;
}

.cbpm-section--contact-form .cbpm-form textarea,
.cbpm-form--cf7 textarea {
	padding: 12px 14px;
	min-height: 138px;
	resize: vertical;
}

.cbpm-section--contact-form .cbpm-form ::placeholder,
.cbpm-form--cf7 ::placeholder {
	color: var(--cbpm-form-placeholder);
	opacity: 1;
}

.cbpm-section--contact-form .cbpm-form input:hover,
.cbpm-section--contact-form .cbpm-form textarea:hover,
.cbpm-section--contact-form .cbpm-form select:hover,
.cbpm-form--cf7 input:hover,
.cbpm-form--cf7 textarea:hover,
.cbpm-form--cf7 select:hover {
	border-color: var(--cbpm-form-border-hover);
}

.cbpm-section--contact-form .cbpm-form input:focus,
.cbpm-section--contact-form .cbpm-form input:focus-visible,
.cbpm-section--contact-form .cbpm-form textarea:focus,
.cbpm-section--contact-form .cbpm-form textarea:focus-visible,
.cbpm-section--contact-form .cbpm-form select:focus,
.cbpm-section--contact-form .cbpm-form select:focus-visible,
.cbpm-form--cf7 input:focus,
.cbpm-form--cf7 input:focus-visible,
.cbpm-form--cf7 textarea:focus,
.cbpm-form--cf7 textarea:focus-visible,
.cbpm-form--cf7 select:focus,
.cbpm-form--cf7 select:focus-visible {
	outline: none;
	border-color: var(--cbpm-form-border-focus);
	box-shadow: 0 0 0 3px rgba(75, 80, 202, 0.18), var(--cbpm-form-shadow-sm);
}

.cbpm-section--contact-form .cbpm-form input:disabled,
.cbpm-section--contact-form .cbpm-form textarea:disabled,
.cbpm-section--contact-form .cbpm-form select:disabled,
.cbpm-form--cf7 input:disabled,
.cbpm-form--cf7 textarea:disabled,
.cbpm-form--cf7 select:disabled {
	color: var(--cbpm-form-disabled);
	background: #ffffff;
	box-shadow: none;
	cursor: not-allowed;
}

/* Error border (CF7 `.wpcf7-not-valid` + ARIA-invalid) */
.cbpm-form--cf7 input.wpcf7-not-valid,
.cbpm-form--cf7 textarea.wpcf7-not-valid,
.cbpm-form--cf7 select.wpcf7-not-valid,
.cbpm-section--contact-form .cbpm-form input[aria-invalid="true"],
.cbpm-section--contact-form .cbpm-form textarea[aria-invalid="true"],
.cbpm-section--contact-form .cbpm-form select[aria-invalid="true"] {
	border-color: var(--cbpm-form-border-error);
}

.cbpm-form--cf7 input.wpcf7-not-valid:focus,
.cbpm-form--cf7 textarea.wpcf7-not-valid:focus,
.cbpm-form--cf7 select.wpcf7-not-valid:focus,
.cbpm-section--contact-form .cbpm-form input[aria-invalid="true"]:focus,
.cbpm-section--contact-form .cbpm-form textarea[aria-invalid="true"]:focus,
.cbpm-section--contact-form .cbpm-form select[aria-invalid="true"]:focus {
	border-color: var(--cbpm-form-border-error-focus);
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15), var(--cbpm-form-shadow-sm);
}

/* Non-text input reset — legacy `.cbpm-form input` would stretch these */
.cbpm-section--contact-form .cbpm-form input[type="checkbox"],
.cbpm-section--contact-form .cbpm-form input[type="radio"],
.cbpm-section--contact-form .cbpm-form input[type="file"],
.cbpm-section--contact-form .cbpm-form input[type="submit"],
.cbpm-section--contact-form .cbpm-form input[type="button"],
.cbpm-form--cf7 input[type="checkbox"],
.cbpm-form--cf7 input[type="radio"],
.cbpm-form--cf7 input[type="file"],
.cbpm-form--cf7 input[type="submit"],
.cbpm-form--cf7 input[type="button"] {
	width: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
}

/* --- 4. File input — visually-hidden input + pill label -------------------- */
.cbpm-form__field--file {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	margin: 0;
}

.cbpm-form__file-input,
.cbpm-form--cf7 .cbpm-form__file-input,
.cbpm-form__field--file input[type="file"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

.cbpm-form__file-label {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: auto !important;
	max-width: max-content;
	margin: 0 !important;
	padding: 13px 26px;
	min-height: 50px;
	border-radius: 200px;
	background: var(--cbpm-form-cobalt-bg);
	color: var(--cbpm-form-cobalt-text);
	font-family: var(--cbpm-font-display);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.26;
	cursor: pointer;
	user-select: none;
	transition: background 0.15s ease;
}

.cbpm-form__file-label:hover { background: var(--cbpm-form-cobalt-bg-hover); }

/* :focus-within on the field — the input is hidden but focusable */
.cbpm-form__field--file:focus-within .cbpm-form__file-label {
	outline: 2px solid var(--cbpm-form-cobalt-text);
	outline-offset: 2px;
}

.cbpm-form__file-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	color: var(--cbpm-form-cobalt-text);
}

/* JS-injected selected-filename badge */
.cbpm-form__file-name {
	font-family: var(--cbpm-font-body);
	font-size: 14px;
	line-height: 1.26;
	color: var(--cbpm-color-muted);
	overflow-wrap: anywhere;
}

/* --- 5. Acceptance / checkbox --------------------------------------------- */
.cbpm-form__field--checkbox { margin: 0; }

.cbpm-form__field--checkbox .wpcf7-acceptance,
.cbpm-form__field--checkbox .wpcf7-list-item {
	display: block;
	margin: 0;
	padding: 0;
}

.cbpm-form__field--checkbox label,
.cbpm-form__field--checkbox .wpcf7-list-item label,
.cbpm-form__checkbox {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start;
	gap: 10px;
	margin: 0 !important;
	padding: 0;
	font-family: var(--cbpm-font-body);
	font-weight: 400 !important;
	font-size: 16px;
	line-height: 1.26;
	color: var(--cbpm-form-text);
	cursor: pointer;
}

.cbpm-section--contact-form .cbpm-form input[type="checkbox"],
.cbpm-form--cf7 input[type="checkbox"],
.cbpm-form__field--checkbox input[type="checkbox"],
.cbpm-form__checkbox-input,
.cbpm-form__checkbox input[type="checkbox"] {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	border: 1px solid #374151;
	border-radius: 2px;
	background: #ffffff;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	display: inline-grid;
	place-content: center;
	transition: background 0.15s ease, border-color 0.15s ease;
	box-shadow: none;
}

.cbpm-section--contact-form .cbpm-form input[type="checkbox"]:hover,
.cbpm-form--cf7 input[type="checkbox"]:hover,
.cbpm-form__field--checkbox input[type="checkbox"]:hover,
.cbpm-form__checkbox-input:hover,
.cbpm-form__checkbox input[type="checkbox"]:hover {
	background: #f3f4f7;
}

.cbpm-section--contact-form .cbpm-form input[type="checkbox"]:checked,
.cbpm-form--cf7 input[type="checkbox"]:checked,
.cbpm-form__field--checkbox input[type="checkbox"]:checked,
.cbpm-form__checkbox-input:checked,
.cbpm-form__checkbox input[type="checkbox"]:checked {
	background: #030712;
	border-color: #030712;
}

.cbpm-section--contact-form .cbpm-form input[type="checkbox"]:checked::before,
.cbpm-form--cf7 input[type="checkbox"]:checked::before,
.cbpm-form__field--checkbox input[type="checkbox"]:checked::before,
.cbpm-form__checkbox-input:checked::before,
.cbpm-form__checkbox input[type="checkbox"]:checked::before {
	content: "";
	display: block;
	width: 14px;
	height: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2 7.5L5.5 11L12 3.5' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.cbpm-form__field--checkbox input[type="checkbox"]:focus-visible,
.cbpm-form__checkbox-input:focus-visible,
.cbpm-form__checkbox input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--cbpm-form-cobalt-text);
	outline-offset: 2px;
}

.cbpm-form__field--checkbox label > span:not(.cbpm-form__required),
.cbpm-form__field--checkbox .wpcf7-list-item-label,
.cbpm-form__checkbox > span {
	flex: 1 1 auto;
	display: block;
}

.cbpm-form__field--checkbox a,
.cbpm-form__checkbox a {
	color: var(--cbpm-form-cobalt-text);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.15s ease;
}

.cbpm-form__field--checkbox a:hover,
.cbpm-form__checkbox a:hover {
	color: var(--cbpm-color-hero-accent);
}

.cbpm-form__field--checkbox a:focus-visible,
.cbpm-form__checkbox a:focus-visible {
	outline: 2px solid var(--cbpm-form-cobalt-text);
	outline-offset: 2px;
	border-radius: 2px;
}

/* --- 6. Submit row (button + note) ---------------------------------------- */
.cbpm-form__submit-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	margin: 0;
}

.cbpm-form__submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	margin: 0;
}

.cbpm-form__submit .cbpm-button,
.cbpm-form__submit .cbpm-button--primary,
.cbpm-form__submit input[type="submit"],
.cbpm-form__submit button[type="submit"] {
	width: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 15px 30px;
	min-height: 50px;
	border: 0;
	border-radius: 200px;
	background: var(--cbpm-color-ink) !important;
	color: #ffffff !important;
	font-family: var(--cbpm-font-display);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.26;
	cursor: pointer;
	box-shadow: none;
	transition: background 0.15s ease, opacity 0.15s ease;
}

.cbpm-form__submit .cbpm-button:hover,
.cbpm-form__submit input[type="submit"]:hover,
.cbpm-form__submit button[type="submit"]:hover {
	background: #374151;
}

.cbpm-form__submit .cbpm-button:focus-visible,
.cbpm-form__submit input[type="submit"]:focus-visible,
.cbpm-form__submit button[type="submit"]:focus-visible {
	outline: 2px solid var(--cbpm-form-cobalt-text);
	outline-offset: 3px;
}

.cbpm-form__submit .cbpm-button:disabled,
.cbpm-form__submit input[type="submit"]:disabled,
.cbpm-form__submit button[type="submit"]:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.cbpm-form__note {
	flex: 1 1 auto;
	margin: 0;
	font-family: var(--cbpm-font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.26;
	color: var(--cbpm-color-muted);
}

/* --- 7. CF7 overrides ----------------------------------------------------- */
.cbpm-form--cf7 .wpcf7-form-control-wrap {
	display: block;
	position: relative;
	width: 100%;
}

.cbpm-form--cf7 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 4px;
	font-family: var(--cbpm-font-body);
	font-weight: 400;
	font-size: 14px;
	line-height: 1.26;
	color: var(--cbpm-form-border-error);
}

.cbpm-form--cf7 .wpcf7-form-control-wrap:focus-within .wpcf7-not-valid-tip {
	color: var(--cbpm-form-border-error-focus);
}

.cbpm-form--cf7 .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	border: 1px solid var(--cbpm-form-border);
	border-radius: var(--cbpm-form-radius-input);
	font-family: var(--cbpm-font-body);
	font-size: 14px;
	line-height: 1.4;
	color: var(--cbpm-form-text);
	background: #ffffff;
}

.cbpm-form--cf7 .wpcf7 form.invalid .wpcf7-response-output,
.cbpm-form--cf7 .wpcf7 form.unaccepted .wpcf7-response-output,
.cbpm-form--cf7 .wpcf7 form.payment-required .wpcf7-response-output,
.cbpm-form--cf7 .wpcf7-response-output.wpcf7-validation-errors,
.cbpm-form--cf7 .wpcf7-response-output.wpcf7-acceptance-missing,
.cbpm-form--cf7 .wpcf7-response-output.wpcf7-spam-blocked {
	border-color: var(--cbpm-form-border-error-focus);
	color: var(--cbpm-form-border-error-focus);
	background: #fef2f2;
}

.cbpm-form--cf7 .wpcf7 form.sent .wpcf7-response-output,
.cbpm-form--cf7 .wpcf7-response-output.wpcf7-mail-sent-ok {
	border-color: #16a34a;
	color: #166534;
	background: #f0fdf4;
}

/* Spinner — simple ring animation */
.cbpm-form--cf7 .wpcf7-spinner {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin: 0;
	background: none;
	border: 2px solid rgba(75, 80, 202, 0.25);
	border-top-color: var(--cbpm-form-cobalt-text);
	border-radius: 50%;
	animation: cbpm-form-spin 0.8s linear infinite;
}

.cbpm-form--cf7 .wpcf7-form:not(.submitting) .wpcf7-spinner {
	visibility: hidden;
}

@keyframes cbpm-form-spin {
	to { transform: rotate(360deg); }
}

.cbpm-form--cf7 .wpcf7-acceptance {
	border: 0;
	background: transparent;
	padding: 0;
}

.cbpm-form--cf7 .wpcf7-list-item { margin: 0; }

.cbpm-form--cf7 .screen-reader-response {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --- 8. Aside column — direct contacts card + photos ---------------------- */
.cbpm-section--contact-form .cbpm-contact-grid__photos {
	gap: 20px;
}

.cbpm-section--contact-form .cbpm-contact-grid__photo-item,
.cbpm-section--contact-form .cbpm-contact-grid__photo-item img {
	border-radius: 20px;
}

/* Double variant — same row+stretch pattern as the popup's .cbpm-popup__images.
   Photos sit side by side and fill the remaining vertical space inside the
   aside (after the direct-contacts card takes its natural height). */
.cbpm-section--contact-form .cbpm-contact-grid__photos--double {
	display: flex;
	flex-direction: row;
	flex: 1 1 auto;
	min-height: 280px;
}

.cbpm-section--contact-form .cbpm-contact-grid__photos--double .cbpm-contact-grid__photo-item {
	flex: 1 1 0;
	min-width: 0;
	aspect-ratio: auto;
}

.cbpm-section--contact-form .cbpm-contact-grid__direct {
	/* display: flex; */
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
	flex-direction: row;
	align-items: flex-start;
	gap: 30px;
	padding: 28px;
	background: var(--cbpm-color-soft);
	border-radius: var(--cbpm-radius-card);
}

.cbpm-section--contact-form .cbpm-contact-grid__direct-intro {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 280px;
}

.cbpm-section--contact-form .cbpm-contact-grid__direct-heading {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.26;
	color: var(--cbpm-form-text);
}

.cbpm-section--contact-form .cbpm-contact-grid__direct-group {
	flex: 0 0 auto;
	font-size: 16px;
}

.cbpm-section--contact-form .cbpm-contact-grid__direct-group-label {
	font-family: var(--cbpm-font-display);
	font-weight: 600;
	color: var(--cbpm-form-text);
}

.cbpm-section--contact-form .cbpm-contact-grid__direct-list a {
	color: var(--cbpm-form-text);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.15s ease;
}

.cbpm-section--contact-form .cbpm-contact-grid__direct-list a:hover {
	color: var(--cbpm-form-cobalt-text);
}

@media (max-width: 768px) {
	.cbpm-section--contact-form .cbpm-contact-grid__direct {
		flex-direction: column;
		gap: 20px;
		padding: 28px;
	}

	.cbpm-section--contact-form .cbpm-contact-grid__direct-intro {
		max-width: none;
	}

	/* Mobile type scale per Figma 658-7909 — heading drops from Subtitle 2 (20)
	   to Mobile/Subtitle2 (16), group labels and values drop from 16 to 14,
	   and the phone/email/address values lose their underline. */
	.cbpm-section--contact-form .cbpm-contact-grid__direct-heading {
		font-size: 16px;
	}

	.cbpm-section--contact-form .cbpm-contact-grid__direct-group-label {
		font-size: 14px;
	}

	.cbpm-section--contact-form .cbpm-contact-grid__direct-list {
		font-size: 14px;
	}

	.cbpm-section--contact-form .cbpm-contact-grid__direct-list a {
		text-decoration: none;
	}
}

/* Hide per-item sublabel — group label already names the type (Phone/Office) */
.cbpm-section--contact-form .cbpm-contact-grid__direct-sublabel {
	display: none;
}

/* --- 9. Mobile responsive ------------------------------------------------- */
@media (max-width: 1024px) {
	.cbpm-section--contact-form .cbpm-contact-grid {
		gap: 60px;
	}
}

@media (max-width: 860px) {
	.cbpm-section--contact-form .cbpm-contact-grid {
		grid-template-columns: 1fr;
		gap: 40px;
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.cbpm-contact-form__title { font-size: 32px; }

	.cbpm-form__row--two {
		flex-direction: column;
		gap: 12px;
	}

	.cbpm-form__submit-row {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.cbpm-form__submit { width: 100%; }

	.cbpm-form__submit .cbpm-button,
	.cbpm-form__submit input[type="submit"],
	.cbpm-form__submit button[type="submit"] {
		width: 100%;
		padding: 13px 26px;
		font-size: 14px;
	}

	/* Hide submit chevron on mobile (Figma mobile — Icon=off on the primary button). */
	.cbpm-form__submit .cbpm-button::after,
	.cbpm-form__submit input[type="submit"]::after,
	.cbpm-form__submit button[type="submit"]::after {
		display: none;
	}

	.cbpm-form__note {
		font-size: 16px;
		color: #374151;
		text-align: center;
	}

	.cbpm-form__field--file {
		flex-direction: column;
		align-items: stretch;
	}

	.cbpm-form__file-label {
		width: 100%;
		min-height: 44px;
		padding: 11px 22px;
	}
}

@media (max-width: 480px) {
	.cbpm-contact-form__title { font-size: 24px; }
}
.cbpm-form__file-label span.cbpm-form__file-text {
    color: var(--cbpm-form-cobalt-text);
    font-size: 14px;
    min-width: 124px;
	margin-left: 26px;

}
.cbpm-form__file-label .cbpm-form__file-icon{margin-right: 26px;}
input.wpcf7-form-control.wpcf7-submit.has-spinner.cbpm-button.cbpm-button--primary {
    border-radius: 50px;
    padding: 0 30px;
}

/* ============================================================
   Contact Popup (Figma 596-3565, 596-3696)
   Triggered from .cbpm-button--header when Theme Settings →
   "Header CTA — open as popup" is enabled.
   ============================================================ */

.cbpm-popup {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.cbpm-popup.is-open {
	display: flex;
}

.cbpm-popup[hidden] {
	display: none !important;
}

.cbpm-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.cbpm-popup.is-open .cbpm-popup__backdrop {
	opacity: 1;
}

.cbpm-popup__dialog {
	position: relative;
	width: min(100%, 1280px);
	max-height: min(90vh, 900px);
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	opacity: 0;
	transform: translateY(20px) scale(0.98);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.cbpm-popup.is-open .cbpm-popup__dialog {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.cbpm-popup__close {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 2;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(243, 244, 247, 0.95);
	color: #030712;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.cbpm-popup__close:hover,
.cbpm-popup__close:focus-visible {
	background: #e5e7eb;
	transform: scale(1.05);
	outline: none;
}

.cbpm-popup__close svg {
	width: 24px;
	height: 24px;
	display: block;
}

.cbpm-popup__scroll {
	height: 100%;
	max-height: inherit;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.cbpm-popup__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	padding: 60px;
	align-items: stretch;
}

/* Aside (right column, Figma 596-3589) — images row on top + direct contacts at bottom.
   Aside stretches to match form-col height; images flex-fill the remaining space. */
.cbpm-popup__aside {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
	min-height: 0;
}

.cbpm-popup__images {
	display: flex;
	flex-direction: row;
	gap: 20px;
	flex: 1 1 auto;
	min-height: 280px;
}

.cbpm-popup__image-wrap {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
	border-radius: 20px;
	background: #f3f4f7;
}

.cbpm-popup__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Direct-contacts card inside popup keeps its own visual but lays out as column */
.cbpm-popup__aside .cbpm-contact-grid__direct {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 24px;
	padding: 28px;
	background: #f3f4f7;
	border-radius: 20px;
	align-items: stretch;
}

.cbpm-popup__aside .cbpm-contact-grid__direct-intro {
	flex: 0 0 auto;
	max-width: none;
}

.cbpm-popup__aside .cbpm-contact-grid__direct-group {
	flex: 0 0 auto;
}

/* Form column */
.cbpm-popup__form-col {
	display: flex;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}

.cbpm-popup__title {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 36px;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-popup__admin-notice {
	margin: 0;
	padding: 16px 20px;
	background: #fff4e0;
	border: 1px solid #f4b740;
	border-radius: 12px;
	color: #7a4a00;
	font-size: 14px;
}

/* CF7 form inside popup — Figma input styling overrides */
.cbpm-popup .cbpm-form--cf7 form > p,
.cbpm-popup .cbpm-form--cf7 .wpcf7-form > p {
	margin: 0 0 20px;
}

.cbpm-popup .cbpm-form--cf7 input[type="text"],
.cbpm-popup .cbpm-form--cf7 input[type="email"],
.cbpm-popup .cbpm-form--cf7 input[type="tel"],
.cbpm-popup .cbpm-form--cf7 input[type="url"],
.cbpm-popup .cbpm-form--cf7 textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #9ca3af;
	border-radius: 6px;
	background: #ffffff;
	box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
	font: inherit;
	color: #030712;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cbpm-popup .cbpm-form--cf7 input:hover,
.cbpm-popup .cbpm-form--cf7 textarea:hover {
	border-color: #6b7280;
}

.cbpm-popup .cbpm-form--cf7 input:focus,
.cbpm-popup .cbpm-form--cf7 input:focus-visible,
.cbpm-popup .cbpm-form--cf7 textarea:focus,
.cbpm-popup .cbpm-form--cf7 textarea:focus-visible {
	border-color: #030712;
	outline: none;
	box-shadow: 0 0 0 3px rgba(3, 7, 18, 0.08);
}

.cbpm-popup .cbpm-form--cf7 textarea {
	min-height: 180px;
	resize: vertical;
}

/* Process strip (Figma 596-3696) — 4 sequential step cards */
.cbpm-popup__process {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	padding: 0 50px 60px;
}

.cbpm-popup-process-card {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	gap: 16px;
	padding: 28px;
	background: #f3f4f7;
	border-radius: 20px;
	min-width: 0;
}

.cbpm-popup-process-card__title {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-popup-process-card__description {
	margin: 0;
	font-family: var(--cbpm-font-body);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.26;
	color: #030712;
}

/* Tablet (≤1024) — collapse to single column, smaller paddings */
@media (max-width: 1024px) {
	.cbpm-popup__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding: 40px;
	}

	.cbpm-popup__title {
		font-size: 28px;
	}

	.cbpm-popup__process {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 0 40px 40px;
	}

	.cbpm-popup__close {
		top: 16px;
		right: 16px;
	}
}

/* Phone (≤640) — fullscreen, single-column process */
@media (max-width: 640px) {
	.cbpm-popup {
		padding: 0;
	}

	.cbpm-popup__dialog {
		width: 100%;
		max-height: 100vh;
		max-height: 100dvh;
		height: 100%;
		border-radius: 0;
	}

	.cbpm-popup__inner {
		padding: 64px 20px 20px;
		gap: 24px;
	}

	/* Popup mobile image strip — Figma 658-7909 shows two images side by side at the
	   top of the aside (gap 12). Override the desktop flex grid with explicit flex row.
	   (The legacy `grid-template-columns: 1fr` rule was a no-op on a flex container.) */
	.cbpm-popup__images {
		display: flex;
		flex-direction: row;
		gap: 12px;
		min-height: 0;
	}

	.cbpm-popup__image-wrap {
		flex: 1 1 0;
		aspect-ratio: 175 / 222;
	}

	.cbpm-popup__title {
		font-size: 32px;
	}

	/* Direct contacts card inside popup uses the same mobile typography scale as
	   the standalone section variant (Mobile/Subtitle2 16, group label 14, list 14). */
	.cbpm-popup__aside .cbpm-contact-grid__direct {
		gap: 20px;
	}

	.cbpm-popup__aside .cbpm-contact-grid__direct-heading {
		font-size: 16px;
	}

	.cbpm-popup__aside .cbpm-contact-grid__direct-group-label {
		font-size: 14px;
	}

	.cbpm-popup__aside .cbpm-contact-grid__direct-list {
		font-size: 14px;
	}

	.cbpm-popup__aside .cbpm-contact-grid__direct-list a {
		text-decoration: none;
	}

	.cbpm-popup__process {
		grid-template-columns: minmax(0, 1fr);
		padding: 0 20px 40px;
	}

	.cbpm-popup-process-card__description {
		font-size: 16px;
	}
}

/* ============================================================
 * Block 15 — What Changed After Launch (Figma 573-5485 + 511-4726)
 * Two halves rendered inside one <section>:
 *   1. Top: H2 + 3-column "Показник / До / Після" comparison (light bg)
 *   2. Bottom: dark "Numbers" strip with stat cards separated by vertical lines
 * ============================================================ */
.cbpm-section--case-results-after-launch {
	background: #ffffff;
	padding-bottom: 0;
}

.cbpm-section--case-results-after-launch > .cbpm-container {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-bottom: 100px;
}

.cbpm-section--case-results-after-launch .cbpm-section__title {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

/* --- Comparison block (Figma 573-5485) ----------------------------------- */
.cbpm-comparison {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 21px;
	align-items: stretch;
}

.cbpm-comparison__col {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.cbpm-comparison__head {
	font-family: var(--cbpm-font-display);
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-comparison__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cbpm-comparison__row {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	min-height: 48px;
	border-radius: 10px;
	font-family: var(--cbpm-font-body);
	font-size: 1.25rem;
	font-weight: 400;
	height: 110px;
	line-height: 1.26;
	color: #030712;
	text-align: center;
	word-break: break-word;
}

/* Column 1 — labels: no card chrome, just text aligned left, fixed right padding
   so the gap before the "До" column matches Figma (60px). */
.cbpm-comparison__col--label {
	padding-right: 60px;
}

.cbpm-comparison__col--label .cbpm-comparison__head {
	padding: 28px 0;
	text-align: left;
}

.cbpm-comparison__col--label .cbpm-comparison__row {
	justify-content: flex-start;
	text-align: left;
}

.cbpm-comparison__col--label .cbpm-comparison__row:nth-child(even) {
	background: #f3f4f7;
}

/* Column 2 — "До": framed card with thicker 2px outline and gray header band. */
.cbpm-comparison__col--before {
	border: 2px solid #e5e7eb;
	border-radius: 20px;
	overflow: hidden;
}

.cbpm-comparison__col--before .cbpm-comparison__head {
	padding: 28px;
	background: #f3f4f7;
	border-bottom: 2px solid #e5e7eb;
	text-align: center;
}

.cbpm-comparison__col--before .cbpm-comparison__body {
	padding: 16px 28px 28px;
}

.cbpm-comparison__col--before .cbpm-comparison__row:nth-child(even) {
	background: #f3f4f7;
}

/* Column 3 — "Після": framed card with the same gradient we use on the CTA banner
   and a translucent-white header band. Rows alternate with a 10% Grayscale/10
   overlay (still translucent so the gradient shows through). */
.cbpm-comparison__col--after {
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 20px;
	overflow: hidden;
	background: var(--cbpm-gradient-cta);
	color: #ffffff;
}

.cbpm-comparison__col--after .cbpm-comparison__head {
	padding: 28px;
	background: rgba(255, 255, 255, 0.1);
	border-bottom: 2px solid rgba(255, 255, 255, 0.3);
	color: #ffffff;
	text-align: center;
}

.cbpm-comparison__col--after .cbpm-comparison__body {
	padding: 16px 28px 28px;
}

.cbpm-comparison__col--after .cbpm-comparison__row {
	color: #ffffff;
}

.cbpm-comparison__col--after .cbpm-comparison__row:nth-child(even) {
	background: rgba(243, 244, 247, 0.1);
}

/* --- Stats strip (Figma 511-4726) --------------------------------------- */
/* Dark full-bleed band — bg `#030712` extends to the section width, the inner
   container centers the content within the page container. Stats separated by
   a thin vertical line (Grayscale/50 `#6B7280`) — last stat has no separator. */
.cbpm-stats-strip {
	background: #030712;
	padding-block: 80px;
	color: #ffffff;
}

.cbpm-stats-strip__inner {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: center;
	height: 160px;
}

.cbpm-stats-strip__item {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 20px;
	border-right: 1px solid #6b7280;
	font-family: var(--cbpm-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.26;
	color: #ffffff;
	text-align: center;
}

.cbpm-stats-strip__item:last-child {
	border-right: 0;
}

.cbpm-stats-strip__item p,
.cbpm-stats-strip__item strong,
.cbpm-stats-strip__item span {
	margin: 0;
	color: inherit;
	font: inherit;
}

/* --- Mobile responsive (case-results) ----------------------------------- */
@media (max-width: 860px) {
	.cbpm-section--case-results-after-launch > .cbpm-container {
		gap: 24px;
	}

	.cbpm-section--case-results-after-launch .cbpm-section__title {
		font-size: 1.75rem;
	}

	/* Comparison collapses to a single column; each indicator becomes its own
	   "card" with Before / After stacked beneath. Labels stay left-aligned, the
	   gradient column keeps its visual identity by surviving as a block per row. */
	.cbpm-comparison {
		grid-template-columns: 1fr;
		column-gap: 0;
		row-gap: 16px;
	}

	.cbpm-comparison__col--label {
		padding-right: 0;
	}

	.cbpm-comparison__col--label .cbpm-comparison__head {
		padding: 0 0 8px;
		font-size: 1.5rem;
	}

	.cbpm-comparison__col--before .cbpm-comparison__head,
	.cbpm-comparison__col--after .cbpm-comparison__head {
		padding: 20px;
		font-size: 1.25rem;
	}

	.cbpm-comparison__col--before .cbpm-comparison__body,
	.cbpm-comparison__col--after .cbpm-comparison__body {
		padding: 12px 20px 20px;
	}

	.cbpm-comparison__row {
		min-height: 44px;
		padding: 10px;
		font-size: 0.9375rem;
	}

	/* Stats strip stacks vertically on mobile — vertical separators become bottom
	   borders so the rhythm carries over. */
	.cbpm-stats-strip {
		padding-block: 40px;
	}

	.cbpm-stats-strip__inner {
		flex-direction: column;
		gap: 0;
		height: auto;
	}

	.cbpm-stats-strip__item {
		padding: 24px 20px;
		border-right: 0;
		border-bottom: 1px solid #6b7280;
		font-size: 1.125rem;
	}

	.cbpm-stats-strip__item:last-child {
		border-bottom: 0;
	}
}

/* ============================================================
 * Block 22 — Subscribe (Figma 543-6807 dark / 598-5492 gradient)
 * Two ACF section_background variants share one layout:
 *   - dark   → black bg `#030712`, cobalt button `#4B50CA`
 *   - accent → CTA radial gradient bg, black button `#030712`
 * Heading left, form right (pill input + overlapping button, checkbox below).
 * ============================================================ */

/* Base — assumes a dark/gradient bg (white text). Default + dark both render
   black; the chained accent rule below swaps in the gradient. */
.cbpm-section--subscribe {
	background: #030712;
	color: #ffffff;
}

.cbpm-section--subscribe.cbpm-section--bg-accent {
	background: var(--cbpm-gradient-cta);
}

.cbpm-subscribe {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

/* Left — heading (description wysiwyg). Desktop/H3 32/600 white. */
.cbpm-subscribe__content {
	flex: 1 1 auto;
	max-width: 600px;
	min-width: 0;
}

.cbpm-subscribe__content :is(h2, h3, h4, p) {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.26;
	color: #ffffff;
}

/* Right — form column, right-aligned, gap 19 (Figma).
   Reset the generic `.cbpm-form` card chrome (white bg / border / shadow / 24px padding)
   so the form sits transparently on the dark/gradient section — only the pill input
   and button are visible, no surrounding white card. */
.cbpm-form--subscribe {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 19px;
	flex: 0 0 auto;
	width: 524px;
	max-width: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

/* Input + button row — button overlaps the pill input's right end by 40px. */
.cbpm-subscribe__row {
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 100%;
}

/* Scoped under `.cbpm-form--subscribe` (specificity 0,2,0) so it beats the generic
   `.cbpm-form input` rule (0,1,1) that would otherwise force radius 12 / 1px border /
   12px padding onto the pill. */
.cbpm-form--subscribe .cbpm-subscribe__input {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	height: 54px;
	padding: 0 56px 0 24px;
	border: 0;
	border-radius: 60px;
	background: #ffffff;
	color: #030712;
	font-family: var(--cbpm-font-body);
	font-size: 1rem;
	line-height: 1.26;
}

.cbpm-form--subscribe .cbpm-subscribe__input::placeholder {
	color: #6b7280;
}

.cbpm-form--subscribe .cbpm-subscribe__input:focus,
.cbpm-form--subscribe .cbpm-subscribe__input:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.6);
	outline-offset: 2px;
}

.cbpm-button.cbpm-button--subscribe {
	flex: 0 0 auto;
	margin-left: -40px;
	z-index: 1;
	min-height: 54px;
	padding: 15px 30px;
	border-radius: 200px;
	background: #4b50ca;
	color: #ffffff;
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
}

/* Accent (gradient) variant — button flips to black so it reads on the bright bg. */
.cbpm-section--subscribe.cbpm-section--bg-accent .cbpm-button.cbpm-button--subscribe {
	background: #030712;
	color: #ffffff;
}

/* Checkbox row — white label + white-bordered box on the dark/gradient bg. */
.cbpm-subscribe__checkbox {
	display: flex !important;
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	margin: 0 !important;
	font-family: var(--cbpm-font-body);
	font-weight: 400 !important;
	font-size: 0.875rem;
	line-height: 1.26;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
}

.cbpm-subscribe__checkbox input[type="checkbox"] {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 2px;
	background: transparent;
	cursor: pointer;
	display: inline-grid;
	place-content: center;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.cbpm-subscribe__checkbox input[type="checkbox"]:checked {
	/* background: #ffffff; */
	background: none;
	border-color: #ffffff;
}

.cbpm-subscribe__checkbox input[type="checkbox"]:checked::before {
	content: "";
	width: 12px;
	height: 12px;
	/* background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2 7.5L5.5 11L12 3.5' stroke='%23030712' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; */
}

.cbpm-subscribe__checkbox a {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cbpm-form--subscribe .cbpm-form__message {
	width: 100%;
	margin: 0;
	color: #ffffff;
}

.cbpm-subscribe__checkbox span p {
	margin: 0;
	font-size: 1rem;
}
/* Mobile (Figma 713-24740) — heading stacks over the form, but the input+button
   KEEP their overlapping row (Figma row has negative gap on mobile too). Only the
   heading font shrinks and the section/form gaps tighten. */
@media (max-width: 860px) {
	.cbpm-subscribe {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
	}

	.cbpm-subscribe__content {
		max-width: none;
	}

	.cbpm-subscribe__content :is(h2, h3, h4, p) {
		font-size: 1.75rem;
	}

	.cbpm-form--subscribe {
		width: 100%;
		align-items: stretch;
	}
}
/* ============================================================
 * Block 21 — Learning Materials (Figma 543-6489)
 * Light section, 2-up grid of white cards: cover image on top, then a
 * space-between body (badge + title + description, with a full-width black
 * pill CTA pinned to the bottom). Supports both inline + CPT data sources.
 * ============================================================ */
.cbpm-section--learning-materials {
	background: #f3f4f7;
}

.cbpm-learning__title {
	margin: 0 0 40px;
	font-family: var(--cbpm-font-display);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-learning-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.cbpm-card.cbpm-card--learning {
	display: flex;
	flex-direction: column;
	padding: 0;
	border: 0;
	box-shadow: none;
	border-radius: 20px;
	background: #ffffff;
	overflow: hidden;
}

.cbpm-card--learning__media {
	margin: 0;
	position: relative;
	aspect-ratio: 630 / 375;
	overflow: hidden;
}

.cbpm-card--learning__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.cbpm-card--learning__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	padding: 40px 28px;
}

.cbpm-card--learning__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cbpm-card--learning__badge {
	align-self: flex-start;
	padding: 6px 16px;
	border-radius: 54px;
	background: #f3f4f7;
	font-family: var(--cbpm-font-display);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-card--learning__title {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-card--learning__desc {
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.26;
	color: #030712;
}

.cbpm-card--learning__desc p {
	margin: 0 0 0.5em;
}

.cbpm-card--learning__desc p:last-child {
	margin-bottom: 0;
}

.cbpm-button.cbpm-button--learning {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	min-height: 50px;
	padding: 15px 30px;
	border-radius: 200px;
	background: #030712;
	color: #ffffff;
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
}

.cbpm-button.cbpm-button--learning::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10 18L16 12L10 6' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 24px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10 18L16 12L10 6' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 24px no-repeat;
}

/* Mobile (Figma 713-24732) — single column, image keeps aspect, tighter body. */
@media (max-width: 860px) {
	.cbpm-learning__title {
		margin-bottom: 24px;
		font-size: 2rem;
	}

	.cbpm-learning-grid {
		grid-template-columns: 1fr;
	}

	.cbpm-card--learning__body {
		gap: 20px;
		padding: 24px;
	}

	.cbpm-card--learning__title {
		font-size: 1.25rem;
	}

	.cbpm-card--learning__desc {
		font-size: 1rem;
	}
}

/* ============================================================
 * Single entry (post / webinar / learning material)
 * Centered hero (entry-hero partial reuses .cbpm-section--hero--centered)
 * + a readable content column below.
 * ============================================================ */
.cbpm-entry-hero .cbpm-hero__title {
	font-size: clamp(2rem, 3.5vw, 2.5rem);
}

.cbpm-entry__content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 820px;
	margin-inline: auto;
	padding-block: 48px 80px;
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--cbpm-color-ink);
}

.cbpm-entry__content > * {
	margin: 0;
}

.cbpm-entry__content h2,
.cbpm-entry__content h3,
.cbpm-entry__content h4 {
	margin-top: 16px;
	font-family: var(--cbpm-font-display);
	font-weight: 600;
	line-height: 1.26;
	color: var(--cbpm-color-ink);
}

.cbpm-entry__content h2 { font-size: 1.75rem; }
.cbpm-entry__content h3 { font-size: 1.5rem; }
.cbpm-entry__content h4 { font-size: 1.25rem; }

.cbpm-entry__content a {
	color: var(--cbpm-color-hero-accent, #4b50ca);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cbpm-entry__content ul,
.cbpm-entry__content ol {
	margin: 0;
	padding-left: 1.25em;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cbpm-entry__media {
	margin: 0;
	border-radius: 20px;
	overflow: hidden;
}

.cbpm-entry__media .cbpm-entry__image,
.cbpm-entry__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 20px;
}

.cbpm-entry__content .cbpm-button-row {
	margin: 0;
}

@media (max-width: 860px) {
	.cbpm-entry__content {
		padding-block: 32px 48px;
		font-size: 1rem;
	}
}

/* ============================================================
 * Single post — TOC sidebar layout + author block (Figma 713-28999)
 * ============================================================ */
.cbpm-entry--post .cbpm-entry-layout {
	display: grid;
	grid-template-columns: minmax(0, 304px) minmax(0, 845px);
	gap: 21px;
	justify-content: center;
	align-items: start;
	padding-block: 48px 80px;
}

/* Sticky table-of-contents sidebar (left). Populated by initArticleToc(). */
.cbpm-entry-toc {
	position: sticky;
	top: 100px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-right: 40px;
	align-self: start;
}

.cbpm-entry-toc:empty {
	display: none;
}

.cbpm-entry-toc__heading {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-entry-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cbpm-entry-toc__link {
	display: block;
	padding: 2px 0;
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.26;
	color: #9ca3af;
	text-decoration: none;
	border-left: 2px solid transparent;
	padding-left: 12px;
	margin-left: -14px;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.cbpm-entry-toc__link:hover {
	color: #030712;
}

.cbpm-entry-toc__link.is-active {
	color: #030712;
	border-left-color: #4b50ca;
}

/* Content column overrides the centered single-content default to a left column. */
.cbpm-entry--post .cbpm-entry__content {
	max-width: none;
	margin-inline: 0;
	padding-block: 0;
	gap: 40px;
}

.cbpm-entry__body {
	display: flex;
	flex-direction: column;
	gap: 24px;
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	line-height: 1.6;
	color: #030712;
}

.cbpm-entry__body > * {
	margin: 0;
	scroll-margin-top: 100px;
}

.cbpm-entry__body h2 {
	margin-top: 16px;
	font-family: var(--cbpm-font-display);
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-entry__body h3 {
	margin-top: 8px;
	font-family: var(--cbpm-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-entry__body img {
	border-radius: 20px;
	max-width: 100%;
	height: auto;
}

.cbpm-entry__body ul,
.cbpm-entry__body ol {
	margin: 0;
	padding-left: 1.25em;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cbpm-entry__body blockquote,
.cbpm-entry__body .wp-block-quote {
	margin: 0;
	padding: 28px;
	border-radius: 20px;
	background: #f3f4f7;
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-entry__body a {
	color: #4b50ca;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Author block (end of content) */
.cbpm-entry-author {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 24px;
	padding-top: 8px;
}

.cbpm-entry-author__avatar {
	flex: 0 0 80px;
	width: 80px;
	height: 80px;
	border-radius: 20px;
	overflow: hidden;
	background: #f3f4f7;
}

.cbpm-entry-author__avatar .cbpm-entry-author__image,
.cbpm-entry-author__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cbpm-entry-author__meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cbpm-entry-author__name {
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-entry-author__role {
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

/* Related posts (Figma 604-5309) — horizontal scroll of fixed-width 413px cards.
   Breakout (same pattern as .cbpm-benefit-scroll in Why BC): the left edge stays
   aligned to the container, the right edge stretches to the screen edge so cards
   scroll out past the container. `overflow-x: clip` on the section keeps this from
   creating a page-level horizontal scrollbar. */
.cbpm-section--related-posts {
	overflow-x: clip;
}

.cbpm-section--related-posts .cbpm-grid--cards {
	display: flex;
	flex-wrap: nowrap;
	grid-template-columns: none;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: none;
	margin-right: calc((100% - 100vw) / 2);
	padding-right: max(20px, calc((100vw - var(--cbpm-container)) / 2));
	padding-bottom: 8px;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.cbpm-section--related-posts .cbpm-grid--cards::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.cbpm-section--related-posts .cbpm-grid--cards > * {
	flex: 0 0 413px;
	width: auto;
	max-width: 85vw;
	scroll-snap-align: start;
}

/* Mobile (Figma 713-24766) — TOC moves to the top, content full width. */
@media (max-width: 860px) {
	.cbpm-entry--post .cbpm-entry-layout {
		grid-template-columns: 1fr;
		gap: 24px;
		padding-block: 32px 48px;
	}

	.cbpm-entry-toc {
		position: static;
		top: auto;
		padding-right: 0;
		padding-bottom: 24px;
		border-bottom: 1px solid #e5e7eb;
	}

	.cbpm-entry-toc__heading {
		font-size: 1.25rem;
	}

	.cbpm-entry-toc__link {
		font-size: 0.875rem;
	}

	.cbpm-entry__body {
		font-size: 1rem;
	}

	.cbpm-entry__body h2 {
		font-size: 1.5rem;
	}

	.cbpm-entry__body h3 {
		font-size: 1.25rem;
	}

	/* Related posts mobile (Figma 713-24767) — same horizontal scroll, smaller
	   288px cards + tighter gap. (Base already sets the flex scroll behaviour.) */
	.cbpm-section--related-posts .cbpm-grid--cards {
		gap: 12px;
		padding-bottom: 4px;
	}

	.cbpm-section--related-posts .cbpm-grid--cards > * {
		flex-basis: 288px;
		max-width: 80vw;
	}
}

/* ============================================================
 * Article body — Gutenberg Columns + media blocks (Figma 713-28999 two-up rows)
 * Lets editors place "text | text" or "text | image" side by side using the
 * native WordPress Columns block. Stacks to one column on mobile.
 * ============================================================ */
.cbpm-entry__body .wp-block-columns {
	display: flex;
	flex-direction: row;
	gap: 32px;
	align-items: center;
	margin: 0;
}

.cbpm-entry__body .wp-block-column {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cbpm-entry__body .wp-block-image {
	margin: 0;
}

.cbpm-entry__body .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 20px;
}

/* Native Gutenberg quote / pullquote render as the grey callout card too. */
.cbpm-entry__body .wp-block-quote,
.cbpm-entry__body .wp-block-pullquote {
	margin: 0;
	padding: 28px;
	border: 0;
	border-radius: 20px;
	background: #f3f4f7;
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-entry__body .wp-block-quote p,
.cbpm-entry__body .wp-block-pullquote p {
	margin: 0;
	font: inherit;
	color: inherit;
}

@media (max-width: 860px) {
	.cbpm-entry__body .wp-block-columns {
		flex-direction: column;
		gap: 20px;
		align-items: stretch;
	}
	.cbpm-section--contact-form .cbpm-contact-grid__direct,
	.cbpm-popup__aside .cbpm-contact-grid__direct {
		grid-template-columns: 1fr;
	}
	
}

/* ============================================================
 * Block 16 — Team (Figma 576-7293 / mobile 713-24928)
 * Gray section, white cards: photo on top + quote + person name/role.
 * Desktop = 3-up grid; mobile = horizontal scroll of 288px cards.
 * ============================================================ */
.cbpm-section--team {
	background: #f3f4f7;
}

.cbpm-section--team > .cbpm-container {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.cbpm-section--team .cbpm-section__header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 0;
}

.cbpm-section--team .cbpm-section__header h2 {
	margin: 0;
	font-family: var(--cbpm-font-display);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-section--team .cbpm-section__header > div {
	max-width: 646px;
	font-family: var(--cbpm-font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.26;
	color: #374151;
}

.cbpm-section--team .cbpm-section__header > div p {
	margin: 0;
}

.cbpm-team-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.cbpm-card.cbpm-card--team {
	display: flex;
	flex-direction: column;
	padding: 0;
	border: 0;
	box-shadow: none;
	border-radius: 20px;
	background: #ffffff;
	overflow: hidden;
}

.cbpm-card--team__media {
	margin: 0;
	aspect-ratio: 413 / 410;
	overflow: hidden;
}

.cbpm-card--team__media img,
.cbpm-card--team__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.cbpm-card--team__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 28px;
}

.cbpm-card--team__quote {
	font-family: var(--cbpm-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-card--team__quote p {
	margin: 0;
}

.cbpm-card--team__person {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cbpm-card--team__name {
	font-family: var(--cbpm-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.26;
	color: #030712;
}

.cbpm-card--team__role {
	font-family: var(--cbpm-font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.26;
	color: #374151;
}

/* Mobile (Figma 713-24928) — horizontal scroll of 288px cards; section + heading scale down. */
@media (max-width: 860px) {
	.cbpm-section--team > .cbpm-container {
		gap: 20px;
	}

	.cbpm-section--team .cbpm-section__header h2 {
		font-size: 2rem;
	}

	.cbpm-section--team .cbpm-section__header > div {
		font-size: 1rem;
	}

	.cbpm-team-grid {
		display: flex;
		flex-wrap: nowrap;
		grid-template-columns: none;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
		margin-right: calc((100% - 100vw) / 2);
		padding-right: max(20px, calc((100vw - var(--cbpm-container)) / 2));
		padding-bottom: 4px;
	}

	.cbpm-team-grid::-webkit-scrollbar {
		display: none;
	}

	.cbpm-card.cbpm-card--team {
		flex: 0 0 288px;
		max-width: 85vw;
		scroll-snap-align: start;
	}

	.cbpm-card--team__media {
		aspect-ratio: 288 / 213;
	}

	.cbpm-card--team__body {
		padding: 28px 20px;
	}
}
