/* ==========================================================================
   Pergolux – main stylesheet
   RTL-first, written with logical properties. Brand colors come from the
   Customizer as CSS variables (see inc/assets.php).
   ========================================================================== */

/* 1. Fonts (self-hosted, OFL) ---------------------------------------------- */
@font-face {
	font-family: "Heebo";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url("../fonts/heebo-hebrew.woff2") format("woff2");
	unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
	font-family: "Heebo";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url("../fonts/heebo-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "EB Garamond";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/ebgaramond-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Tokens ------------------------------------------------------------------ */
:root {
	--px-primary: #0a7a72;
	--px-heading: #08605a;
	--px-accent: #1fa89b;
	--px-dark: #1f2a2a;
	--px-light: #eaf5f4;
	--px-text: #22302f;
	--px-soft: #f8f9f8;

	--px-primary-strong: color-mix(in srgb, var(--px-primary) 80%, #000);
	--px-primary-soft: color-mix(in srgb, var(--px-primary) 10%, #fff);
	--px-accent-bright: color-mix(in srgb, var(--px-accent) 78%, #fff);
	--px-accent-text: color-mix(in srgb, var(--px-accent) 72%, #000);
	--px-accent-glow: color-mix(in srgb, var(--px-accent) 60%, #3ff0e0);
	--px-muted: #5f6b6a;
	--px-border: #dce6e4;
	--px-input-border: #d9e2e1;

	--px-radius: 18px;
	--px-radius-md: 14px;
	--px-radius-sm: 8px;
	--px-shadow-sm: 0 4px 18px rgba(12, 38, 39, 0.07);
	--px-shadow: 0 12px 32px rgba(12, 38, 39, 0.1);
	--px-shadow-lg: 0 24px 54px rgba(12, 38, 39, 0.16);

	--px-font: "Heebo", "Assistant", "Segoe UI", Arial, sans-serif;
	--px-font-logo: "EB Garamond", Georgia, "Times New Roman", serif;

	--px-container: 1240px;
	--px-gutter: clamp(16px, 4vw, 32px);
	--px-content: 760px;
	--px-header-h: 64px;
	--px-section-y: clamp(28px, 3.1vw, 44px);
	--px-logo-width: 170px;
	--px-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 1024px) {
	:root {
		--px-header-h: 76px;
	}
}

/* 3. Base ------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--px-header-h) + 16px);
}

body {
	margin: 0;
	font-family: var(--px-font);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--px-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

body.px-locked {
	overflow: hidden;
}

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

svg {
	flex-shrink: 0;
}

a {
	color: var(--px-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s;
}

a:hover {
	color: var(--px-primary-strong);
}

:focus-visible {
	outline: 3px solid var(--px-accent);
	outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--px-font);
	color: var(--px-heading);
	line-height: 1.25;
	font-weight: 700;
	margin: 0 0 0.6em;
}

p {
	margin: 0 0 1em;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.px-skip-link {
	position: absolute;
	top: -80px;
	inset-inline-start: 16px;
	z-index: 3000;
	padding: 10px 18px;
	border-radius: var(--px-radius-sm);
	background: #fff;
	color: var(--px-heading);
	font-weight: 600;
	box-shadow: var(--px-shadow);
	transition: top 0.2s;
}

.px-skip-link:focus {
	top: 12px;
}

.px-main:focus {
	outline: none;
}

/* 4. Layout ----------------------------------------------------------------- */
.px-container {
	width: 100%;
	max-width: calc(var(--px-container) + 2 * var(--px-gutter));
	margin-inline: auto;
	padding-inline: var(--px-gutter);
}

.px-container--narrow {
	max-width: calc(880px + 2 * var(--px-gutter));
}

.px-section {
	position: relative;
	padding-block: var(--px-section-y);
	overflow-x: clip;
}

.px-space-compact {
	padding-block: calc(var(--px-section-y) * 0.6);
}

.px-space-large {
	padding-block: calc(var(--px-section-y) * 1.35);
}

.px-space-none {
	padding-block: 0;
}

.px-bg-white {
	background: #fff;
}

.px-bg-light {
	background: var(--px-light);
}

.px-bg-soft {
	background: var(--px-soft);
}

.px-bg-dark {
	isolation: isolate;
	background: var(--px-dark);
	color: rgba(255, 255, 255, 0.86);
}

.px-bg-dark::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: url("../images/slats.webp") center / cover no-repeat;
	opacity: 0.14;
}

.px-bg-dark .px-section-head__title,
.px-bg-dark h2,
.px-bg-dark h3 {
	color: #fff;
}

.px-bg-dark .px-section-head__subtitle {
	color: rgba(255, 255, 255, 0.78);
}

/* Two neighbouring sections with the same background share the spacing. */
.px-section.px-bg-white:has(+ .px-section.px-bg-white),
.px-section.px-bg-light:has(+ .px-section.px-bg-light),
.px-section.px-bg-soft:has(+ .px-section.px-bg-soft) {
	padding-bottom: calc(var(--px-section-y) * 0.5);
}

.px-section.px-bg-white + .px-section.px-bg-white,
.px-section.px-bg-light + .px-section.px-bg-light,
.px-section.px-bg-soft + .px-section.px-bg-soft {
	padding-top: 0;
}

.px-section-head {
	max-width: 780px;
	margin: 0 auto clamp(16px, 1.8vw, 24px);
	text-align: center;
}

.px-section-head .px-eyebrow + .px-section-head__title {
	margin-top: 0;
}

.px-section-head__title {
	margin: 0;
	font-size: clamp(1.7rem, 1.15rem + 2vw, 2.7rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--px-heading);
}

/* Two-tone titles: words wrapped in *asterisks* in the editor. */
.px-hl {
	color: var(--px-primary);
}

.px-bg-dark .px-hl,
.px-hero .px-hl,
.px-banner .px-hl,
.px-page-hero .px-hl {
	color: var(--px-accent-glow);
}

.px-section-head__subtitle {
	margin: 0.3em 0 0;
	font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
	color: var(--px-text);
}

/* Small label above titles. */
.px-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: var(--px-accent-text);
}

.px-eyebrow::before,
.px-section-head .px-eyebrow::after {
	content: "";
	width: 24px;
	height: 2px;
	border-radius: 2px;
	background: var(--px-accent);
}

.px-section-head .px-eyebrow {
	justify-content: center;
}

.px-bg-dark .px-eyebrow {
	color: var(--px-accent-bright);
}

.px-section-head--line-above::before,
.px-section-head--line-both::before,
.px-section-head--line-below .px-section-head__title::after,
.px-section-head--line-both .px-section-head__title::after,
.px-line {
	content: "";
	display: block;
	width: 58px;
	height: 3px;
	margin: 0 auto 12px;
	border-radius: 3px;
	background: var(--px-accent);
}

.px-section-head--line-below .px-section-head__title::after,
.px-section-head--line-both .px-section-head__title::after {
	margin: 12px auto 0;
}

.px-line--light {
	background: rgba(255, 255, 255, 0.85);
}

.px-section-cta {
	margin-top: clamp(18px, 2.4vw, 28px);
	text-align: center;
}

.px-empty-note {
	padding: 24px;
	border: 2px dashed var(--px-border);
	border-radius: var(--px-radius-md);
	text-align: center;
	color: var(--px-muted);
}

/* 5. Buttons ---------------------------------------------------------------- */
.px-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.7em;
	min-height: 52px;
	padding: 0.65em 1.6em;
	border: 1.5px solid transparent;
	border-radius: var(--px-radius-sm);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.px-btn .px-icon {
	transition: transform 0.25s var(--px-ease);
}

.px-btn:hover .px-icon--arrow-left {
	transform: translateX(-4px);
}

.px-btn:hover .px-icon--arrow-right {
	transform: translateX(4px);
}

.px-btn--primary {
	background: var(--px-primary);
	border-color: color-mix(in srgb, var(--px-primary) 70%, #fff);
	color: #fff;
}

.px-btn--primary:hover {
	background: var(--px-primary-strong);
	color: #fff;
	box-shadow: 0 8px 22px color-mix(in srgb, var(--px-primary) 35%, transparent);
}

.px-btn--ghost {
	background: rgba(12, 22, 28, 0.32);
	border-color: rgba(255, 255, 255, 0.78);
	color: #fff;
	backdrop-filter: blur(3px);
}

.px-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: #fff;
	color: #fff;
}

.px-btn--outline {
	background: transparent;
	border-color: var(--px-primary);
	color: var(--px-primary);
}

.px-btn--outline:hover {
	background: var(--px-primary);
	color: #fff;
}

.px-btn--outline-light {
	background: transparent;
	border-color: var(--px-accent);
	color: #fff;
}

.px-btn--outline-light .px-icon {
	color: var(--px-accent-bright);
}

.px-btn--outline-light:hover {
	background: var(--px-primary);
	border-color: var(--px-primary);
	color: #fff;
}

.px-btn--outline-light:hover .px-icon {
	color: #fff;
}

.px-btn--light {
	background: #fff;
	color: var(--px-heading);
}

.px-btn--light:hover {
	background: var(--px-light);
	color: var(--px-heading);
}

.px-btn--block {
	display: flex;
	width: 100%;
}

/* 6. Header ----------------------------------------------------------------- */
.px-header {
	position: relative;
	z-index: 100;
	background: var(--px-dark);
	color: #fff;
	transition: box-shadow 0.3s;
}

.px-has-sticky-header .px-header {
	position: sticky;
	top: 0;
}

.admin-bar.px-has-sticky-header .px-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar.px-has-sticky-header .px-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar.px-has-sticky-header .px-header {
		top: 0;
	}
}

.px-header.is-scrolled {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.px-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
	min-height: var(--px-header-h);
}

.px-menu-toggle,
.px-header__spacer {
	justify-self: start;
}

.px-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border: 0;
	background: none;
	color: #fff;
	font-size: 1.05rem;
	cursor: pointer;
}

.px-menu-toggle__icon {
	display: inline-flex;
	flex-direction: column;
	gap: 6px;
	width: 28px;
}

.px-menu-toggle__icon span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: var(--px-accent-bright);
	transition: transform 0.3s, opacity 0.3s;
}

.px-menu-toggle:hover .px-menu-toggle__icon span:nth-child(2) {
	transform: scaleX(0.7);
	transform-origin: right;
}

.px-header__cta {
	justify-self: end;
	min-height: 46px;
	padding: 0.5em 1.35em;
	font-size: 1rem;
	font-weight: 500;
}

.px-logo {
	justify-self: center;
	display: inline-flex;
	color: #fff;
	text-decoration: none;
}

.px-logo:hover {
	color: #fff;
}

.px-logo__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: 1;
	color: inherit;
}

.px-logo__name {
	font-family: var(--px-font-logo);
	font-size: clamp(1.9rem, 1.45rem + 1.4vw, 2.75rem);
	font-weight: 500;
	line-height: 0.92;
	letter-spacing: -0.02em;
	color: #fff;
}

.px-logo__tagline {
	margin-top: 6px;
	font-size: clamp(0.62rem, 0.58rem + 0.2vw, 0.78rem);
	font-weight: 500;
	letter-spacing: 0.01em;
	color: rgba(255, 255, 255, 0.86);
	white-space: nowrap;
}

/* Information bar above the header. */
.px-topbar {
	background: color-mix(in srgb, var(--px-dark) 78%, #000);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.86rem;
	line-height: 1.4;
}

.px-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 34px;
}

.px-topbar__info,
.px-topbar__actions {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.px-topbar li,
.px-topbar__actions > a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.px-topbar a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
}

.px-topbar a:hover {
	color: #fff;
}

.px-topbar .px-icon {
	color: var(--px-accent-bright);
}

.px-topbar__phone {
	font-weight: 700;
	color: #fff !important;
}

.px-topbar__social {
	gap: 4px;
}

.px-topbar__social a {
	width: 28px;
	height: 28px;
	background: transparent;
}

.px-topbar__social .px-icon {
	width: 15px;
	height: 15px;
	color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1023px) {
	.px-topbar {
		display: none;
	}
}

/* Uploaded logo: the set width, scaled down to fit the header height (no empty margins). */
.px-logo__img {
	display: block;
	width: min(var(--px-logo-width), 46vw, calc((var(--px-header-h) - 14px) * var(--px-logo-ratio, 3)));
	height: auto;
}

/* Inline (desktop) menu option */
.px-header__nav {
	display: none;
}

@media (min-width: 1100px) {
	.px-header-inline .px-header__inner {
		grid-template-columns: auto 1fr auto;
	}

	.px-header-inline .px-menu-toggle {
		display: none;
	}

	.px-header-inline .px-logo {
		justify-self: start;
	}

	.px-header-inline .px-logo__inner {
		align-items: flex-start;
	}

	.px-header-inline .px-header__nav {
		display: block;
		justify-self: center;
	}
}

.px-inline-menu,
.px-inline-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.px-inline-menu {
	display: flex;
	gap: clamp(16px, 2vw, 32px);
}

.px-inline-menu > li {
	position: relative;
}

.px-inline-menu a {
	display: block;
	padding: 10px 0;
	color: rgba(255, 255, 255, 0.86);
	font-weight: 500;
	text-decoration: none;
}

.px-inline-menu a:hover,
.px-inline-menu .current-menu-item > a,
.px-inline-menu .current-menu-ancestor > a {
	color: #fff;
}

.px-inline-menu > li > a::after {
	content: "";
	display: block;
	height: 2px;
	margin-top: 4px;
	background: var(--px-accent-bright);
	transform: scaleX(0);
	transition: transform 0.25s var(--px-ease);
}

.px-inline-menu > li > a:hover::after,
.px-inline-menu > .current-menu-item > a::after {
	transform: scaleX(1);
}

.px-inline-menu .sub-menu {
	position: absolute;
	top: 100%;
	inset-inline-start: -18px;
	z-index: 20;
	min-width: 230px;
	padding: 10px;
	border-radius: var(--px-radius-md);
	background: #fff;
	box-shadow: var(--px-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
}

.px-inline-menu li:hover > .sub-menu,
.px-inline-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.2s, transform 0.2s;
}

.px-inline-menu .sub-menu a {
	padding: 9px 12px;
	border-radius: var(--px-radius-sm);
	color: var(--px-text);
}

.px-inline-menu .sub-menu a:hover {
	background: var(--px-light);
	color: var(--px-primary);
}

@media (max-width: 599px) {
	.px-header__cta {
		width: 46px;
		min-height: 46px;
		padding: 0;
		border-radius: 50%;
	}

	.px-header__cta span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}
}

