/**
 * Buildzair Partners — public company profile (/company/{slug}).
 *
 * Everything is scoped under .bzpp so theme styles can't reshape the page
 * and these styles never leak into the theme. Logical properties
 * throughout: the same file serves Arabic (RTL) and French (LTR).
 *
 * Brand tokens: change the --bzpp-* values below to retheme the page.
 */

.bzpp {
	--bzpp-primary: #06CE78;
	--bzpp-primary-hover: #05B86A;
	--bzpp-primary-soft: #E6FAF1;
	/* Text on the green (white on #06CE78 is too faint to read). */
	--bzpp-primary-ink: #04301C;
	/* Green for text and links on white. */
	--bzpp-primary-text: #037D47;
	--bzpp-accent: #07cf79;
	--bzpp-accent-soft: #e3f9ef;
	--bzpp-whatsapp: #1fa855;
	--bzpp-navy: #0d2147;
	--bzpp-navy-2: #15306a;
	--bzpp-ink: #142039;
	--bzpp-muted: #5b6880;
	--bzpp-line: #e3e8f1;
	--bzpp-surface: #f5f7fb;
	--bzpp-card: #ffffff;
	--bzpp-radius: 16px;
	--bzpp-radius-sm: 10px;

	background: var(--bzpp-surface);
	color: var(--bzpp-ink);
	font-size: 15px;
	line-height: 1.65;
	padding-block: 32px 48px;
	width: 100%;
	overflow-wrap: anywhere;
}

/* ---------- Scoped reset (theme-proofing) ---------- */

.bzpp *,
.bzpp *::before,
.bzpp *::after {
	box-sizing: border-box;
}

.bzpp h1,
.bzpp h2,
.bzpp h3,
.bzpp p,
.bzpp ul,
.bzpp figure {
	margin: 0;
	padding: 0;
}

.bzpp ul {
	list-style: none;
}

.bzpp a {
	color: inherit;
	text-decoration: none;
}

.bzpp img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}

.bzpp :focus-visible {
	outline: 3px solid color-mix(in srgb, var(--bzpp-primary) 45%, transparent);
	outline-offset: 2px;
	border-radius: 6px;
}

.bzpp-icon {
	flex: none;
	width: 20px;
	height: 20px;
}

.bzpp-container {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 16px;
}

/* User content carries dir="auto" so mixed French / Arabic punctuation
   renders in the right order, but it stays aligned with the page. */
[dir="rtl"] .bzpp [dir="auto"] {
	text-align: right;
}

[dir="ltr"] .bzpp [dir="auto"],
html:not([dir]) .bzpp [dir="auto"] {
	text-align: left;
}

/* ---------- Notices ---------- */

.bzpp-notice {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	align-items: baseline;
	padding: 12px 16px;
	margin-block-end: 16px;
	border-radius: var(--bzpp-radius-sm);
	background: #fff6e0;
	border: 1px solid #f3dca2;
	color: #7a5600;
	font-size: 14px;
}

.bzpp-notice--preview,
.bzpp-notice--owner {
	background: var(--bzpp-primary-soft);
	border-color: #b5ecd2;
	color: var(--bzpp-primary-ink);
}

.bzpp-notice--owner {
	align-items: center;
}

.bzpp .bzpp-notice-link {
	margin-inline-start: auto;
	padding: 7px 14px;
	border-radius: 8px;
	background: var(--bzpp-primary);
	color: var(--bzpp-primary-ink);
	font-weight: 700;
	text-decoration: none;
}

.bzpp .bzpp-notice-link:hover {
	background: var(--bzpp-primary-hover);
	color: var(--bzpp-primary-ink);
}

.bzpp-notice strong {
	font-weight: 700;
}

/* ---------- Hero: the drawing sheet ---------- */

.bzpp-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-radius: calc(var(--bzpp-radius) + 4px);
	padding: 40px;
	color: #fff;
	background-color: var(--bzpp-navy);
	/* Blueprint grid: fine 24px cells, a stronger line every 5th cell, and a
	   soft glow of the brand blue from the leading top corner. */
	background-image:
		radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--bzpp-primary) 45%, transparent) 0%, transparent 55%),
		linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 100% 100%, 120px 120px, 120px 120px, 24px 24px, 24px 24px;
	background-position: 0 0, -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}

[dir="rtl"] .bzpp-hero {
	background-image:
		radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--bzpp-primary) 45%, transparent) 0%, transparent 55%),
		linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
}