@media (max-width: 380px) {
	.px-menu-toggle__label {
		display: none;
	}
}

/* 7. Off-canvas menu --------------------------------------------------------- */
.px-offcanvas {
	position: fixed;
	inset: 0;
	z-index: 1000;
}

.px-offcanvas[hidden] {
	display: none;
}

.px-offcanvas__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 16, 16, 0.55);
	opacity: 0;
	transition: opacity 0.35s;
}

.px-offcanvas__panel {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	display: flex;
	flex-direction: column;
	width: min(420px, 90vw);
	padding: 18px clamp(20px, 4vw, 30px) 28px;
	overflow-y: auto;
	background: var(--px-dark);
	color: #fff;
	box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
	transform: translateX(100%);
	transition: transform 0.36s var(--px-ease);
}

[dir="ltr"] .px-offcanvas__panel {
	transform: translateX(-100%);
}

.px-offcanvas.is-open .px-offcanvas__backdrop {
	opacity: 1;
}

.px-offcanvas.is-open .px-offcanvas__panel {
	transform: none;
}

.px-offcanvas__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 16px;
	margin-bottom: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.px-offcanvas .px-logo {
	justify-self: auto;
}

.px-offcanvas .px-logo__inner {
	align-items: flex-start;
}

.px-offcanvas .px-logo__name {
	font-size: 2rem;
}

.px-offcanvas__close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: var(--px-radius-sm);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	cursor: pointer;
}

.px-offcanvas__close:hover {
	background: rgba(255, 255, 255, 0.14);
}

.px-nav,
.px-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.px-nav > li {
	position: relative;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.px-nav a {
	display: block;
	padding: 14px 0;
	padding-inline-end: 52px;
	color: #fff;
	font-size: 1.2rem;
	font-weight: 500;
	text-decoration: none;
}

.px-nav a:hover,
.px-nav .current-menu-item > a {
	color: var(--px-accent-bright);
}

.px-submenu-toggle {
	position: absolute;
	top: 8px;
	inset-inline-end: 0;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: var(--px-radius-sm);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	cursor: pointer;
}

.px-submenu-toggle svg {
	transition: transform 0.25s;
}

.px-submenu-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.px-nav .sub-menu {
	display: none;
	padding-inline-start: 14px;
	padding-bottom: 10px;
}

.px-nav li.is-open > .sub-menu {
	display: block;
}

.px-nav .sub-menu a {
	padding-block: 8px;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.78);
}

.px-offcanvas__foot {
	display: grid;
	gap: 20px;
	margin-top: auto;
	padding-top: 28px;
}

/* 8. Hero ------------------------------------------------------------------- */
.px-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: #13232b;
	color: #fff;
}

.px-hero--medium {
	--px-hero-h: clamp(440px, 50vw, 580px);
}

.px-hero--large {
	--px-hero-h: clamp(440px, 44vw, 620px);
}

.px-hero--full {
	--px-hero-h: calc(100svh - var(--px-header-h));
}

.px-hero__stage {
	position: relative;
	display: grid;
}

.px-hero__slide {
	position: relative;
	grid-area: 1 / 1;
	display: flex;
	align-items: center;
	min-height: var(--px-hero-h, 600px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.9s var(--px-ease), visibility 0s linear 0.9s;
}

.px-hero__slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.9s var(--px-ease), visibility 0s;
}

.px-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.05);
	transition: transform 8s linear;
}

.px-hero__slide.is-active .px-hero__bg {
	transform: scale(1);
}

.px-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to top, rgba(8, 20, 24, 0.78) 0%, rgba(8, 20, 24, 0.45) 14%, rgba(8, 20, 24, 0) 34%),
		linear-gradient(
			to left,
			rgba(10, 24, 30, calc(var(--px-overlay, 0.45) + 0.32)) 0%,
			rgba(10, 24, 30, calc(var(--px-overlay, 0.45) + 0.14)) 30%,
			rgba(10, 24, 30, calc(var(--px-overlay, 0.45) * 0.45)) 55%,
			rgba(10, 24, 30, 0) 80%
		);
}

[dir="ltr"] .px-hero__overlay,
.px-hero__slide--end .px-hero__overlay {
	transform: scaleX(-1);
}

[dir="ltr"] .px-hero__slide--end .px-hero__overlay {
	transform: none;
}

.px-hero__slide--center .px-hero__overlay {
	background: rgba(14, 26, 36, calc(var(--px-overlay, 0.35) + 0.12));
}

.px-hero__inner {
	position: relative;
	padding-block: 40px 110px;
}

.px-hero__content {
	max-width: 620px;
}

.px-hero__slide--end .px-hero__content {
	margin-inline-start: auto;
}

.px-hero__slide--center .px-hero__content {
	margin-inline: auto;
	text-align: center;
}

/* Small pill above the title: "עיצוב · איכות · ..." */
.px-hero__badge {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin-bottom: 16px;
	padding: 8px 18px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	background: rgba(8, 22, 26, 0.38);
	backdrop-filter: blur(6px);
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.92);
}

.px-hero__badge-sep {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--px-accent-glow);
}

.px-hero__title {
	margin: 0 0 0.32em;
	font-size: clamp(2.3rem, 1.25rem + 4vw, 4.4rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.22);
}

.px-hero__text {
	margin: 0 0 1.25em;
	font-size: clamp(1.08rem, 0.98rem + 0.45vw, 1.35rem);
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

/* Selling points under the text (the .px-checklist list, light on the photo). */
.px-hero .px-hero__points {
	max-width: 600px;
	margin: 0 0 1.7em;
	gap: 10px 26px;
}

.px-hero .px-hero__points li {
	font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.06rem);
	font-weight: 500;
	color: #fff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.px-hero .px-hero__points .px-icon {
	background: var(--px-accent-glow);
	color: #0d2226;
}

/* Two columns that keep each point on one line when there is room. */
@media (min-width: 600px) {
	.px-hero .px-hero__points {
		grid-template-columns: repeat(2, minmax(0, max-content));
	}
}

.px-hero__slide--center .px-hero__points {
	justify-content: center;
	margin-inline: auto;
	text-align: start;
}

.px-hero__actions {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: min(100%, 330px);
}

.px-hero__slide--center .px-hero__actions {
	margin-inline: auto;
}

.px-hero__actions .px-btn {
	min-height: 56px;
	font-size: 1.1rem;
}

/* Glowing aqua edge on the main call to action (as in the design). */
.px-hero .px-btn--primary {
	border-color: var(--px-accent-glow);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--px-accent-glow) 40%, transparent), 0 12px 30px rgba(0, 0, 0, 0.25);
}

.px-hero .px-btn--primary:hover {
	box-shadow: 0 0 0 1px var(--px-accent-glow), 0 0 28px color-mix(in srgb, var(--px-accent-glow) 45%, transparent);
}

.px-hero__slide.is-active .px-hero__content > * {
	animation: px-fade-up 0.9s var(--px-ease) both;
}

.px-hero__slide.is-active .px-hero__content > :nth-child(2) {
	animation-delay: 0.1s;
}

.px-hero__slide.is-active .px-hero__content > :nth-child(3) {
	animation-delay: 0.2s;
}

.px-hero__slide.is-active .px-hero__content > :nth-child(4) {
	animation-delay: 0.3s;
}

.px-hero__slide.is-active .px-hero__content > :nth-child(5) {
	animation-delay: 0.4s;
}

@keyframes px-fade-up {
	from {
		opacity: 0;
		transform: translateY(22px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* Out-of-focus foliage in the foreground corners. */
.px-hero__leaves {
	position: relative;
	z-index: 2;
	grid-area: 1 / 1;
	overflow: hidden;
	pointer-events: none;
}

.px-hero__leaf {
	position: absolute;
	height: auto;
	max-width: none;
}

.px-hero__leaf--top {
	top: -70px;
	inset-inline-end: -110px;
	width: clamp(260px, 28vw, 460px);
	filter: blur(6px);
	opacity: 0.92;
	transform: scaleX(-1) rotate(8deg);
	-webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
}

.px-hero__leaf--bottom {
	bottom: -60px;
	inset-inline-end: -70px;
	width: clamp(180px, 17vw, 290px);
	filter: blur(3px);
	opacity: 0.9;
}

/* Dots (start side) and the benefits strip (end side) share the bottom edge of the photo. */
.px-hero__nav {
	z-index: 3;
	grid-area: 1 / 1;
	align-self: end;
	display: flex;
	align-items: center;
	gap: 16px;
	padding-bottom: 34px;
	pointer-events: none;
}

.px-hero__dots {
	display: flex;
	gap: 12px;
	pointer-events: auto;
}

.px-hero__dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.px-hero__dot:hover {
	transform: scale(1.15);
}

.px-hero__dot.is-active {
	border-color: var(--px-accent-glow);
	background: transparent;
	transform: scale(1.2);
}

.px-hero__strip-wrap {
	z-index: 3;
	grid-area: 1 / 1;
	align-self: end;
	padding-bottom: 26px;
	pointer-events: none;
}

.px-hero__strip {
	display: flex;
	justify-content: flex-end;
	margin: 0;
	padding: 0;
	list-style: none;
}

.px-hero__strip-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding-inline: clamp(16px, 2.2vw, 34px);
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.35;
	text-align: center;
	color: #fff;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.px-hero__strip-item + .px-hero__strip-item {
	border-inline-start: 1px solid rgba(255, 255, 255, 0.35);
}

.px-hero__strip-icon {
	width: 30px;
	height: 30px;
	color: #fff;
	filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35));
}

@media (max-width: 1100px) and (min-width: 768px) {
	.px-hero__strip-item {
		padding-inline: 14px;
		font-size: 0.84rem;
	}
}

@media (max-width: 767px) {
	.px-hero__slide {
		align-items: flex-end;
	}

	.px-hero__slide .px-hero__overlay {
		background: linear-gradient(
			to top,
			rgba(14, 26, 36, calc(var(--px-overlay, 0.35) + 0.5)) 0%,
			rgba(14, 26, 36, calc(var(--px-overlay, 0.35) + 0.15)) 55%,
			rgba(14, 26, 36, calc(var(--px-overlay, 0.35) * 0.3)) 100%
		);
		transform: none;
	}

	.px-hero__slide--end .px-hero__content {
		margin-inline-start: 0;
	}

	.px-hero__inner {
		padding-block: 72px 52px;
	}

	.px-hero__badge {
		margin-bottom: 16px;
		padding: 6px 14px;
		font-size: 0.8rem;
	}

	.px-hero__actions {
		width: 100%;
		max-width: 360px;
	}

	.px-hero__nav {
		padding-bottom: 24px;
	}

	/* On phones the strip becomes a dark bar under the photo. */
	.px-hero__strip-wrap {
		grid-area: 2 / 1;
		padding: 0;
		background: var(--px-dark);
	}

	.px-hero__strip {
		justify-content: space-between;
		padding-block: 14px;
	}

	.px-hero__strip-item {
		flex: 1 1 0;
		gap: 6px;
		padding-inline: 6px;
		font-size: 0.76rem;
		text-shadow: none;
	}

	.px-hero__strip-item + .px-hero__strip-item {
		border-color: rgba(255, 255, 255, 0.14);
	}

	.px-hero__strip-icon {
		width: 24px;
		height: 24px;
		color: var(--px-accent-glow);
		filter: none;
	}

	.px-hero__leaf--top {
		top: -50px;
		inset-inline-end: -80px;
		width: 210px;
	}

	.px-hero__leaf--bottom {
		display: none;
	}
}

/* Wide screens: with the text on the start side the strip sits beside it, so less room is needed below. */
@media (min-width: 1024px) {
	.px-hero__slide--start .px-hero__inner {
		padding-bottom: 76px;
	}
}

/* 9. Services cards ---------------------------------------------------------- */

/* Right under the hero: closer to it, with a larger heading. */
.px-hero + .px-services {
	padding-top: clamp(18px, 1.8vw, 26px);
}

.px-hero + .px-services .px-section-head__title {
	font-size: clamp(2rem, 1.35rem + 2.2vw, 3.4rem);
}

.px-hero + .px-services .px-section-head__subtitle {
	font-size: clamp(1.1rem, 1rem + 0.4vw, 1.4rem);
}
.px-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(10px, 1.3vw, 18px);
}

@media (min-width: 900px) {
	.px-cards--cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.px-cards--cols-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.px-card {
	position: relative;
	isolation: isolate;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--px-radius);
	background: #12302f;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.75), 0 14px 32px rgba(12, 38, 39, 0.13);
	transition: transform 0.35s var(--px-ease), box-shadow 0.35s var(--px-ease);
}

.px-card__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.px-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--px-ease);
}

/* Teal-tinted fade (not plain black) – as in the design. */
.px-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgba(2, 42, 46, 0.96) 0%, rgba(2, 42, 46, 0.72) 24%, rgba(2, 42, 46, 0) 56%);
}

.px-card__body {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: clamp(14px, 1.6vw, 20px) clamp(14px, 1.6vw, 22px);
}

.px-card__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.px-card__title {
	font-size: clamp(1.02rem, 0.88rem + 0.55vw, 1.4rem);
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.px-card__excerpt {
	display: block;
	max-height: 0;
	overflow: hidden;
	font-size: 0.9rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.85);
	opacity: 0;
	transition: max-height 0.4s var(--px-ease), opacity 0.3s, margin 0.3s;
}

.px-card__arrow {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--px-primary);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
	color: #fff;
	transition: transform 0.3s var(--px-ease), background-color 0.3s, box-shadow 0.3s;
}

@media (hover: hover) and (min-width: 900px) {
	.px-card:hover .px-card__excerpt,
	.px-card:focus-visible .px-card__excerpt {
		max-height: 4.5em;
		margin-top: 6px;
		opacity: 1;
	}
}

.px-card:hover {
	color: #fff;
	transform: translateY(-4px);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.75), var(--px-shadow-lg);
}

.px-card:hover .px-card__img {
	transform: scale(1.06);
}

.px-card:hover .px-card__arrow {
	background: var(--px-accent);
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--px-accent) 30%, transparent);
	transform: translateX(-5px);
}

/* 10. Features --------------------------------------------------------------- */
.px-features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 900px) {
	.px-features--cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.px-features--cols-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.px-feature {
	padding: 6px clamp(12px, 2vw, 30px);
	text-align: center;
}

.px-feature__icon {
	display: inline-grid;
	place-items: center;
	margin-bottom: 10px;
	color: var(--px-primary);
	transition: transform 0.35s var(--px-ease), background-color 0.3s, color 0.3s;
}

/* Large clean line icon (default, as in the design). */
.px-features--icon-plain .px-feature__icon svg {
	width: clamp(46px, 3.8vw, 58px);
	height: auto;
}

.px-features--icon-plain .px-feature:hover .px-feature__icon {
	transform: translateY(-4px);
}

.px-features--icon-plain .px-feature__title {
	color: var(--px-primary);
}

/* Icon in a soft circle. */
.px-features--icon-circle .px-feature__icon {
	width: clamp(72px, 6.4vw, 88px);
	height: clamp(72px, 6.4vw, 88px);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 12px 28px rgba(10, 122, 114, 0.12);
}

.px-bg-white .px-features--icon-circle .px-feature__icon {
	background: var(--px-light);
	box-shadow: none;
}

.px-features--icon-circle .px-feature:hover .px-feature__icon {
	background: var(--px-primary);
	color: #fff;
	transform: translateY(-4px);
}

.px-features--icon-circle .px-feature__icon svg {
	width: 46%;
	height: auto;
}

.px-feature__title {
	margin: 0 0 0.35em;
	font-size: clamp(1.12rem, 1rem + 0.45vw, 1.35rem);
	font-weight: 800;
	color: var(--px-heading);
}

.px-feature__text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--px-muted);
}

.px-features--dividers .px-feature:nth-child(even) {
	border-inline-start: 1px solid var(--px-border);
}

@media (min-width: 900px) {
	.px-features--dividers .px-feature:nth-child(even) {
		border-inline-start: 0;
	}

	.px-features--dividers.px-features--cols-2 .px-feature:not(:nth-child(2n + 1)),
	.px-features--dividers.px-features--cols-3 .px-feature:not(:nth-child(3n + 1)),
	.px-features--dividers.px-features--cols-4 .px-feature:not(:nth-child(4n + 1)) {
		border-inline-start: 1px solid var(--px-border);
	}
}

.px-features--cards {
	gap: clamp(14px, 2vw, 24px);
}

.px-features--cards .px-feature {
	padding: 34px 22px;
	border-radius: var(--px-radius);
	background: #fff;
	box-shadow: var(--px-shadow-sm);
}

.px-bg-white .px-features--cards .px-feature {
	background: var(--px-light);
	box-shadow: none;
}

.px-bg-dark .px-feature__title {
	color: #fff;
}

.px-bg-dark .px-feature__text {
	color: rgba(255, 255, 255, 0.75);
}

.px-bg-dark .px-feature__icon {
	color: var(--px-accent-bright);
}

/* 11. Banner ------------------------------------------------------------------ */
.px-banner {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: var(--px-banner-h, 300px);
	overflow: hidden;
	background: #003943;
	color: #fff;
	text-align: center;
}

.px-banner--compact {
	--px-banner-h: 220px;
}

.px-banner--normal {
	--px-banner-h: clamp(230px, 18vw, 290px);
}

.px-banner--tall {
	--px-banner-h: clamp(380px, 32vw, 480px);
}

/* Branded background: 3D louvers + foliage on the sides, soft teal glow in the centre. */
.px-banner--slats {
	background: radial-gradient(ellipse 52% 95% at 50% 42%, #0a5960 0%, #034650 46%, #003943 78%);
}

.px-banner__wing {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: -1;
	width: min(46%, 720px);
	background-repeat: no-repeat;
	background-size: cover;
	pointer-events: none;
}

.px-banner__wing--start {
	right: 0;
	background-image: url("../images/banner-wing-end.webp");
	background-position: right center;
	-webkit-mask-image: linear-gradient(to left, #000 42%, transparent 100%);
	mask-image: linear-gradient(to left, #000 42%, transparent 100%);
}

.px-banner__wing--end {
	left: 0;
	background-image: url("../images/banner-wing-start.webp");
	background-position: left center;
	-webkit-mask-image: linear-gradient(to right, #000 42%, transparent 100%);
	mask-image: linear-gradient(to right, #000 42%, transparent 100%);
}

.px-banner__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.px-banner__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(0, 22, 26, var(--px-overlay, 0.45));
}

.px-banner__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(28px, 3vw, 40px);
}

.px-banner__title {
	margin: 0 0 0.3em;
	font-size: clamp(1.7rem, 1.1rem + 2.3vw, 2.8rem);
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
}

.px-banner__text {
	margin: 0;
	font-size: clamp(1.05rem, 1rem + 0.3vw, 1.3rem);
	color: rgba(255, 255, 255, 0.9);
}

.px-banner__items {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: clamp(16px, 1.8vw, 24px) 0 0;
	padding: 0;
	list-style: none;
}

.px-banner__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	min-width: 160px;
	padding: 4px clamp(18px, 3.6vw, 54px);
	font-size: 1rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.92);
}

.px-banner__item + .px-banner__item {
	border-inline-start: 1px solid rgba(255, 255, 255, 0.28);
}

.px-banner__item-icon {
	width: 34px;
	height: 34px;
	color: #fff;
}

.px-banner__actions {
	margin-top: 20px;
}

@media (max-width: 600px) {
	.px-banner__wing {
		width: 34%;
		opacity: 0.85;
	}

	.px-banner__item {
		flex: 1 1 0;
		min-width: 0;
		padding-inline: 8px;
		font-size: 0.84rem;
	}

	.px-banner__item-icon {
		width: 28px;
		height: 28px;
	}
}

/* 12. Carousel + projects ------------------------------------------------------ */
.px-carousel {
	--px-per-view: 1.2;
	--px-gap: 14px;
	position: relative;
}

@media (min-width: 600px) {
	.px-carousel {
		--px-per-view: 2.2;
	}
}

@media (min-width: 900px) {
	.px-carousel {
		--px-per-view: 3;
		--px-gap: 18px;
	}
}

@media (min-width: 1200px) {
	.px-carousel--projects {
		--px-per-view: 4;
	}
}

.px-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--px-per-view) - 1) * var(--px-gap)) / var(--px-per-view));
	gap: var(--px-gap);
	padding-block: 4px 14px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.px-carousel__track::-webkit-scrollbar {
	display: none;
}

.px-carousel__track:focus-visible {
	outline-offset: 4px;
}

.px-carousel__slide {
	min-width: 0;
	scroll-snap-align: start;
}

.px-carousel__btn {
	position: absolute;
	top: calc(50% - 7px);
	z-index: 2;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--px-primary);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.px-carousel__btn:hover {
	background: var(--px-primary);
	color: #fff;
}

.px-carousel__btn--prev {
	inset-inline-start: -16px;
}

.px-carousel__btn--next {
	inset-inline-end: -16px;
}

.px-carousel.is-static .px-carousel__btn {
	display: none;
}

@media (max-width: 599px) {
	.px-carousel__btn {
		display: none;
	}
}

.px-project {
	position: relative;
	margin: 0;
}

.px-project.is-hidden {
	display: none;
}

.px-project__link {
	position: relative;
	display: block;
	aspect-ratio: 6 / 5;
	overflow: hidden;
	border-radius: var(--px-radius-md);
	background: #e7ebe9;
	color: #fff;
}

.px-project__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--px-ease);
}

.px-project__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
	padding: 16px 18px;
	background: linear-gradient(to top, rgba(0, 22, 24, 0.84), rgba(0, 22, 24, 0.18) 48%, rgba(0, 22, 24, 0) 64%);
	transition: opacity 0.3s;
}

.px-project--hover .px-project__overlay {
	opacity: 0;
}

.px-project--below .px-project__overlay {
	background: none;
}

.px-project__link:hover .px-project__overlay,
.px-project__link:focus-visible .px-project__overlay {
	opacity: 1;
}

.px-project__link:hover .px-project__img {
	transform: scale(1.05);
}

.px-project__meta {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.px-project__cat {
	align-self: flex-start;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--px-primary);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: #fff;
}

.px-project__name {
	font-size: 1.06rem;
	font-weight: 700;
	line-height: 1.3;
}

.px-project__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--px-primary);
	color: #fff;
	opacity: 0;
	transform: translateX(8px);
	transition: opacity 0.3s, transform 0.3s var(--px-ease);
}

.px-project__link:hover .px-project__icon,
.px-project__link:focus-visible .px-project__icon {
	opacity: 1;
	transform: none;
}

.px-project__caption {
	margin-top: 12px;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--px-heading);
}

.px-project__caption .px-project__cat {
	display: table;
	margin-bottom: 6px;
	background: var(--px-primary-soft);
	color: var(--px-primary);
}

.px-projects-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(12px, 1.5vw, 20px);
}

@media (min-width: 900px) {
	.px-projects-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.px-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: clamp(14px, 1.8vw, 22px);
}

.px-filter__btn {
	padding: 8px 18px;
	border: 1.5px solid var(--px-border);
	border-radius: 999px;
	background: #fff;
	color: var(--px-text);
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.px-filter__btn:hover {
	border-color: var(--px-primary);
	color: var(--px-primary);
}

.px-filter__btn.is-active {
	border-color: var(--px-primary);
	background: var(--px-primary);
	color: #fff;
}

/* 13. Testimonials ------------------------------------------------------------- */
.px-testimonials__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(16px, 2.4vw, 30px);
}

@media (min-width: 768px) {
	.px-testimonials__grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.px-testimonials__grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.px-testimonial {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	padding: clamp(18px, 2vw, 24px) clamp(18px, 2.2vw, 26px) clamp(16px, 1.8vw, 20px);
	border-radius: var(--px-radius-md);
	background: #fff;
	box-shadow: 0 10px 34px rgba(16, 46, 48, 0.09);
	text-align: start;
}

/* Stars on the start side, a large quote mark on the end side. */
.px-testimonial__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.px-testimonial__quote {
	flex: none;
	margin-inline-start: auto;
	color: var(--px-primary);
}

.px-testimonial__text {
	flex: 1;
	margin: 0;
	font-size: 1.06rem;
	line-height: 1.6;
	color: var(--px-text);
}

.px-testimonial__text p {
	margin: 0 0 0.6em;
}

.px-testimonial__text p:last-child {
	margin-bottom: 0;
}

.px-testimonial__author {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 14px;
}

.px-testimonial__who {
	text-align: start;
}

.px-testimonial__photo,
.px-testimonial__avatar {
	flex: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
}

.px-testimonial__avatar {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--px-primary-soft), color-mix(in srgb, var(--px-primary) 22%, #fff));
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--px-primary);
}

.px-testimonial__name {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	color: var(--px-heading);
}

.px-testimonial__meta {
	display: block;
	font-size: 0.88rem;
	color: var(--px-muted);
}

.px-stars {
	display: inline-flex;
	gap: 3px;
	color: #f2b20f;
}

.px-stars .is-off {
	color: #d9dede;
}

.px-carousel--testimonials .px-carousel__slide {
	padding: 4px 2px 12px;
}

/* 14. Contact + forms ---------------------------------------------------------- */
.px-contact__inner {
	display: grid;
	gap: clamp(20px, 4vw, 56px);
	align-items: center;
}

@media (min-width: 960px) {
	.px-contact--split .px-contact__inner {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	}
}

.px-contact--stacked .px-contact__inner {
	max-width: calc(860px + 2 * var(--px-gutter));
}

.px-contact--stacked .px-contact__intro {
	text-align: center;
}

.px-contact__title {
	margin: 0 0 0.45em;
	font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.45rem);
	font-weight: 800;
	color: var(--px-heading);
}

.px-contact__text {
	margin: 0;
	font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
}

.px-contact__card {
	padding: clamp(16px, 2.2vw, 26px);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 40px rgba(20, 50, 50, 0.08);
}

.px-bg-white .px-contact__card {
	border: 1px solid var(--px-border);
	box-shadow: var(--px-shadow);
}

.px-contact__details {
	margin-top: 20px;
}

.px-contact__social {
	margin-top: 16px;
}

.px-map iframe {
	display: block;
	width: 100%;
	height: 260px;
	margin-top: 0;
	border: 0;
	border-radius: var(--px-radius-md);
}

.px-form__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

@media (min-width: 560px) {
	.px-form__grid {
		grid-template-columns: 1fr 1fr;
	}

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

.px-form--compact .px-form__grid {
	grid-template-columns: 1fr;
	gap: 10px;
}

.px-field {
	position: relative;
}

.px-field__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.px-field__input {
	display: block;
	width: 100%;
	height: 50px;
	padding: 0 16px;
	border: 1.5px solid var(--px-input-border);
	border-radius: var(--px-radius-sm);
	background: #fff;
	font-size: 1rem;
	color: var(--px-text);
	transition: border-color 0.2s, box-shadow 0.2s;
	appearance: none;
}

.px-field__input[dir="ltr"] {
	text-align: right;
}

.px-field__input[dir="ltr"]:placeholder-shown {
	direction: rtl;
}

textarea.px-field__input {
	height: auto;
	min-height: 110px;
	padding-block: 14px;
	resize: vertical;
}

.px-field__input::placeholder {
	color: #7b878b;
	opacity: 1;
}

.px-field__input:hover {
	border-color: color-mix(in srgb, var(--px-primary) 30%, var(--px-input-border));
}

.px-field__input:focus {
	outline: none;
	border-color: var(--px-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--px-primary) 16%, transparent);
}

.px-field.has-error .px-field__input {
	border-color: #c4352b;
}

.px-field__error {
	display: block;
	margin-top: 4px;
	font-size: 0.85rem;
	color: #b42318;
}