.bzpp-hero--cover {
	background-image:
		linear-gradient(to top, rgba(13, 33, 71, 0.96) 0%, rgba(13, 33, 71, 0.78) 45%, rgba(13, 33, 71, 0.35) 100%),
		var(--bzpp-cover);
	background-size: cover, cover;
	background-position: center, center;
	padding-block-start: 160px;
}

[dir="rtl"] .bzpp-hero--cover {
	background-image:
		linear-gradient(to top, rgba(13, 33, 71, 0.96) 0%, rgba(13, 33, 71, 0.78) 45%, rgba(13, 33, 71, 0.35) 100%),
		var(--bzpp-cover);
}

.bzpp-hero-body {
	display: flex;
	align-items: center;
	gap: 28px;
}

.bzpp-logo {
	flex: none;
	width: 112px;
	height: 112px;
	border-radius: 22px;
	background: #fff;
	padding: 14px;
	display: grid;
	place-items: center;
	box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}

.bzpp-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.bzpp-logo--initial {
	background: var(--bzpp-primary);
	color: var(--bzpp-primary-ink);
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
}

.bzpp-identity {
	min-width: 0;
}

.bzpp .bzpp-name {
	color: #fff;
	font-size: clamp(28px, 4.2vw, 46px);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.bzpp-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin-block-start: 10px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
}

.bzpp-meta li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.bzpp-meta .bzpp-icon {
	width: 18px;
	height: 18px;
	opacity: 0.85;
}

.bzpp-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-block-start: 16px;
}

.bzpp-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 12px 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.bzpp-badge::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bzpp-dot, var(--bzpp-accent));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--bzpp-dot, var(--bzpp-accent)) 30%, transparent);
}

/* ---------- Buttons ---------- */

.bzpp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-block-start: 32px;
	padding-block-start: 24px;
	border-block-start: 1px solid rgba(255, 255, 255, 0.12);
}

.bzpp .bzpp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: var(--bzpp-radius-sm);
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.bzpp .bzpp-btn:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.bzpp .bzpp-btn--primary {
	background: var(--bzpp-primary);
	border-color: var(--bzpp-primary);
	color: var(--bzpp-primary-ink);
	font-weight: 700;
}

.bzpp .bzpp-btn--primary:hover {
	background: var(--bzpp-primary-hover);
	border-color: var(--bzpp-primary-hover);
	color: var(--bzpp-primary-ink);
}

.bzpp .bzpp-btn--whatsapp {
	background: var(--bzpp-whatsapp);
	border-color: var(--bzpp-whatsapp);
}

.bzpp .bzpp-btn--whatsapp:hover {
	background: #188f47;
	border-color: #188f47;
}

.bzpp .bzpp-btn:active {
	transform: translateY(1px);
}

.bzpp .bzpp-btn[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}

/* ---------- Layout ---------- */

.bzpp-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 24px;
	align-items: start;
	margin-block-start: 24px;
}

.bzpp-main,
.bzpp-aside {
	display: grid;
	gap: 24px;
	min-width: 0;
}

.bzpp-aside {
	position: sticky;
	inset-block-start: 24px;
}

.bzpp-card {
	background: var(--bzpp-card);
	border: 1px solid var(--bzpp-line);
	border-radius: var(--bzpp-radius);
	padding: 28px;
}

.bzpp .bzpp-h2 {
	color: var(--bzpp-ink);
	font-size: 19px;
	line-height: 1.3;
	font-weight: 700;
	margin-block-end: 14px;
}

.bzpp-prose p {
	margin-block-end: 0.9em;
	max-width: 72ch;
}

.bzpp-prose p:last-child {
	margin-block-end: 0;
}

.bzpp-prose a {
	color: var(--bzpp-primary-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bzpp-prose ul,
.bzpp-prose ol {
	padding-inline-start: 1.3em;
	margin-block-end: 0.9em;
	list-style: revert;
}

.bzpp-muted {
	color: var(--bzpp-muted);
}

/* Mission / vision */

.bzpp-pair {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}

.bzpp-statement-icon {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--bzpp-primary-soft);
	color: var(--bzpp-primary-text);
	margin-block-end: 14px;
}

.bzpp-statement p {
	color: var(--bzpp-muted);
}

/* Products / services */

.bzpp-offer {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 28px 40px;
}

.bzpp-checklist {
	display: grid;
	gap: 10px;
}

.bzpp-checklist li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.bzpp-checklist .bzpp-icon {
	width: 22px;
	height: 22px;
	padding: 3px;
	margin-block-start: 1px;
	border-radius: 50%;
	background: var(--bzpp-accent-soft);
	color: #05a862;
	stroke-width: 2.6;
}

/* Products (structured) */

.bzpp-products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}

.bzpp-product {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--bzpp-line);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}

.bzpp-product-media {
	aspect-ratio: 4 / 3;
	background: var(--bzpp-surface);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.bzpp-product-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.bzpp-zoom {
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

.bzpp-zoom:hover img,
.bzpp-zoom:focus-visible img {
	transform: scale(1.1);
}

.bzpp-gallery a {
	cursor: zoom-in;
}

/* Image viewer (assets/js/profile.js) */

.bzpp-noscroll,
.bzpp-noscroll body {
	overflow: hidden;
}

.bzpp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 64px;
	align-items: center;
	background: rgba(8, 17, 38, 0.92);
	padding: 24px 8px;
}

.bzpp-lightbox[hidden] {
	display: none;
}

.bzpp-lightbox__figure {
	grid-column: 2;
	margin: 0;
	display: grid;
	justify-items: center;
	gap: 12px;
	max-height: 100%;
}

.bzpp-lightbox__figure img {
	max-width: 100%;
	max-height: calc(100vh - 120px);
	width: auto;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
	background: #fff;
}

.bzpp-lightbox__figure figcaption {
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
}

.bzpp-lightbox button {
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	font: inherit;
}

.bzpp-lightbox button:hover {
	background: rgba(255, 255, 255, 0.25);
}

.bzpp-lightbox__close {
	position: absolute;
	inset-block-start: 16px;
	inset-inline-end: 16px;
	width: 44px;
	height: 44px;
	font-size: 18px;
}

.bzpp-lightbox__nav {
	width: 48px;
	height: 48px;
	font-size: 30px;
	line-height: 1;
	justify-self: center;
}

.bzpp-lightbox__nav[hidden] {
	display: none;
}

.bzpp-lightbox__prev {
	grid-column: 1;
	grid-row: 1;
}

.bzpp-lightbox__next {
	grid-column: 3;
	grid-row: 1;
}

[dir="rtl"] .bzpp-lightbox__prev,
[dir="rtl"] .bzpp-lightbox__next {
	transform: scaleX(-1);
}

@media (max-width: 640px) {
	.bzpp-lightbox {
		grid-template-columns: 0 minmax(0, 1fr) 0;
		padding: 56px 8px 24px;
	}

	.bzpp-lightbox__nav {
		position: absolute;
		inset-block-end: 20px;
	}

	.bzpp-lightbox__prev {
		inset-inline-start: 20px;
	}

	.bzpp-lightbox__next {
		inset-inline-end: 20px;
	}
}

.bzpp-product-noimg {
	color: #b3bfd1;
}

.bzpp-product-noimg .bzpp-icon {
	width: 40px;
	height: 40px;
}

.bzpp-product-body {
	display: grid;
	gap: 6px;
	padding: 14px 16px 16px;
}

.bzpp .bzpp-product-name {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--bzpp-ink);
}

.bzpp .bzpp-product-price {
	color: var(--bzpp-primary-text);
	font-weight: 800;
	font-size: 16px;
	font-variant-numeric: tabular-nums;
}

.bzpp .bzpp-product-price.is-quote {
	color: var(--bzpp-muted);
	font-weight: 600;
	font-size: 14px;
}

.bzpp .bzpp-product-desc {
	color: var(--bzpp-muted);
	font-size: 14px;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Industries */

.bzpp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bzpp-chips li {
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--bzpp-surface);
	border: 1px solid var(--bzpp-line);
	font-size: 14px;
	font-weight: 500;
}

/* Gallery */

.bzpp-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 150px;
	gap: 10px;
}

.bzpp-gallery a {
	display: block;
	overflow: hidden;
	border-radius: 12px;
	background: var(--bzpp-surface);
}

.bzpp-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.bzpp-gallery a:hover img {
	transform: scale(1.04);
}

.bzpp-gallery--1 {
	grid-template-columns: 1fr;
	grid-auto-rows: 340px;
}

.bzpp-gallery--2 {
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: 240px;
}

/* 3: one large + two stacked. */
.bzpp-gallery--3 a:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

/* 4: even 2 x 2. */
.bzpp-gallery--4 {
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: 200px;
}

/* 5: one large + four around it. */
.bzpp-gallery--5 {
	grid-template-columns: repeat(4, 1fr);
}

.bzpp-gallery--5 a:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

/* Videos */

.bzpp-videos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.bzpp-video {
	display: grid;
	gap: 8px;
}