.px-field__error:empty {
	display: none;
}

.px-req {
	color: #b42318;
}

.px-hp {
	position: absolute !important;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.px-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 14px;
	font-size: 0.92rem;
	cursor: pointer;
}

.px-check input {
	width: 18px;
	height: 18px;
	margin-top: 4px;
	accent-color: var(--px-primary);
}

.px-form__submit {
	margin-top: 12px;
	min-height: 58px;
	font-size: 1.12rem;
}

.px-form--compact .px-form__submit {
	margin-top: 12px;
	min-height: 52px;
}

.px-form.is-sending .px-form__submit {
	opacity: 0.7;
	pointer-events: none;
}

.px-form__note {
	margin: 12px 0 0;
	font-size: 0.8rem;
	line-height: 1.55;
	color: var(--px-muted);
}

.px-form__note a,
.px-check a {
	color: var(--px-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.px-form__status {
	margin-top: 12px;
	font-weight: 600;
	text-align: center;
}

.px-form__status:empty {
	display: none;
}

.px-form__status.is-success {
	padding: 18px;
	border-radius: var(--px-radius-sm);
	background: #e7f5ef;
	color: #0d6b43;
}

.px-form__status.is-error {
	color: #b42318;
}

.px-form.is-sent > :not(.px-form__status) {
	display: none;
}

.px-form.is-sent .px-form__status {
	margin: 0;
	padding: 32px 20px;
	font-size: 1.15rem;
}

/* Contact details list */
.px-contact-list {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.px-contact-list li {
	display: flex;
	align-items: center;
	gap: 14px;
}

.px-contact-list__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--px-primary-soft);
	color: var(--px-primary);
}

.px-bg-light .px-contact-list__icon {
	background: #fff;
}

.px-contact-list__label {
	display: block;
	font-size: 0.85rem;
	color: var(--px-muted);
}

.px-contact-list__value {
	display: block;
	font-weight: 600;
	color: var(--px-heading);
	/* An email address may break, so enlarged text still fits a narrow screen. */
	overflow-wrap: anywhere;
}

.px-contact-list__value a {
	color: inherit;
	text-decoration: none;
}

.px-contact-list__value a:hover {
	color: var(--px-primary);
}

.px-contact-list--compact {
	gap: 12px;
}

.px-contact-list--compact .px-contact-list__icon {
	width: 38px;
	height: 38px;
	background: rgba(255, 255, 255, 0.07);
	color: var(--px-accent-bright);
}

.px-contact-list--compact .px-contact-list__label {
	color: rgba(255, 255, 255, 0.55);
}

.px-contact-list--compact .px-contact-list__value {
	font-weight: 500;
	color: #fff;
}

/* Social icons */
.px-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.px-social a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	transition: background-color 0.2s, color 0.2s;
}

.px-social a:hover {
	background: var(--px-primary);
	color: #fff;
}

.px-contact__social a {
	background: var(--px-primary-soft);
	color: var(--px-primary);
}

/* 15. Inner page hero + breadcrumbs ------------------------------------------- */
.px-page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--px-dark);
	color: #fff;
}

.px-page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.px-page-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to left, rgba(14, 26, 30, 0.9), rgba(14, 26, 30, 0.66) 55%, rgba(14, 26, 30, 0.5));
}

.px-page-hero__inner {
	padding-block: clamp(32px, 4vw, 56px) clamp(28px, 3.4vw, 48px);
}

.px-page-hero__title {
	max-width: 860px;
	margin: 0;
	font-size: clamp(2rem, 1.35rem + 2.6vw, 3.4rem);
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
}

.px-page-hero__subtitle {
	max-width: 700px;
	margin: 14px 0 0;
	font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem);
	color: rgba(255, 255, 255, 0.9);
}

.px-page-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.8);
}

.px-breadcrumbs {
	margin-bottom: 16px;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.72);
}

.px-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.px-breadcrumbs li + li::before {
	content: "/";
	margin-inline-end: 6px;
	opacity: 0.55;
}

.px-breadcrumbs a {
	color: rgba(255, 255, 255, 0.86);
	text-decoration: none;
}

.px-breadcrumbs a:hover {
	color: #fff;
	text-decoration: underline;
}

/* 16. Entry content (pages built from blocks) --------------------------------- */
.px-entry > :where(*) {
	margin-block: 0;
}

.px-entry > :where(:not(.px-section, .px-hero, .px-banner, .px-marquee, .alignfull, .alignwide, .wp-block-columns)) {
	width: min(var(--px-content), 100% - 2 * var(--px-gutter));
	margin-inline: auto;
}

.px-entry > :where(.alignwide, .wp-block-columns) {
	width: min(var(--px-container), 100% - 2 * var(--px-gutter));
	margin-inline: auto;
}

.px-entry > :where(.px-section, .px-hero, .px-banner, .px-marquee, .alignfull) {
	width: 100%;
	max-width: none;
}

.px-entry > :where(:not(.px-section, .px-hero, .px-banner, .px-marquee, .alignfull)) + :where(:not(.px-section, .px-hero, .px-banner, .px-marquee, .alignfull)) {
	margin-top: 1em;
}

.px-entry > :where(:not(.px-section, .px-hero, .px-banner, .px-marquee, .alignfull)):first-child {
	margin-top: clamp(28px, 3.6vw, 48px);
}

.px-entry > :where(:not(.px-section, .px-hero, .px-banner, .px-marquee, .alignfull)):last-child {
	margin-bottom: clamp(32px, 4vw, 56px);
}

.px-entry > :where(.px-section, .px-hero, .px-banner, .px-marquee, .alignfull) + :where(:not(.px-section, .px-hero, .px-banner, .px-marquee, .alignfull)) {
	margin-top: clamp(28px, 3.6vw, 48px);
}

.px-entry > :where(:not(.px-section, .px-hero, .px-banner, .px-marquee, .alignfull)) + :where(.px-section, .px-banner, .px-marquee) {
	margin-top: clamp(28px, 3.6vw, 48px);
}

.px-entry--article {
	padding-bottom: 8px;
}

/* Inline variant: inside the two-column layouts (service / project pages). */
.px-entry--inline > :where(*) {
	width: auto;
	max-width: none;
	margin-inline: 0;
}

.px-entry--inline > :where(*):first-child {
	margin-top: 0;
}

.px-entry--inline > :where(*):last-child {
	margin-bottom: 0;
}

.px-entry--inline > :where(.px-section) {
	padding-block: 32px;
	border-radius: var(--px-radius);
}

.px-entry--inline .px-section .px-container {
	padding-inline: clamp(0px, 2vw, 24px);
}

/* Typography inside content – element-level specificity only,
   so the classes of Pergolux blocks always win. */
:where(.px-entry) h2 {
	margin-top: 1.7em;
	margin-bottom: 0.5em;
	font-size: clamp(1.5rem, 1.18rem + 1.2vw, 2.05rem);
	font-weight: 800;
}

:where(.px-entry) h3 {
	margin-top: 1.4em;
	margin-bottom: 0.45em;
	font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);
}

:where(.px-entry) > :is(h2, h3):first-child,
:where(.px-entry .wp-block-column) > :first-child {
	margin-top: 0;
}

:where(.px-entry) p,
:where(.px-entry) li {
	font-size: 1.08rem;
	line-height: 1.7;
}

:where(.px-entry) :where(ul, ol):not([class*="px-"]) {
	padding-inline-start: 1.3em;
}

:where(.px-entry) :where(ul, ol):not([class*="px-"]) > li + li {
	margin-top: 0.35em;
}

.px-entry .wp-block-columns {
	gap: clamp(24px, 4vw, 56px);
}

.px-entry .wp-block-columns.px-split {
	gap: clamp(22px, 3.6vw, 52px);
}

/* 17. Core blocks --------------------------------------------------------------- */
.is-style-check {
	padding-inline-start: 0 !important;
	list-style: none;
}

.is-style-check li {
	position: relative;
	padding-inline-start: 36px;
}

.is-style-check li::before,
.is-style-check li::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.36em;
}

.is-style-check li::before {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--px-primary-soft);
}

.is-style-check li::after {
	inset-inline-start: 5px;
	top: calc(0.36em + 5px);
	width: 14px;
	height: 14px;
	background: var(--px-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wp-block-heading.is-style-section::before {
	content: "";
	display: block;
	width: 50px;
	height: 3px;
	margin-bottom: 14px;
	border-radius: 3px;
	background: var(--px-accent);
}

.wp-block-heading.is-style-section.has-text-align-center::before {
	margin-inline: auto;
}

.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.65em 1.7em;
	border: 1.5px solid var(--px-primary);
	border-radius: var(--px-radius-sm);
	background: var(--px-primary);
	color: #fff;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.wp-block-button__link:hover {
	border-color: var(--px-primary-strong);
	background: var(--px-primary-strong);
	color: #fff;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 1.5px solid currentColor;
	background: transparent;
	color: var(--px-primary);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--px-primary);
	background: var(--px-primary);
	color: #fff;
}

.wp-block-buttons {
	gap: 12px;
}

.wp-block-image img {
	border-radius: 10px;
}

.wp-block-image.is-style-soft-shadow img {
	border-radius: 18px;
	box-shadow: var(--px-shadow-lg);
}

.wp-block-image.is-style-rounded img {
	border-radius: 9999px;
}

.wp-block-image figcaption,
.wp-block-gallery figcaption {
	color: var(--px-muted);
	font-size: 0.9rem;
	text-align: center;
}

.wp-block-gallery.has-nested-images {
	gap: 12px;
}

.wp-block-gallery.has-nested-images figure.wp-block-image img {
	border-radius: 10px;
}

.wp-block-gallery a,
.wp-block-image a {
	cursor: zoom-in;
}

.wp-block-quote {
	margin-inline: 0;
	padding: 14px 24px;
	border-inline-start: 4px solid var(--px-accent);
	border-start-end-radius: 12px;
	border-end-end-radius: 12px;
	background: var(--px-light);
	font-size: 1.15rem;
	color: var(--px-heading);
}

.wp-block-quote cite {
	display: block;
	margin-top: 8px;
	font-size: 0.92rem;
	font-style: normal;
	color: var(--px-muted);
}

.wp-block-separator {
	margin-block: 2em;
	border: 0;
	border-top: 1px solid var(--px-border);
}

.wp-block-separator.is-style-short-accent {
	width: 60px;
	border-top: 3px solid var(--px-accent);
	border-radius: 3px;
}

.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
	padding: 10px 14px;
	border: 1px solid var(--px-border);
}

.wp-block-table thead {
	background: var(--px-light);
}

.wp-block-group.is-style-card {
	padding: clamp(24px, 3vw, 38px);
	border: 1px solid var(--px-border);
	border-radius: var(--px-radius);
	background: #fff;
	box-shadow: var(--px-shadow);
}

.wp-block-group.is-style-tinted {
	padding: clamp(24px, 3vw, 38px);
	border-radius: var(--px-radius);
	background: var(--px-light);
}

.wp-block-details {
	margin-block: 10px;
	overflow: hidden;
	border: 1px solid var(--px-border);
	border-radius: var(--px-radius-md);
	background: #fff;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.wp-block-details[open] {
	border-color: color-mix(in srgb, var(--px-primary) 35%, var(--px-border));
	box-shadow: var(--px-shadow-sm);
}

.wp-block-details > summary {
	position: relative;
	padding: 16px 20px;
	padding-inline-end: 56px;
	font-weight: 600;
	color: var(--px-heading);
	list-style: none;
	cursor: pointer;
}

.wp-block-details > summary::-webkit-details-marker {
	display: none;
}

.wp-block-details > summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	inset-inline-end: 20px;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
	color: var(--px-primary);
	transform: translateY(-50%);
	transition: transform 0.25s;
}

.wp-block-details[open] > summary::after {
	transform: translateY(-50%) rotate(45deg);
}

.wp-block-details > :not(summary) {
	margin: 0;
	padding-inline: 20px;
}

.wp-block-details > :last-child {
	padding-bottom: 18px;
}

/* 18. Pergolux blocks: FAQ + steps ---------------------------------------------- */
.px-faq {
	display: grid;
	gap: 8px;
}

.px-faq__item {
	overflow: hidden;
	border: 1px solid var(--px-border);
	border-radius: var(--px-radius-md);
	background: #fff;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.px-faq__item[open] {
	border-color: color-mix(in srgb, var(--px-primary) 35%, var(--px-border));
	box-shadow: var(--px-shadow-sm);
}

.px-bg-light .px-faq__item {
	border-color: transparent;
}

.px-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 20px;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--px-heading);
	list-style: none;
	cursor: pointer;
}

.px-faq__q::-webkit-details-marker {
	display: none;
}

.px-faq__q:hover {
	color: var(--px-primary);
}

.px-faq__icon {
	color: var(--px-primary);
	transition: transform 0.25s;
}

.px-faq__item[open] .px-faq__icon {
	transform: rotate(45deg);
}

.px-faq__a {
	padding: 0 20px 16px;
}

.px-faq__a p:last-child {
	margin-bottom: 0;
}

.px-steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 700px) {
	.px-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.px-steps--count-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.px-steps--count-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.px-steps--count-3 .px-step:not(:last-child)::after,
	.px-steps--count-4 .px-step:not(:nth-child(4n))::after {
		content: "";
		position: absolute;
		top: 28px;
		inset-inline-start: calc(50% + 38px);
		width: calc(100% - 76px + 18px);
		height: 2px;
		background: repeating-linear-gradient(to left, var(--px-accent) 0 8px, transparent 8px 15px);
		opacity: 0.55;
	}
}

.px-step {
	position: relative;
	padding: 0 10px;
	text-align: center;
}

.px-step__num {
	position: relative;
	z-index: 1;
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 10px;
	border: 2px solid var(--px-accent);
	border-radius: 50%;
	background: #fff;
	font-size: 1.3rem;
	font-weight: 800;
	color: var(--px-primary);
}

.px-step__title {
	margin: 0 0 0.35em;
	font-size: 1.2rem;
}

.px-step__text {
	margin: 0;
	color: var(--px-muted);
}

/* 19. Two-column layouts (service / project pages) ------------------------------ */
.px-layout-aside {
	display: grid;
	gap: clamp(32px, 5vw, 64px);
	padding-block: clamp(26px, 3.6vw, 52px);
}

@media (min-width: 1024px) {
	.px-layout-aside {
		grid-template-columns: minmax(0, 1fr) 370px;
		align-items: start;
	}

	.px-layout-aside__side {
		position: sticky;
		top: calc(var(--px-header-h) + 24px);
	}

	.admin-bar .px-layout-aside__side {
		top: calc(var(--px-header-h) + 56px);
	}
}

.px-aside-card {
	padding: clamp(20px, 2.4vw, 28px);
	border: 1px solid var(--px-border);
	border-radius: var(--px-radius);
	background: #fff;
	box-shadow: var(--px-shadow-sm);
}

.px-aside-card + .px-aside-card {
	margin-top: 20px;
}

.px-aside-card--form {
	border-color: transparent;
	background: var(--px-light);
	box-shadow: none;
}

.px-aside-card__title {
	margin: 0 0 0.3em;
	font-size: 1.35rem;
	font-weight: 800;
}

.px-aside-card__text {
	margin-bottom: 16px;
	font-size: 1rem;
	color: var(--px-muted);
}

.px-aside-card__phone {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
	font-weight: 600;
	color: var(--px-heading);
	text-decoration: none;
}

.px-aside-card--cta .px-btn + .px-btn {
	margin-top: 10px;
}

.px-mini-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.px-mini-list a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--px-border);
	color: var(--px-text);
	font-weight: 500;
	text-decoration: none;
}

.px-mini-list li:last-child a {
	border-bottom: 0;
}

.px-mini-list__img {
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: var(--px-radius-sm);
	object-fit: cover;
}

.px-mini-list__arrow {
	margin-inline-start: auto;
	color: var(--px-primary);
	transition: transform 0.2s;
}

.px-mini-list a:hover {
	color: var(--px-primary);
}

.px-mini-list a:hover .px-mini-list__arrow {
	transform: translateX(-4px);
}

.px-details {
	margin: 0;
}

.px-details > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px dashed var(--px-border);
}

.px-details > div:last-child {
	border-bottom: 0;
}

.px-details dt {
	color: var(--px-muted);
}

.px-details dd {
	margin: 0;
	font-weight: 600;
	text-align: end;
	color: var(--px-heading);
}

.px-post-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: clamp(26px, 3.2vw, 40px);
}

.px-post-nav__link {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 48%;
	padding: 14px 18px;
	border: 1px solid var(--px-border);
	border-radius: var(--px-radius-md);
	font-weight: 600;
	color: var(--px-heading);
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s;
}

.px-post-nav__link:hover {
	border-color: var(--px-primary);
	color: var(--px-primary);
}

.px-post-nav__link small {
	display: block;
	font-size: 0.85rem;
	font-weight: 400;
	color: var(--px-muted);
}

.px-post-nav__link--next {
	margin-inline-start: auto;
	text-align: end;
}

/* 20. Blog -------------------------------------------------------------------------- */
.px-listing {
	padding-block: clamp(26px, 3.6vw, 52px);
}

.px-listing__search {
	max-width: 520px;
	margin: 0 auto 36px;
}

.px-posts-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(20px, 2.4vw, 30px);
}

@media (min-width: 700px) {
	.px-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.px-posts-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.px-post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--px-radius);
	background: #fff;
	box-shadow: 0 8px 30px rgba(20, 50, 55, 0.08);
	transition: transform 0.3s var(--px-ease), box-shadow 0.3s var(--px-ease);
}

.px-post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--px-shadow-lg);
}

.px-post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.px-post-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--px-ease);
}

.px-post-card:hover .px-post-card__img {
	transform: scale(1.05);
}

.px-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 24px 26px;
}

.px-post-card__date {
	font-size: 0.88rem;
	color: var(--px-muted);
}

.px-post-card__title {
	margin: 6px 0 10px;
	font-size: 1.3rem;
	line-height: 1.35;
}

.px-post-card__title a {
	color: var(--px-heading);
	text-decoration: none;
}

.px-post-card__title a:hover {
	color: var(--px-primary);
}

.px-post-card__excerpt {
	flex: 1;
	font-size: 1rem;
	color: var(--px-muted);
}

.px-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--px-primary);
	text-decoration: none;
}

.px-link-arrow svg {
	transition: transform 0.2s;
}

.px-link-arrow:hover svg {
	transform: translateX(-4px);
}

.px-pagination {
	margin-top: 48px;
}

.px-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.px-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--px-border);
	border-radius: 10px;
	font-weight: 600;
	color: var(--px-heading);
	text-decoration: none;
}

.px-pagination a.page-numbers:hover {
	border-color: var(--px-primary);
	color: var(--px-primary);
}

.px-pagination .current {
	border-color: var(--px-primary);
	background: var(--px-primary);
	color: #fff;
}

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

.px-tags a {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 999px;
	background: var(--px-light);
	font-size: 0.9rem;
	color: var(--px-heading);
	text-decoration: none;
}

.px-empty {
	padding: 40px 0;
	text-align: center;
	color: var(--px-muted);
}

.px-search {
	display: flex;
	overflow: hidden;
	border: 1.5px solid var(--px-input-border);
	border-radius: 999px;
	background: #fff;
}

.px-search:focus-within {
	border-color: var(--px-primary);
}

.px-search__input {
	flex: 1;
	min-width: 0;
	height: 50px;
	padding: 0 20px;
	border: 0;
	background: none;
}

.px-search__input:focus {
	outline: none;
}

.px-search__btn {
	width: 54px;
	border: 0;
	background: var(--px-primary);
	color: #fff;
	cursor: pointer;
}

.px-404 {
	padding-block: clamp(40px, 6vw, 72px);
	text-align: center;
}

.px-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 32px;
}

.px-comments {
	padding-block: 40px;
}

/* 21. Footer --------------------------------------------------------------------- */
.px-footer {
	background: var(--px-dark);
	color: rgba(255, 255, 255, 0.82);
}

.px-footer__main {
	display: grid;
	grid-template-columns: 1fr;
	justify-items: center;
	align-items: center;
	gap: 28px;
	padding-block: 32px 28px;
	text-align: center;
}

@media (min-width: 960px) {
	.px-footer__main {
		grid-template-columns: auto 1fr auto;
		justify-items: stretch;
		text-align: start;
	}

	.px-footer .px-logo {
		justify-self: start;
	}

	.px-logo--footer .px-logo__inner {
		align-items: flex-start;
	}

	.px-footer__cta {
		justify-self: end;
	}
}

.px-logo--footer .px-logo__name {
	font-size: clamp(1.9rem, 1.6rem + 0.8vw, 2.4rem);
}

.px-footer__text {
	max-width: 320px;
	margin: 12px 0 0;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.7);
}

.px-footer__nav {
	justify-self: center;
}

.px-footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	row-gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.px-footer-menu li + li::before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 18px;
	margin-inline: clamp(14px, 2.6vw, 34px);
	vertical-align: middle;
	background: rgba(255, 255, 255, 0.35);
}

.px-footer-menu a {
	font-size: 1.02rem;
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
}

.px-footer-menu a:hover {
	color: #fff;
	text-decoration: underline;
}

.px-footer__cta-btn {
	min-height: 52px;
	padding-inline: 1.6em;
	font-weight: 500;
}

.px-footer__widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 28px;
	padding-bottom: 32px;
}

.px-footer-widget__title {
	font-size: 1.1rem;
	color: #fff;
}

.px-footer-widget a {
	color: rgba(255, 255, 255, 0.85);
}

.px-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.px-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 26px;
	padding-block: 14px;
	font-size: 0.9rem;
	text-align: center;
	color: rgba(255, 255, 255, 0.6);
}

.px-footer__copy {
	margin: 0;
}

.px-footer__note::before {
	content: "•";
	margin-inline: 8px;
}

.px-legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.px-legal-menu a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}

.px-legal-menu a:hover {
	color: #fff;
}

.px-footer__social a {
	width: 36px;
	height: 36px;
}

.px-footer--minimal .px-footer__bottom-inner {
	border: 0;
}

/* 22. Floating contact ------------------------------------------------------------ */
.px-float-wa {
	position: fixed;
	bottom: 24px;
	inset-inline-end: 24px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #11823b;
	color: #fff;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
	transition: transform 0.2s;
}

.px-float-wa::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #11823b;
	opacity: 0.45;
	z-index: -1;
	animation: px-pulse 2.6s ease-out infinite;
}

.px-float-wa:hover {
	color: #fff;
	transform: scale(1.06);
}

@keyframes px-pulse {
	0% {
		transform: scale(1);
		opacity: 0.45;
	}
	70%,
	100% {
		transform: scale(1.6);
		opacity: 0;
	}
}

.px-mobile-bar {
	display: none;
}

@media (max-width: 767px) {
	body.px-has-mobile-bar {
		--px-bar-h: calc(66px + env(safe-area-inset-bottom));
		padding-bottom: 72px;
	}

	.px-has-mobile-bar .px-mobile-bar {
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		z-index: 95;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
		background: #fff;
		box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.12);
	}

	.px-mobile-bar:has(> :only-child) {
		grid-template-columns: 1fr;
	}

	.px-mobile-bar__btn {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 50px;
		border-radius: 10px;
		font-weight: 700;
		color: #fff;
		text-decoration: none;
	}

	.px-mobile-bar__btn:hover {
		color: #fff;
	}

	.px-mobile-bar__btn--call {
		background: var(--px-primary);
	}

	.px-mobile-bar__btn--wa {
		background: #11823b;
	}

	.px-has-mobile-bar .px-float-wa {
		display: none;
	}
}

/* 23. Lightbox --------------------------------------------------------------------- */
.px-lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px clamp(16px, 7vw, 90px);
	background: rgba(8, 14, 16, 0.94);
}

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

.px-lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 100%;
	max-height: 100%;
	margin: 0;
}

.px-lightbox__img {
	width: auto;
	min-width: min(560px, 100%);
	max-width: min(1200px, 100%);
	height: auto;
	max-height: calc(100vh - 170px);
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.px-lightbox__caption {
	margin-top: 14px;
	text-align: center;
	color: rgba(255, 255, 255, 0.86);
}

.px-lightbox__close,
.px-lightbox__nav {
	position: absolute;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s;
}

.px-lightbox__close:hover,
.px-lightbox__nav:hover {
	background: rgba(255, 255, 255, 0.24);
}

.px-lightbox__close {
	top: 16px;
	inset-inline-end: 16px;
	width: 48px;
	height: 48px;
}

.px-lightbox__nav {
	top: 50%;
	width: 54px;
	height: 54px;
	transform: translateY(-50%);
}

.px-lightbox__nav--prev {
	inset-inline-start: 14px;
}

.px-lightbox__nav--next {
	inset-inline-end: 14px;
}

.px-lightbox.is-single .px-lightbox__nav {
	display: none;
}

@media (max-width: 600px) {
	.px-lightbox__nav {
		top: auto;
		bottom: 16px;
		transform: none;
	}
}

/* 24. Reveal on scroll + motion preferences ------------------------------------------ */
.px-js .px-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s var(--px-ease), transform 0.7s var(--px-ease);
}

.px-js .px-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* 25. Print -------------------------------------------------------------------------- */
@media print {
	.px-header,
	.px-footer,
	.px-float-wa,
	.px-mobile-bar,
	.px-offcanvas,
	.px-contact__card {
		display: none !important;
	}
}

/* 26. Content + image collage (pergolux/split) ---------------------------------------- */
.px-split {
	isolation: isolate;
}

.px-split__inner {
	display: grid;
	gap: clamp(40px, 6vw, 92px);
	align-items: center;
}

@media (min-width: 960px) {
	.px-split__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
	}

	.px-split--media-start .px-split__media {
		order: -1;
	}
}

@media (max-width: 959px) {
	.px-split__media {
		order: -1;
	}
}

.px-split__title {
	margin: 0 0 0.55em;
	font-size: clamp(1.8rem, 1.2rem + 2.1vw, 2.7rem);
	font-weight: 800;
	line-height: 1.2;
	color: var(--px-heading);
}

.px-split__text {
	margin: 0 0 1em;
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--px-text);
}

.px-checklist {
	display: grid;
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 600px) {
	.px-checklist {
		grid-template-columns: 1fr 1fr;
		gap: 14px 26px;
	}
}

.px-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--px-heading);
}

.px-checklist .px-icon {
	flex: none;
	width: 24px;
	height: 24px;
	margin-top: 1px;
	padding: 4px;
	border-radius: 50%;
	background: var(--px-primary);
	color: #fff;
	stroke-width: 3;
}

.px-split__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.px-split__media {
	position: relative;
	padding-bottom: clamp(30px, 3.6vw, 46px);
}

.px-split__media::before {
	content: "";
	position: absolute;
	top: -26px;
	inset-inline-end: -26px;
	z-index: -1;
	width: 150px;
	height: 150px;
	background-image: radial-gradient(var(--px-accent) 2px, transparent 2.6px);
	background-size: 16px 16px;
	opacity: 0.4;
}

.px-split__main {
	margin: 0;
	aspect-ratio: 5 / 4.3;
	overflow: hidden;
	border-radius: 26px;
	box-shadow: var(--px-shadow-lg);
}

.px-split__main img,
.px-split__inset img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.px-split__inset {
	position: absolute;
	bottom: 0;
	inset-inline-start: clamp(-34px, -2.4vw, -12px);
	width: 44%;
	aspect-ratio: 4 / 3;
	margin: 0;
	overflow: hidden;
	border: 7px solid #fff;
	border-radius: 20px;
	box-shadow: var(--px-shadow-lg);
}

.px-bg-light .px-split__inset {
	border-color: var(--px-light);
}

.px-split__badge {
	position: absolute;
	top: clamp(18px, 3vw, 34px);
	inset-inline-end: clamp(-28px, -2vw, -8px);
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 290px;
	padding: 14px 18px;
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--px-shadow-lg);
}

.px-split__badge-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--px-primary);
	color: #fff;
}

.px-split__badge-text strong {
	display: block;
	font-size: 1rem;
	line-height: 1.3;
	color: var(--px-heading);
}