.bzpp-video-thumb {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	background-color: var(--bzpp-navy);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.bzpp-video-play {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: var(--bzpp-navy);
	transition: transform 0.15s ease;
}

.bzpp-video-play .bzpp-icon {
	fill: currentColor;
	margin-inline-start: 3px;
}

.bzpp-video:hover .bzpp-video-play {
	transform: scale(1.08);
}

.bzpp-video-title {
	font-weight: 600;
	font-size: 14px;
}

/* Downloads */

.bzpp-docs {
	display: grid;
	gap: 10px;
}

.bzpp-docs a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	border: 1px solid var(--bzpp-line);
	border-radius: 12px;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.bzpp-docs a:hover {
	border-color: var(--bzpp-primary);
	background: var(--bzpp-primary-soft);
}

.bzpp-doc-icon {
	position: relative;
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 48px;
	border-radius: 8px;
	background: var(--bzpp-surface);
	color: var(--bzpp-muted);
}

.bzpp-doc-icon em {
	position: absolute;
	inset-block-end: 4px;
	inset-inline: 0;
	text-align: center;
	font-style: normal;
	font-size: 9px;
	font-weight: 800;
	color: var(--bzpp-primary-text);
}

.bzpp-doc-icon .bzpp-icon {
	margin-block-end: 8px;
}

.bzpp-doc-text {
	flex: 1;
	min-width: 0;
	display: grid;
}

.bzpp-doc-text strong {
	font-weight: 600;
}

.bzpp-doc-text small {
	color: var(--bzpp-muted);
	font-size: 13px;
}

.bzpp-doc-dl {
	flex: none;
	color: var(--bzpp-primary-text);
}

/* ---------- Sidebar ---------- */

.bzpp-contact-list {
	display: grid;
	gap: 16px;
}

.bzpp-contact-list > li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.bzpp-contact-list > li > span:last-child {
	display: grid;
	min-width: 0;
}

.bzpp-contact-list small {
	color: var(--bzpp-muted);
	font-size: 12.5px;
	line-height: 1.4;
}

.bzpp-contact-list a {
	font-weight: 600;
	color: var(--bzpp-ink);
	unicode-bidi: plaintext;
	text-align: start;
}

.bzpp-contact-list a:hover {
	color: var(--bzpp-primary-text);
}

.bzpp-ci {
	flex: none;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--bzpp-primary-soft);
	color: var(--bzpp-primary-text);
}

.bzpp-ci--whatsapp {
	background: #e2f6ea;
	color: var(--bzpp-whatsapp);
}

.bzpp-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-block-start: 20px;
	padding-block-start: 20px;
	border-block-start: 1px solid var(--bzpp-line);
}

.bzpp-socials a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--bzpp-line);
	color: var(--bzpp-muted);
	transition: color 0.15s ease, border-color 0.15s ease;
}

.bzpp-socials a:hover {
	color: var(--bzpp-primary-text);
	border-color: var(--bzpp-primary);
}

.bzpp-map-card {
	padding: 0;
	overflow: hidden;
}

.bzpp .bzpp-map-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 20px 24px 16px;
}

.bzpp-map-title .bzpp-icon {
	color: var(--bzpp-primary-text);
}

.bzpp-map {
	display: block;
	width: 100%;
	height: 260px;
	border: 0;
	border-block: 1px solid var(--bzpp-line);
	background: var(--bzpp-surface);
	z-index: 0;
}

.bzpp-map .leaflet-container,
.bzpp .leaflet-container {
	font: inherit;
}

.bzpp-map-body {
	display: grid;
	gap: 14px;
	padding: 18px 24px 22px;
}

.bzpp-map-address {
	color: var(--bzpp-ink);
	font-weight: 500;
}

.bzpp .bzpp-btn--block {
	width: 100%;
	min-height: 48px;
}

.bzpp-map-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 12px;
}

.bzpp-map-link,
.bzpp-map-only {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--bzpp-primary-text);
	font-weight: 600;
	font-size: 14px;
}

.bzpp-map-only {
	padding: 16px 20px;
}

.bzpp-map-coords {
	color: var(--bzpp-muted);
	font-size: 12.5px;
	font-variant-numeric: tabular-nums;
}

/* ---------- Contact form ---------- */

.bzpp-contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 40px;
	margin-block-start: 24px;
	scroll-margin-block-start: 24px;
}

.bzpp-contact-intro p {
	color: var(--bzpp-muted);
	max-width: 36ch;
}

.bzpp-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.bzpp-field {
	display: grid;
	gap: 6px;
	align-content: start;
}

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

.bzpp-field label {
	font-size: 14px;
	font-weight: 600;
}

.bzpp-req {
	color: #e5484d;
}