.px-split__badge-text small {
	display: block;
	margin-top: 2px;
	font-size: 0.85rem;
	line-height: 1.35;
	color: var(--px-muted);
}

@media (max-width: 600px) {
	.px-split__inset {
		inset-inline-start: 8px;
		width: 48%;
		border-width: 5px;
	}

	.px-split__badge {
		top: auto;
		bottom: clamp(60px, 18vw, 90px);
		inset-inline-end: 8px;
		max-width: 62%;
		padding: 10px 12px;
	}

	.px-split__badge-icon {
		width: 40px;
		height: 40px;
	}
}

/* 27. Marquee band ------------------------------------------------------------------- */
.px-marquee {
	position: relative;
	overflow: hidden;
	padding-block: 12px;
	background: var(--px-primary);
	color: #fff;
}

.px-marquee--dark {
	background: var(--px-dark);
}

.px-marquee--light {
	background: var(--px-light);
	color: var(--px-heading);
}

.px-marquee__track {
	display: flex;
	width: max-content;
	animation: px-marquee var(--px-marquee-speed, 40s) linear infinite;
}

.px-marquee:hover .px-marquee__track {
	animation-play-state: paused;
}

.px-marquee__run {
	display: flex;
	flex: none;
	align-items: center;
}

.px-marquee__item {
	padding-inline: 24px;
	font-size: clamp(1.1rem, 0.95rem + 0.7vw, 1.55rem);
	font-weight: 700;
	white-space: nowrap;
}

.px-marquee__sep {
	display: inline-grid;
	color: rgba(255, 255, 255, 0.6);
}

.px-marquee--dark .px-marquee__sep,
.px-marquee--light .px-marquee__sep {
	color: var(--px-accent);
}

@keyframes px-marquee {
	to {
		transform: translateX(50%);
	}
}

[dir="ltr"] .px-marquee__track {
	animation-name: px-marquee-ltr;
}

@keyframes px-marquee-ltr {
	to {
		transform: translateX(-50%);
	}
}

.px-entry > :where(.px-marquee) {
	width: 100%;
	max-width: none;
}

/* 28. FAQ – heading on the side ---------------------------------------------------------- */
@media (min-width: 960px) {
	.px-faq-split {
		display: grid;
		grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
		gap: clamp(36px, 5vw, 80px);
		align-items: start;
	}

	.px-faq-split__head {
		position: sticky;
		top: calc(var(--px-header-h) + 32px);
	}
}

.px-faq-split .px-section-head {
	max-width: none;
	margin: 0 0 22px;
	text-align: start;
}

.px-faq-split .px-section-head .px-eyebrow {
	justify-content: flex-start;
}

.px-faq-split .px-section-head .px-eyebrow::after {
	display: none;
}

.px-faq-split .px-section-head--line-above::before,
.px-faq-split .px-section-head--line-below .px-section-head__title::after {
	margin-inline: 0;
}

.px-faq-split__phone {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	font-weight: 600;
	color: var(--px-heading);
	text-decoration: none;
}

.px-faq-split__phone .px-icon {
	color: var(--px-primary);
}

/* 29. Steps on the dark textured background ---------------------------------------------- */
.px-bg-dark .px-step {
	padding: 22px 18px 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--px-radius);
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(3px);
	transition: transform 0.3s var(--px-ease), background-color 0.3s;
}

.px-bg-dark .px-step:hover {
	background: rgba(255, 255, 255, 0.09);
	transform: translateY(-4px);
}

.px-bg-dark .px-step::after {
	display: none;
}

.px-bg-dark .px-step__num {
	border-color: var(--px-accent);
	background: var(--px-primary);
	color: #fff;
	box-shadow: 0 0 0 7px rgba(31, 168, 155, 0.16);
}

.px-bg-dark .px-step__title {
	color: #fff;
}

.px-bg-dark .px-step__text {
	color: rgba(255, 255, 255, 0.74);
}

.px-bg-dark .px-section-head--line-above::before,
.px-bg-dark .px-section-head--line-below .px-section-head__title::after {
	background: var(--px-accent-bright);
}

/* 31. Rich footer ------------------------------------------------------------------------- */
.px-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 26px 24px;
	padding-block: clamp(32px, 3.6vw, 48px) 26px;
}

@media (min-width: 640px) {
	.px-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.px-footer__grid {
		grid-template-columns: 1.35fr 0.75fr 0.95fr 1.15fr;
	}
}

.px-footer--rich .px-logo {
	justify-self: start;
}

.px-footer--rich .px-logo__inner {
	align-items: flex-start;
}

.px-footer--rich .px-footer__text {
	max-width: 340px;
	margin: 12px 0 14px;
	line-height: 1.6;
}

.px-footer__title {
	position: relative;
	margin: 0 0 14px;
	padding-bottom: 10px;
	font-size: 1.08rem;
	font-weight: 700;
	color: #fff;
}

.px-footer__title::after {
	content: "";
	position: absolute;
	bottom: 0;
	inset-inline-start: 0;
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: var(--px-accent);
}

.px-footer-links {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.px-footer-links a {
	display: inline-block;
	color: rgba(255, 255, 255, 0.74);
	text-decoration: none;
	transition: color 0.2s, transform 0.2s;
}

.px-footer-links a:hover {
	color: #fff;
	transform: translateX(-4px);
}

.px-footer--rich .px-footer__cta {
	margin-top: 16px;
}

.px-contact-list--footer .px-contact-list__icon {
	width: 36px;
	height: 36px;
}

.px-contact-list--footer .px-contact-list__value {
	font-size: 0.98rem;
}

/* 32. Contact details layout + compact footer list ----------------------------------------- */
.px-contact__intro .px-contact__details {
	margin-top: 20px;
}

@media (min-width: 600px) {
	.px-contact__intro .px-contact__details {
		grid-template-columns: 1fr 1fr;
		gap: 12px 20px;
	}
}

.px-contact-list--footer {
	gap: 10px;
}

.px-contact-list--footer .px-contact-list__label {
	display: none;
}

.px-contact-list--footer .px-contact-list__icon {
	width: 32px;
	height: 32px;
}

.px-contact-list--footer .px-contact-list__icon .px-icon {
	width: 16px;
	height: 16px;
}

.px-contact-list--footer .px-contact-list__value {
	font-size: 0.95rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.86);
}

@media (min-width: 600px) {
	.px-contact__intro .px-contact__details li:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

/* 33. Phone refinements -------------------------------------------------------------------- */
@media (max-width: 599px) {
	.px-card__arrow {
		display: none;
	}

	.px-card__body {
		padding: 12px 12px 14px;
	}

	.px-card__title {
		font-size: 1rem;
	}

	.px-split__badge {
		top: 12px;
		bottom: auto;
	}

	.px-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 30px 18px;
	}

	.px-footer__col--brand,
	.px-footer__col--contact {
		grid-column: 1 / -1;
	}
}

/* 34. Content + image – editorial style ------------------------------------------------------ */
@media (min-width: 960px) {
	.px-split--editorial .px-split__inner {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		gap: clamp(32px, 4.4vw, 72px);
	}

	/* The photo runs to the edge of the screen on its side. */
	.px-split--editorial.px-split--media-end .px-split__media {
		margin-inline-end: calc(-1 * max(var(--px-gutter), (100vw - var(--px-container)) / 2));
	}

	.px-split--editorial.px-split--media-start .px-split__media {
		margin-inline-start: calc(-1 * max(var(--px-gutter), (100vw - var(--px-container)) / 2));
	}
}

.px-split--editorial .px-split__media {
	padding: 0;
}

.px-split--editorial .px-split__media::before {
	display: none;
}

.px-split--editorial .px-split__main {
	aspect-ratio: auto;
	height: clamp(260px, 32vw, 480px);
	border-radius: 0;
	box-shadow: none;
}

.px-split__caption {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 14px 0 0;
	font-size: 0.86rem;
	color: var(--px-muted);
}

.px-split__caption::before {
	content: "";
	width: 32px;
	height: 1px;
	background: currentColor;
}

.px-split__label {
	display: block;
	margin-bottom: 10px;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--px-accent-text);
}

.px-split--editorial .px-split__title {
	max-width: 15em;
	margin-bottom: 0.7em;
	font-size: clamp(1.9rem, 1.25rem + 2.1vw, 2.85rem);
	line-height: 1.16;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.px-split--editorial .px-split__text {
	max-width: 34em;
	font-size: 1.12rem;
	line-height: 1.7;
}

.px-facts {
	max-width: 34em;
	margin: 22px 0 0;
	border-top: 1px solid color-mix(in srgb, var(--px-heading) 22%, transparent);
}

.px-facts__row {
	display: grid;
	grid-template-columns: 7.5em minmax(0, 1fr);
	gap: 18px;
	padding: 10px 0;
	border-bottom: 1px solid color-mix(in srgb, var(--px-heading) 22%, transparent);
}

.px-facts dt {
	font-weight: 700;
	color: var(--px-heading);
}

.px-facts dd {
	margin: 0;
	color: var(--px-text);
}

.px-facts .px-facts__full {
	grid-column: 1 / -1;
}

.px-split__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 32px;
	margin-top: 22px;
}

.px-split__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 4px;
	border-bottom: 1.5px solid currentColor;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--px-primary);
	text-decoration: none;
}

.px-split__link .px-icon {
	transition: transform 0.25s var(--px-ease);
}

.px-split__link:hover {
	color: var(--px-primary-strong);
}

.px-split__link:hover .px-icon {
	transform: translateX(-4px);
}

.px-split__link--quiet {
	border-bottom-color: transparent;
	font-weight: 600;
	color: var(--px-heading);
}

.px-split__link--quiet:hover {
	border-bottom-color: currentColor;
	color: var(--px-heading);
}

@media (max-width: 959px) {
	.px-split--editorial .px-split__media {
		margin-inline: calc(-1 * var(--px-gutter));
	}

	.px-split--editorial .px-split__caption {
		padding-inline: var(--px-gutter);
	}
}

@media (max-width: 599px) {
	.px-facts__row {
		grid-template-columns: 5.2em minmax(0, 1fr);
		gap: 12px;
	}
}

/* 35. Section decorations (leaves, louver shadows, planter) --------------------------------- */
.px-has-decor {
	isolation: isolate;
	overflow: clip;
}

.px-decor {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}

/* Sunlight through louvers: soft diagonal shadow bands falling from the top corner. */
.px-decor__light {
	position: absolute;
	inset: -20% -10%;
	background: repeating-linear-gradient(118deg, transparent 0 54px, rgba(18, 48, 48, 0.055) 54px 90px);
	filter: blur(7px);
	-webkit-mask-image: radial-gradient(70% 80% at 80% 0%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 82%);
	mask-image: radial-gradient(70% 80% at 80% 0%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 82%);
}

/* Olive branches entering from the top corners. */
.px-decor__leaf {
	position: absolute;
	top: -28px;
	width: clamp(110px, 11vw, 190px);
	height: auto;
	max-width: none;
}

.px-decor__leaf--start {
	right: -36px;
	transform: rotate(180deg);
}

.px-decor__leaf--end {
	left: -36px;
	transform: scaleY(-1);
}

/* Contact sections: a planter under the text and soft foliage by the form. */
.px-decor__planter {
	position: absolute;
	bottom: -4px;
	right: max(8px, calc((100vw - var(--px-container)) / 2 - 24px));
	width: clamp(120px, 10vw, 170px);
	height: auto;
	filter: drop-shadow(0 18px 22px rgba(20, 40, 40, 0.16));
}

.px-decor__blur {
	position: absolute;
	bottom: -70px;
	left: -90px;
	width: clamp(240px, 24vw, 380px);
	height: auto;
	max-width: none;
	filter: blur(6px);
	opacity: 0.85;
	-webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
}

@media (min-width: 960px) {
	/* Reserve room under the contact text for the planter. */
	.px-decor-garden.px-contact--split .px-contact__intro {
		align-self: start;
		padding-bottom: clamp(90px, 9vw, 140px);
	}
}

@media (max-width: 959px) {
	.px-decor__planter {
		display: none;
	}
}

@media (max-width: 767px) {
	.px-decor__leaf {
		top: -14px;
		width: 96px;
	}

	.px-decor__leaf--start {
		right: -22px;
	}

	.px-decor__leaf--end {
		left: -22px;
	}

	.px-decor__blur {
		width: 220px;
	}
}

/* 36. Glowing call-to-action buttons in the header and footer ------------------------------ */
.px-header__cta,
.px-footer__cta-btn {
	border-color: var(--px-accent-glow);
	background: color-mix(in srgb, var(--px-primary) 26%, transparent);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--px-accent-glow) 22%, transparent), 0 0 22px color-mix(in srgb, var(--px-accent-glow) 16%, transparent);
	font-weight: 600;
}

.px-header__cta .px-icon,
.px-footer__cta-btn .px-icon {
	color: var(--px-accent-glow);
}

.px-header__cta:hover,
.px-footer__cta-btn:hover {
	border-color: var(--px-accent-glow);
	background: var(--px-primary);
	box-shadow: 0 0 0 1px var(--px-accent-glow), 0 0 26px color-mix(in srgb, var(--px-accent-glow) 35%, transparent);
}

.px-header__cta:hover .px-icon,
.px-footer__cta-btn:hover .px-icon {
	color: #fff;
}

.px-menu-toggle__icon span {
	background: var(--px-accent-glow);
}

/* 37. Contact title (two lines, larger) ---------------------------------------------------- */
.px-contact__title {
	font-size: clamp(1.75rem, 1.15rem + 2vw, 2.7rem);
	line-height: 1.15;
	letter-spacing: -0.015em;
}

.px-bg-soft .px-contact__card {
	box-shadow: 0 16px 44px rgba(16, 46, 48, 0.1);
}

/* 38. Banner foliage + decoration variants --------------------------------------------------- */
.px-banner__wing {
	width: min(40%, 600px);
}

.px-banner__leaves {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.px-banner__leaf {
	position: absolute;
	height: auto;
	max-width: none;
}

.px-banner__leaf--start,
.px-banner__leaf--end {
	bottom: -34px;
	width: clamp(150px, 15vw, 250px);
	filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.35));
}