.bzpp .bzpp-field input,
.bzpp .bzpp-field textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--bzpp-line);
	border-radius: var(--bzpp-radius-sm);
	background: var(--bzpp-surface);
	color: var(--bzpp-ink);
	font: inherit;
	font-size: 15px;
	box-shadow: none;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.bzpp .bzpp-field textarea {
	min-height: 140px;
	resize: vertical;
}

.bzpp .bzpp-field input:focus,
.bzpp .bzpp-field textarea:focus {
	outline: none;
	border-color: var(--bzpp-primary);
	background: #fff;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--bzpp-primary) 18%, transparent);
}

.bzpp-submit {
	justify-self: start;
	min-width: 200px;
}

.bzpp-alert {
	padding: 12px 16px;
	border-radius: var(--bzpp-radius-sm);
	margin-block-end: 16px;
	font-weight: 600;
}

.bzpp-alert--success {
	background: var(--bzpp-accent-soft);
	color: #04794a;
}

.bzpp-alert--error {
	background: #fdecec;
	color: #b4232a;
}

/* Honeypot (FormGuard) */
.bzpp .bzp-hp-field {
	position: absolute !important;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Back link ---------- */

.bzpp-back {
	margin-block-start: 28px;
}

.bzpp-back a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--bzpp-primary-text);
	font-weight: 600;
}

[dir="rtl"] .bzpp-back .bzpp-icon {
	transform: scaleX(-1);
}

/* ---------- Responsive ---------- */

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

	.bzpp-aside {
		position: static;
	}

	.bzpp-contact {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}
}

@media (max-width: 640px) {
	.bzpp {
		padding-block: 16px 32px;
	}

	.bzpp-hero {
		padding: 24px 20px;
		border-radius: var(--bzpp-radius);
	}

	.bzpp-hero--cover {
		padding-block-start: 110px;
	}

	.bzpp-hero-body {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}

	.bzpp-logo {
		width: 84px;
		height: 84px;
		border-radius: 18px;
		padding: 10px;
	}

	.bzpp-actions {
		margin-block-start: 22px;
		padding-block-start: 18px;
	}

	.bzpp .bzpp-btn {
		flex: 1 1 calc(50% - 5px);
	}

	.bzpp .bzpp-actions .bzpp-btn--primary {
		flex-basis: 100%;
	}

	.bzpp-card {
		padding: 20px;
	}

	.bzpp-main,
	.bzpp-aside,
	.bzpp-layout {
		gap: 16px;
	}

	.bzpp-form {
		grid-template-columns: 1fr;
	}

	.bzpp-submit {
		justify-self: stretch;
	}

	.bzpp-gallery,
	.bzpp-gallery--4,
	.bzpp-gallery--5 {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 120px;
	}

	.bzpp-gallery--1 {
		grid-template-columns: 1fr;
		grid-auto-rows: 220px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bzpp *,
	.bzpp *::before,
	.bzpp *::after {
		transition: none !important;
	}
}

/* ---------- Link to the platform service ---------- */

.bzpp .bzpp-product-name a {
	color: inherit;
	text-decoration: none;
}

.bzpp .bzpp-product-name a:hover {
	color: var(--bzpp-primary-text);
	text-decoration: underline;
}

.bzpp .bzpp-product-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	justify-self: start;
	margin-block-start: 4px;
	color: var(--bzpp-primary-text);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.bzpp .bzpp-product-link svg {
	width: 15px;
	height: 15px;
}

.bzpp .bzpp-product-link:hover {
	text-decoration: underline;
}

/* ---------- Owner bar (bottom of the page, never under the header) ---------- */

.bzpp-ownerbar {
	position: sticky;
	bottom: 16px;
	z-index: 20;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin-block: 24px 8px;
	padding: 12px 14px 12px 18px;
	border: 1px solid #b5ecd2;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 30px -12px rgba(13, 33, 71, 0.35);
}

.bzpp-ownerbar > span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--bzpp-primary-ink);
}

.bzpp-ownerbar svg {
	width: 22px;
	height: 22px;
	color: var(--bzpp-primary-text);
}

.bzpp .bzpp-ownerbar .bzpp-btn {
	border-color: var(--bzpp-primary);
}

/* ---------- Catalogue ---------- */

.bzpp .bzpp-catalogue {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	padding: 18px 20px;
	border: 1px solid #b5ecd2;
	border-radius: var(--bzpp-radius);
	background: var(--bzpp-primary-soft);
	color: var(--bzpp-primary-ink);
	text-decoration: none;
}

.bzpp-catalogue-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: #fff;
	color: var(--bzpp-primary-text);
}

.bzpp-catalogue-text {
	display: grid;
	flex: 1 1 200px;
}

.bzpp-catalogue-text small {
	color: var(--bzpp-muted);
}