.px-banner__leaf--end {
	left: -30px;
}

.px-banner__leaf--start {
	right: -30px;
	transform: scaleX(-1);
}

.px-banner__leaf--blur {
	top: -60px;
	left: -70px;
	width: clamp(200px, 20vw, 320px);
	filter: blur(6px);
	opacity: 0.75;
	-webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
}

@media (max-width: 600px) {
	.px-banner__leaf--start,
	.px-banner__leaf--end {
		width: 110px;
		bottom: -24px;
	}

	.px-banner__leaf--blur {
		width: 170px;
	}
}

/* The features section gets its branches at the bottom corners (services has them on top). */
.px-features-section .px-decor__leaf {
	top: auto;
	bottom: -30px;
}

.px-features-section .px-decor__leaf--start {
	transform: scaleX(-1);
}

.px-features-section .px-decor__leaf--end {
	transform: none;
}

/* 39. Phones: process steps as compact rows (number beside the text) ------------------------ */
@media (max-width: 699px) {
	.px-steps {
		gap: 10px;
	}

	.px-step {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 14px;
		align-items: start;
		padding: 0;
		text-align: start;
	}

	.px-bg-dark .px-step {
		padding: 14px 16px;
	}

	.px-step__num {
		grid-row: 1 / span 2;
		width: 44px;
		height: 44px;
		margin: 0;
		font-size: 1.1rem;
	}

	.px-bg-dark .px-step__num {
		box-shadow: 0 0 0 5px rgba(31, 168, 155, 0.16);
	}

	.px-step__title {
		margin: 10px 0 0.25em;
		font-size: 1.1rem;
	}

	.px-step__text {
		font-size: 0.95rem;
		line-height: 1.55;
	}
}

/* 40. Process steps – timeline style ------------------------------------------------------------ */
.px-section {
	--px-section-bg: #fff;
}

.px-bg-soft {
	--px-section-bg: var(--px-soft);
}

.px-bg-light {
	--px-section-bg: var(--px-light);
}

.px-bg-dark {
	--px-section-bg: var(--px-dark);
}

/* Heading on the start side, a short intro + link on the other. */
.px-steps-head {
	display: grid;
	gap: 12px 56px;
	align-items: end;
	margin-bottom: clamp(20px, 2.4vw, 32px);
}

@media (min-width: 900px) {
	.px-steps-head {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
	}
}

.px-steps-head .px-section-head {
	max-width: none;
	margin: 0;
	text-align: start;
}

.px-steps-head .px-section-head--line-above::before,
.px-steps-head .px-section-head--line-both::before,
.px-steps-head .px-section-head--line-below .px-section-head__title::after,
.px-steps-head .px-section-head--line-both .px-section-head__title::after {
	margin-inline: 0;
}

.px-steps-head .px-section-head .px-eyebrow {
	justify-content: flex-start;
}

.px-steps-head .px-section-head .px-eyebrow::after {
	display: none;
}

.px-steps-head__side {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.px-steps-head__text {
	max-width: 32em;
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.6;
	color: var(--px-text);
}

.px-steps-head__link {
	padding-bottom: 3px;
	border-bottom: 1.5px solid currentColor;
	font-weight: 700;
}

/* One continuous hairline across the steps, a dot where each step starts. */
.px-timeline {
	display: grid;
	grid-template-columns: 1fr;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 700px) {
	.px-timeline {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 30px;
	}
}

@media (min-width: 1024px) {
	.px-timeline--count-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.px-timeline--count-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.px-timeline__item {
	position: relative;
	padding-top: 18px;
	padding-inline-end: clamp(16px, 2.6vw, 40px);
	border-top: 1px solid color-mix(in srgb, var(--px-heading) 22%, transparent);
}

.px-timeline__item::before {
	content: "";
	position: absolute;
	top: -5px;
	inset-inline-start: 0;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--px-primary);
	box-shadow: 0 0 0 5px var(--px-section-bg, #fff);
}

.px-timeline__num {
	display: block;
	margin-bottom: 10px;
	font-family: var(--px-font);
	font-size: clamp(2.2rem, 1.7rem + 1.5vw, 2.9rem);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--px-primary);
}

.px-timeline__title {
	margin: 0 0 6px;
	font-size: clamp(1.1rem, 1rem + 0.3vw, 1.25rem);
	font-weight: 800;
	line-height: 1.3;
	color: var(--px-heading);
}

.px-timeline__text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--px-muted);
}

.px-bg-dark .px-timeline__item {
	border-color: rgba(255, 255, 255, 0.2);
}

.px-bg-dark .px-timeline__item::before {
	background: var(--px-accent-glow);
}

.px-bg-dark .px-timeline__num,
.px-bg-dark .px-steps-head__link {
	color: var(--px-accent-glow);
}

.px-bg-dark .px-timeline__title {
	color: #fff;
}

.px-bg-dark .px-timeline__text,
.px-bg-dark .px-steps-head__text {
	color: rgba(255, 255, 255, 0.76);
}

/* Phones: a compact list – numeral beside the text, hairlines between steps. */
@media (max-width: 699px) {
	.px-timeline__item {
		display: grid;
		grid-template-columns: 3.1rem minmax(0, 1fr);
		column-gap: 12px;
		padding: 16px 0;
	}

	.px-timeline__item::before {
		display: none;
	}

	.px-timeline__num {
		grid-row: 1 / span 2;
		margin: 0;
		font-size: 2.1rem;
	}

	.px-timeline__title {
		margin-top: 2px;
	}
}

/* 41. Pause buttons for moving content -------------------------------------------- */
.px-hero__pause {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1.5px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	background: rgba(8, 22, 26, 0.35);
	color: #fff;
	cursor: pointer;
	pointer-events: auto;
	transition: background-color 0.2s;
}

.px-hero__pause:hover {
	background: rgba(8, 22, 26, 0.6);
}

.px-hero__play-icon,
.px-hero__pause.is-paused .px-hero__pause-icon,
.px-marquee__play-icon,
.px-marquee.is-paused .px-marquee__pause-icon {
	display: none;
}

.px-hero__pause.is-paused .px-hero__play-icon,
.px-marquee.is-paused .px-marquee__play-icon {
	display: block;
}

.px-marquee.is-paused .px-marquee__track {
	animation-play-state: paused;
}

.px-marquee__pause {
	position: absolute;
	top: 50%;
	inset-inline-end: 10px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.32);
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
}

.px-marquee__pause:hover {
	background: rgba(0, 0, 0, 0.5);
}

/* Map that loads on request (Google Maps sets cookies). */
.px-map {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 8px;
	min-height: 180px;
	margin-top: 26px;
	padding: 20px;
	border: 1px dashed color-mix(in srgb, var(--px-primary) 40%, transparent);
	border-radius: var(--px-radius-md);
	background: color-mix(in srgb, var(--px-light) 70%, #fff);
	text-align: center;
}

.px-map.is-loaded {
	display: block;
	min-height: 0;
	padding: 0;
	border: 0;
	background: none;
}

.px-map__load {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 1.5px solid var(--px-primary);
	border-radius: var(--px-radius-sm);
	background: #fff;
	color: var(--px-primary);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.px-map__note {
	margin: 0;
	font-size: 0.85rem;
	color: var(--px-muted);
}

/* Form: required privacy confirmation. */
.px-field--check .px-check {
	margin-top: 12px;
	font-size: 0.9rem;
	line-height: 1.5;
}

/* A button that looks like a link (footer "cookie settings"). */
.px-link-btn {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.px-legal-menu .px-link-btn,
.px-footer__cookies {
	color: rgba(255, 255, 255, 0.7);
}

.px-legal-menu .px-link-btn:hover,
.px-footer__cookies:hover {
	color: #fff;
	text-decoration: underline;
}

/* 42. Accessibility menu ----------------------------------------------------------- */
/* Sizes are in px so the menu stays the same when the visitor enlarges the text. */
.px-a11y__toggle {
	position: fixed;
	top: calc(50% - 27px);
	inset-inline-start: 0;
	z-index: 160;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	padding: 0;
	border: 2px solid #fff;
	border-inline-start: 0;
	border-start-end-radius: 16px;
	border-end-end-radius: 16px;
	background: var(--px-primary);
	color: #fff;
	box-shadow: 0 6px 18px rgba(8, 40, 38, 0.35);
	cursor: pointer;
	transition: background-color 0.2s;
}

.px-a11y__toggle:hover,
.px-a11y__toggle[aria-expanded="true"] {
	background: var(--px-heading);
}

/* The button touches the edge of the screen, so its focus ring is drawn inside it. */
.px-a11y__toggle:focus-visible {
	outline: 3px solid #ffd23f;
	outline-offset: -8px;
}

.px-a11y__count {
	position: absolute;
	top: -8px;
	inset-inline-end: -8px;
	display: grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #ffd23f;
	color: #10201f;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 0 0 2px var(--px-heading);
}

.px-a11y__count[hidden] {
	display: none;
}

html.px-a11y-side-left .px-a11y__toggle {
	inset-inline: auto 0;
	border-inline-start: 2px solid #fff;
	border-inline-end: 0;
	border-radius: 0;
	border-start-start-radius: 16px;
	border-end-start-radius: 16px;
}

html.px-a11y-side-left .px-a11y__count {
	inset-inline: -8px auto;
}

html.px-a11y-side-left .px-a11y__panel {
	inset-inline: auto 12px;
}

.px-a11y__panel {
	position: fixed;
	top: 50%;
	inset-inline-start: 12px;
	z-index: 170;
	width: min(410px, calc(100vw - 24px));
	max-height: calc(100vh - 24px);
	max-height: calc(100dvh - 24px);
	overflow-y: auto;
	overscroll-behavior: contain;
	/* Room for the sticky header, so a focused option never scrolls in behind it. */
	scroll-padding-block: 76px 14px;
	padding-bottom: 14px;
	border: 1px solid rgba(12, 38, 39, 0.12);
	border-radius: 20px;
	background: #fff;
	color: var(--px-text);
	box-shadow: 0 24px 60px rgba(8, 40, 38, 0.4);
	font-family: var(--px-font);
	font-size: 15px;
	line-height: 1.4;
	text-align: start;
	transform: translateY(-50%);
}

.px-a11y__panel[hidden] {
	display: none;
}

.px-a11y__panel:focus {
	outline: none;
}

.px-a11y__head {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 16px;
	background: var(--px-heading);
	color: #fff;
}

.px-a11y__head :focus-visible {
	outline-color: #ffd23f;
}

.px-a11y__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
}

.px-a11y__close {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.75);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.px-a11y__close:hover {
	background: rgba(255, 255, 255, 0.15);
}

.px-a11y__sec {
	margin: 14px 16px 0;
}

.px-a11y__sec-title {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--px-muted);
}

.px-a11y__size {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border: 1.5px solid #d3e3e1;
	border-radius: 14px;
	background: #f2f8f7;
}

.px-a11y__size-label {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--px-heading);
}

.px-a11y__size-ctrl {
	display: flex;
	align-items: center;
	gap: 8px;
}

.px-a11y__size-btn {
	min-width: 48px;
	height: 40px;
	padding: 0 10px;
	border: 2px solid var(--px-heading);
	border-radius: 10px;
	background: #fff;
	color: var(--px-heading);
	font-size: 17px;
	font-weight: 800;
	cursor: pointer;
}

.px-a11y__size-btn:hover {
	background: var(--px-light);
}

.px-a11y__size-btn[aria-disabled="true"] {
	opacity: 0.5;
	cursor: not-allowed;
}

.px-a11y__size-value {
	min-width: 52px;
	font-weight: 800;
	text-align: center;
	color: var(--px-heading);
}

.px-a11y__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.px-a11y__opt {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	min-height: 82px;
	padding: 10px 6px;
	border: 1.5px solid #d3e3e1;
	border-radius: 14px;
	background: #f2f8f7;
	color: var(--px-heading);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.px-a11y__opt--profile {
	min-height: 74px;
	border-color: color-mix(in srgb, var(--px-accent) 50%, #fff);
	background: color-mix(in srgb, var(--px-accent) 13%, #fff);
}

.px-a11y__opt:hover {
	border-color: var(--px-primary);
}

.px-a11y__opt .px-icon {
	color: var(--px-primary);
}

.px-a11y__opt[aria-pressed="true"] {
	border-color: var(--px-heading);
	background: var(--px-primary);
	color: #fff;
}

.px-a11y__opt[aria-pressed="true"] .px-icon {
	color: #fff;
}

/* The tick is decoration: aria-pressed already tells screen readers the option is on. */
.px-a11y__opt[aria-pressed="true"]::after {
	content: "✓";
	content: "✓" / "";
	position: absolute;
	top: 4px;
	inset-inline-end: 8px;
	font-size: 14px;
	font-weight: 800;
}

.px-a11y__opt[aria-expanded="true"] {
	border-color: var(--px-primary);
	background: var(--px-light);
}

.px-a11y__warn {
	margin: 8px 0 0;
	padding: 8px 10px;
	border-radius: 10px;
	background: #fff4d6;
	color: #6b4100;
	font-size: 13px;
	line-height: 1.5;
}

.px-a11y__warn[hidden],
.px-a11y__structure[hidden] {
	display: none;
}

.px-a11y__structure {
	max-height: 260px;
	margin-top: 10px;
	padding: 10px;
	overflow-y: auto;
	border: 1.5px solid #d3e3e1;
	border-radius: 14px;
	background: #f2f8f7;
}

.px-a11y__structure-hint {
	margin: 0 0 6px;
	font-size: 13px;
	color: var(--px-muted);
}

.px-a11y__structure-list {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.px-a11y__structure-list button {
	width: 100%;
	padding: 7px 10px;
	border: 1.5px solid #d3e3e1;
	border-radius: 10px;
	background: #fff;
	color: var(--px-heading);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	text-align: start;
	cursor: pointer;
}

.px-a11y__structure-list button:hover {
	border-color: var(--px-primary);
}

.px-a11y__structure-list .is-level-2 button {
	padding-inline-start: 24px;
}

.px-a11y__structure-list .is-level-3 button {
	padding-inline-start: 38px;
	font-weight: 500;
}

.px-a11y__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 16px 16px 0;
}

.px-a11y__reset,
.px-a11y__side {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 6px 14px;
	border: 2px solid var(--px-heading);
	border-radius: 999px;
	background: #fff;
	color: var(--px-heading);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.px-a11y__reset:hover,
.px-a11y__side:hover {
	background: var(--px-light);
}

.px-a11y__side[aria-pressed="true"] {
	border-color: var(--px-primary);
	background: var(--px-primary);
	color: #fff;
}

.px-a11y__statement {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--px-primary);
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.px-a11y__note {
	margin: 12px 16px 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--px-muted);
}

.px-a11y__note kbd {
	padding: 1px 6px;
	border: 1px solid #a9bdbb;
	border-radius: 6px;
	background: #f2f8f7;
	color: var(--px-heading);
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
}

@media (max-width: 680px) {
	.px-a11y__toggle {
		top: calc(50% - 23px);
		width: 44px;
		height: 46px;
	}

	.px-a11y__toggle .px-icon {
		width: 28px;
		height: 28px;
	}
}

@media (max-width: 380px) {
	.px-a11y__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Reading aids: a guide and a mask that follow the pointer and the focus, the text being read
   aloud, and the heading reached from the page outline. */
.px-a11y-aid {
	position: fixed;
	inset-inline: 0;
	z-index: 155;
	pointer-events: none;
}

.px-a11y-aid--guide {
	height: 8px;
	background: #ffd23f;
	box-shadow: 0 0 0 2px #000, 0 4px 14px rgba(0, 0, 0, 0.35);
}

.px-a11y-aid--mask-top,
.px-a11y-aid--mask-bottom {
	background: rgba(0, 0, 0, 0.62);
}

.px-a11y-aid--mask-top {
	top: 0;
}

.px-a11y-aid--mask-bottom {
	bottom: 0;
}

.px-a11y-speaking {
	outline: 3px dashed #e0a800 !important;
	outline-offset: 3px !important;
}

.px-a11y-flash {
	outline: 4px solid #ffd23f !important;
	outline-offset: 4px !important;
	box-shadow: 0 0 0 8px #000 !important;
}

/* Display modes chosen in the accessibility menu (classes on <html>). Exceptions sit in :where()
   so they don't raise a rule's specificity. */
/* Text size: everything set in rem grows and the layout reflows. */
html.px-a11y-size-1 {
	font-size: 115%;
}

html.px-a11y-size-2 {
	font-size: 130%;
}

html.px-a11y-size-3 {
	font-size: 150%;
}

/* Grayscale, inverted colours and saturation combine into one filter. */
html.px-a11y-gray {
	--px-a11y-gray: grayscale(1);
}

html.px-a11y-invert {
	--px-a11y-invert: invert(1) hue-rotate(180deg);
}

html.px-a11y-sat-low {
	--px-a11y-sat: saturate(0.35);
}

html.px-a11y-sat-high {
	--px-a11y-sat: saturate(1.9);
}

html:is(.px-a11y-gray, .px-a11y-invert, .px-a11y-sat-low, .px-a11y-sat-high) {
	filter: var(--px-a11y-gray,) var(--px-a11y-invert,) var(--px-a11y-sat,);
}

/* With inverted colours, photos are inverted back so they look normal (the white logo inverts with the page). */
html.px-a11y-invert :is(img, video, iframe):not(.px-logo__img) {
	filter: invert(1) hue-rotate(180deg);
}

/* High contrast modes: one page colour, one text colour and one link colour. Everything turns
   transparent over the page colour, things that sit on top of other content get the solid colour,
   and photos behind text are hidden. The accessibility menu keeps its own look. */
html.px-a11y-contrast-dark {
	--px-hc-bg: #000;
	--px-hc-text: #fff;
	--px-hc-link: #ffeb3b;
	--px-hc-mark: #ffeb3b;
	--px-hc-mark-text: #000;
}

html.px-a11y-contrast-yellow {
	--px-hc-bg: #000;
	--px-hc-text: #ffeb3b;
	--px-hc-link: #fff;
	--px-hc-mark: #ffeb3b;
	--px-hc-mark-text: #000;
}

html.px-a11y-contrast-light {
	--px-hc-bg: #fff;
	--px-hc-text: #000;
	--px-hc-link: #0033cc;
	--px-hc-mark: #0033cc;
	--px-hc-mark-text: #fff;
}

html[class*="px-a11y-contrast-"] body {
	background: var(--px-hc-bg) !important;
}

html[class*="px-a11y-contrast-"] body *:not(:where(svg, svg *, img, picture, video, iframe, .px-a11y, .px-a11y *, .px-a11y-aid)) {
	border-color: var(--px-hc-text) !important;
	background-color: transparent !important;
	background-image: none !important;
	color: var(--px-hc-text) !important;
	text-shadow: none !important;
	box-shadow: none !important;
}

html[class*="px-a11y-contrast-"] :is(.px-header, .px-topbar, .px-offcanvas__panel, .px-inline-menu .sub-menu, .px-cookies__box, .px-lightbox, .px-mobile-bar, .px-float-wa, .px-card__body, .px-project__overlay, button, .px-btn, input, select, textarea):not(:where(.px-a11y *)) {
	background-color: var(--px-hc-bg) !important;
}

html[class*="px-a11y-contrast-"] :is(.px-hero__bg, .px-hero__overlay, .px-hero__leaves, .px-banner__bg, .px-banner__overlay, .px-banner__wing, .px-banner__leaves, .px-page-hero__bg, .px-page-hero__overlay, .px-decor, .px-offcanvas__backdrop) {
	visibility: hidden !important;
}

html[class*="px-a11y-contrast-"] body :is(a, a *):not(:where(svg, svg *, .px-a11y *)) {
	color: var(--px-hc-link) !important;
}

html[class*="px-a11y-contrast-"] body a:not(:where(.px-a11y *)) {
	text-decoration: underline !important;
}

html[class*="px-a11y-contrast-"] body :is(button, .px-btn, input, select, textarea):not(:where(.px-a11y *)) {
	border: 2px solid var(--px-hc-link) !important;
}

html[class*="px-a11y-contrast-"] ::placeholder {
	color: var(--px-hc-text) !important;
	opacity: 0.8;
}

/* States that were shown by colour alone. */
html[class*="px-a11y-contrast-"] :is(.px-hero__dot.is-active, .px-filter__btn.is-active) {
	background-color: var(--px-hc-mark) !important;
	color: var(--px-hc-mark-text) !important;
}

html[class*="px-a11y-contrast-"] .px-cookies__slider {
	background-color: #767676 !important;
}

html[class*="px-a11y-contrast-"] .px-cookies__switch input:checked + .px-cookies__slider {
	background-color: var(--px-hc-mark) !important;
}

html[class*="px-a11y-contrast-"] .px-cookies__switch input:checked + .px-cookies__slider::after {
	background: var(--px-hc-mark-text);
}

/* The white logo turns black on the light background, and icons made for photos take the text colour. */
html.px-a11y-contrast-light .px-logo__img {
	filter: brightness(0);
}

html[class*="px-a11y-contrast-"] :is(.px-hero__strip-icon, .px-banner__item-icon) {
	color: var(--px-hc-text) !important;
}

html.px-a11y-headings body :is(h1, h2, h3, h4, h5, h6):not(:where(.px-a11y *)) {
	border-radius: 4px;
	background-color: color-mix(in srgb, var(--px-accent) 12%, transparent);
	outline: 3px solid var(--px-accent) !important;
	outline-offset: 4px;
}

html.px-a11y-links body a:not(:where(.px-a11y *)) {
	text-decoration: underline !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 3px !important;
}

html.px-a11y-links body a:not(:where(.px-btn, .px-card, .px-project__link, .px-a11y *)) {
	outline: 2px dashed currentColor;
	outline-offset: 2px;
}

/* Everything that can be clicked gets a frame. */
html.px-a11y-clickable body :is(a, button, input, select, textarea, summary, [role="button"], [tabindex="0"]):not(:where(.px-a11y *)) {
	outline: 3px solid #ff8a00 !important;
	outline-offset: 2px !important;
}

/* Hide images: photos and pictures set as backgrounds go; the logo and the colour gradients that
   keep text readable stay. */
html.px-a11y-hideimg body :is(img, picture, video):not(:where(.px-logo__img, .px-a11y *)),
html.px-a11y-hideimg .px-banner__wing,
html.px-a11y-hideimg .px-bg-dark::before {
	visibility: hidden !important;
}

html.px-a11y-hideimg [style*="background-image"] {
	background-image: none !important;
}

html.px-a11y-font body,
html.px-a11y-font body *:not(:where(svg, svg *)) {
	font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
}

/* Text spacing (WCAG 1.4.12). */
html.px-a11y-spacing body :is(p, li, dt, dd, td, th, label, h1, h2, h3, h4, h5, h6, a, button, span, small, strong, b, em, blockquote, figcaption, input, textarea, select):not(:where(.px-a11y *)) {
	line-height: 1.8 !important;
	letter-spacing: 0.06em !important;
	word-spacing: 0.16em !important;
}

html.px-a11y-noanim,
html.px-a11y-noanim *,
html.px-a11y-noanim *::before,
html.px-a11y-noanim *::after {
	animation: none !important;
	transition: none !important;
	scroll-behavior: auto !important;
}

html.px-a11y-noanim .px-reveal {
	opacity: 1 !important;
	transform: none !important;
}

/* A stronger focus ring, shown for mouse clicks too. */
html.px-a11y-focus body :focus:not(:where(#main, .px-a11y__panel)) {
	outline: 4px solid #ffeb3b !important;
	outline-offset: 3px !important;
	box-shadow: 0 0 0 4px #000, 0 0 0 10px #ffeb3b !important;
}

/* Large cursor: black, and yellow over things that can be clicked. */
html.px-a11y-cursor,
html.px-a11y-cursor * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M9 4l28 17-12.5 2.5 7.5 14.5-5.5 3-7.5-14.5-10 8.5z' fill='%23000' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 9 4, auto !important;
}

html.px-a11y-cursor :is(a, button, select, summary, label, [role="button"]),
html.px-a11y-cursor :is(a, button, summary, label, [role="button"]) * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M9 4l28 17-12.5 2.5 7.5 14.5-5.5 3-7.5-14.5-10 8.5z' fill='%23FFC61A' stroke='%23000' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 9 4, pointer !important;
}

/* 43. Cookie banner ------------------------------------------------------------------ */
.px-cookies {
	position: fixed;
	inset-inline: 0;
	bottom: calc(16px + var(--px-bar-h, 0px));
	z-index: 150;
	display: flex;
	justify-content: center;
	padding-inline: 16px;
	pointer-events: none;
}

.px-cookies[hidden] {
	display: none;
}

.px-cookies__box {
	width: min(720px, 100%);
	max-height: calc(100vh - 40px - var(--px-bar-h, 0px));
	overflow-y: auto;
	padding: 18px 22px 20px;
	border: 1px solid rgba(12, 38, 39, 0.08);
	border-radius: var(--px-radius);
	background: #fff;
	color: var(--px-text);
	box-shadow: var(--px-shadow-lg);
	pointer-events: auto;
}

.px-cookies__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px;
	font-size: 1.12rem;
	font-weight: 800;
	color: var(--px-heading);
}

.px-cookies__title .px-icon {
	color: var(--px-primary);
}

.px-cookies__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
}

.px-cookies__text a {
	color: var(--px-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.px-cookies__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
}

.px-cookies__btn {
	min-height: 44px;
	padding: 0.5em 1.3em;
	font-size: 0.98rem;
}

/* .px-btn sets a display value, which would override the hidden attribute. */
.px-cookies__btn[hidden],
.px-cookies__more[hidden] {
	display: none;
}

.px-cookies__more {
	margin-inline-start: auto;
	padding: 6px 2px;
	border: 0;
	background: none;
	color: var(--px-primary);
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.px-cookies__prefs {
	display: grid;
	gap: 10px;
	margin-top: 14px;
}

.px-cookies__prefs[hidden] {
	display: none;
}

.px-cookies__cat {
	padding: 12px 14px;
	border: 1px solid #e3ebea;
	border-radius: var(--px-radius-sm);
	background: #f7faf9;
}

.px-cookies__switch {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	color: var(--px-heading);
	cursor: pointer;
}

.px-cookies__switch input {
	position: absolute;
	inset-inline-start: 0;
	width: 44px;
	height: 24px;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.px-cookies__slider {
	position: relative;
	flex: none;
	width: 44px;
	height: 24px;
	border-radius: 24px;
	background: #8a9796;
	transition: background-color 0.2s;
}

.px-cookies__slider::after {
	content: "";
	position: absolute;
	top: 3px;
	inset-inline-start: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	transition: transform 0.2s;
}

.px-cookies__switch input:checked + .px-cookies__slider {
	background: var(--px-primary);
}

.px-cookies__switch input:checked + .px-cookies__slider::after {
	transform: translateX(-20px);
}

[dir="ltr"] .px-cookies__switch input:checked + .px-cookies__slider::after {
	transform: translateX(20px);
}

.px-cookies__switch input:disabled {
	cursor: default;
}

.px-cookies__switch input:disabled + .px-cookies__slider {
	opacity: 0.55;
}

.px-cookies__switch input:focus-visible + .px-cookies__slider {
	outline: 3px solid var(--px-accent);
	outline-offset: 2px;
}

.px-cookies__name small {
	font-weight: 500;
	color: var(--px-muted);
}

.px-cookies__desc {
	margin: 6px 0 0;
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--px-muted);
}

@media (max-width: 599px) {
	.px-cookies {
		bottom: calc(8px + var(--px-bar-h, 0px));
		padding-inline: 8px;
	}

	.px-cookies__box {
		padding: 14px 16px 16px;
	}

	.px-cookies__text {
		font-size: 0.9rem;
	}

	.px-cookies__btn {
		flex: 1 1 auto;
	}

	.px-cookies__more {
		margin-inline-start: 0;
	}
}

@media print {
	.px-a11y,
	.px-a11y-aid,
	.px-cookies {
		display: none !important;
	}
}
