/*
Theme Name: ПодборPRO Blocks
Author: Kostya Webin
Author URI: https://kowb.ru
Description: Отдельная блочная тема для поэтапного переноса главной страницы ПодборPRO.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: ppro-blocks
*/

.ppro-site-header {
	position: sticky;
	top: 0.75rem;
	z-index: 100;
	margin-inline: auto;
	padding: 0.75rem clamp(1rem, 4vw, 2rem);
}

.ppro-site-header__inner {
	max-width: 1280px;
	margin-inline: auto;
	padding: 0.75rem 1.25rem;
	border: 1px solid rgba(144, 35, 16, 0.25);
	border-radius: 999px;
	background: rgba(26, 26, 26, 0.94);
	color: #fff;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.ppro-site-header .ppro-site-brand,
.ppro-site-header .ppro-site-brand a {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 800;
	text-decoration: none;
}

.ppro-site-header .ppro-site-brand a {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
}

.ppro-site-header .ppro-site-brand a::before {
	content: "";
	width: 60px;
	height: 60px;
	flex: 0 0 60px;
	border-radius: 50%;
	background: url("assets/images/logo.jpg") center / contain no-repeat;
}

.ppro-site-header .ppro-primary-navigation a,
.ppro-site-header__contact a {
	color: #fff;
}

.ppro-site-header__contact {
	gap: 0.75rem;
	font-size: 0.8rem;
}

.ppro-site-header__contact p {
	margin: 0;
}

.ppro-site-header .wp-block-button__link {
	padding: 0.7rem 1rem;
	border-radius: 999px;
	background: #902310;
	color: #fff;
	font-weight: 700;
}

@media (max-width: 900px) {
	.ppro-site-header {
		top: 0;
		padding: 0.5rem;
	}

	.ppro-site-header__inner {
		border-radius: 1.25rem;
	}

	.ppro-site-header__contact > p:first-child {
		display: none;
	}
}

.ppro-site-footer {
	border-top: 1px solid rgba(144, 35, 16, 0.4);
	background: #1a1a1a;
	color: #d4d4d4;
}

.ppro-site-footer__inner {
	max-width: 1280px;
	margin-inline: auto;
	padding: 2rem clamp(1.25rem, 4vw, 2rem);
	gap: 1.5rem;
}

.ppro-site-footer__brand .wp-block-site-title,
.ppro-site-footer__brand .wp-block-site-title a {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 800;
	text-decoration: none;
}

.ppro-site-footer p {
	margin-block: 0.35rem;
	font-size: 0.8rem;
}

.ppro-site-footer a {
	color: #fff;
	text-underline-offset: 0.2em;
}

.ppro-site-footer a:hover,
.ppro-site-footer a:focus-visible {
	color: #ff8b7d;
}

@media (max-width: 640px) {
	.ppro-site-footer__inner {
		align-items: flex-start;
	}
}

.ppro-hero {
	padding-block: clamp(2.5rem, 7vw, 6rem);
}

.ppro-hero > .wp-block-columns:first-child {
	gap: clamp(2rem, 5vw, 5rem);
}

.ppro-eyebrow {
	color: #b12d14;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ppro-hero h1 {
	max-width: 13ch;
	font-size: clamp(2.5rem, 5.5vw, 5rem);
	line-height: 1.05;
}

.ppro-hero h1 strong,
.ppro-portfolio h2 strong,
.ppro-about h2 strong {
	color: #902310;
}

.ppro-hero-intro {
	max-width: 42rem;
	font-size: clamp(1rem, 1.4vw, 1.2rem);
	line-height: 1.6;
}

.ppro-hero .wp-block-buttons {
	gap: 0.75rem;
}

.ppro-hero .wp-block-button__link {
	min-height: 44px;
	padding: 0.85rem 1.25rem;
	border-radius: 999px;
	background: #902310;
	color: #fff;
	font-weight: 700;
}

.ppro-hero .is-style-outline .wp-block-button__link {
	border: 1px solid #902310;
	background: transparent;
	color: #6d1b0c;
}

.ppro-hero-caption {
	margin-top: 1.5rem;
	color: #5c5c5c;
	font-size: 0.9rem;
}

.ppro-hero .wp-block-image {
	margin: 0;
	overflow: hidden;
	border-radius: 1.5rem;
	background: #1a1a1a;
}

.ppro-hero .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 6 / 5;
	object-fit: cover;
	filter: brightness(0.85) saturate(0.7);
}

.ppro-hero-image-caption {
	margin-top: 0.75rem;
	color: #5c5c5c;
	font-size: 0.85rem;
}

.ppro-assurance-row {
	margin-top: clamp(2rem, 5vw, 4rem);
	padding-block: 1.5rem;
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
}

.ppro-assurance-row p {
	margin: 0;
	line-height: 1.55;
}

.ppro-assurance-row strong {
	color: #1a1a1a;
}

@media (max-width: 781px) {
	.ppro-hero {
		padding-block: 2rem;
	}

	.ppro-assurance-row {
		gap: 0.75rem;
	}

	.ppro-assurance-row .wp-block-column {
		padding-inline-start: 1rem;
		border-inline-start: 2px solid #902310;
	}
}

.ppro-policy-page {
	background: #050507;
}

.ppro-404 {
	box-sizing: border-box;
	max-width: 920px;
	min-height: 58vh;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 2rem);
}

.ppro-404 h1 {
	max-width: 15ch;
	margin-block: 0.5rem 1rem;
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	line-height: 1.05;
}

.ppro-404 > p:not(.ppro-eyebrow) {
	max-width: 38rem;
	color: #d4d4d4;
	line-height: 1.7;
}

.ppro-404-home .wp-block-button__link {
	min-height: 44px;
	padding: 0.85rem 1.25rem;
	border-radius: 999px;
	background: #902310;
	color: #fff;
	font-weight: 700;
}

.ppro-review-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.ppro-review-control,
.ppro-review-dot {
	min-width: 44px;
	min-height: 44px;
	border: 1px solid #902310;
	border-radius: 999px;
	background: #fff;
	color: #6d1b0c;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.ppro-review-pause {
	margin-right: auto;
	padding-inline: 1rem;
}

.ppro-review-viewport {
	overflow: hidden;
}

.ppro-review-track {
	display: flex;
	transition: transform 300ms ease;
	will-change: transform;
}

.ppro-review-slide {
	flex: 0 0 100%;
	min-width: 0;
}

.ppro-review-slide .ppro-review-card {
	max-width: 900px;
	min-height: 220px;
	margin-inline: auto;
}

.ppro-review-dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1rem;
}

.ppro-review-dot {
	min-width: 16px;
	min-height: 16px;
	width: 16px;
	height: 16px;
	padding: 0;
	border-color: #8a8a8a;
	background: #8a8a8a;
}

.ppro-review-dot[aria-current="true"] {
	border-color: #902310;
	background: #902310;
}

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

.ppro-review-control:hover,
.ppro-review-dot:hover {
	background: #6d1b0c;
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.ppro-review-track {
		transition: none;
	}
}

.ppro-reviews,
.ppro-faq,
.ppro-about,
.ppro-check-link,
.ppro-consultation,
.ppro-contacts {
	padding-block: clamp(3.5rem, 8vw, 7rem);
}

.ppro-reviews-grid {
	gap: 1rem;
	margin-block: 1rem;
}

.ppro-review-card {
	height: 100%;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid #e5e5e5;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
}

.ppro-review-card .wp-block-quote {
	margin: 0 0 1.5rem;
	border: 0;
	color: #2d2d2d;
	font-size: 1rem;
	line-height: 1.7;
}

.ppro-review-card .wp-block-quote p {
	margin: 0;
}

.ppro-review-card h3 {
	margin-block: 0.5rem 0.25rem;
	color: #1a1a1a;
	font-size: 1rem;
}

.ppro-review-card > p:last-child {
	margin: 0;
	color: #5c5c5c;
	font-size: 0.8rem;
}

.ppro-consultation,
.ppro-check-link {
	background: #1a1a1a;
	color: #fff;
}

.ppro-consultation h2,
.ppro-check-link h2 {
	margin-block: 0.5rem 1rem;
	color: #fff;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.12;
}

.ppro-consultation .ppro-eyebrow,
.ppro-check-link .ppro-eyebrow {
	color: #ff8b7d;
}

.ppro-consultation p:not(.ppro-eyebrow),
.ppro-check-link p:not(.ppro-eyebrow) {
	max-width: 42rem;
	color: #e5e5e5;
	line-height: 1.65;
}

.ppro-consultation .wp-block-button__link,
.ppro-check-link .wp-block-button__link {
	min-height: 44px;
	padding: 0.85rem 1.25rem;
	border-radius: 999px;
	background: #902310;
	color: #fff;
	font-weight: 700;
}

.ppro-faq > h2 {
	margin-block: 0.5rem 2rem;
	font-size: clamp(2rem, 4vw, 3.5rem);
}

.ppro-faq .wp-block-details {
	margin: 0;
	padding: 1rem 0;
	border-bottom: 1px solid #d5d5d5;
}

.ppro-faq summary {
	color: #1a1a1a;
	font-size: 1.05rem;
	font-weight: 700;
	cursor: pointer;
}

.ppro-faq .wp-block-details p {
	max-width: 52rem;
	margin-block: 0.75rem 0;
	color: #5c5c5c;
	line-height: 1.65;
}

.ppro-contact-layout {
	align-items: center;
	gap: clamp(1.5rem, 5vw, 4rem);
}

.ppro-contact-layout h2 {
	margin-block: 0.5rem 1rem;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.12;
}

.ppro-contact-card {
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid #e5e5e5;
	border-radius: 1.25rem;
	background: #f5f5f5;
}

.ppro-contact-card p {
	line-height: 1.6;
}

.ppro-contact-card .ppro-contact-phone {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
}

.ppro-contact-card a {
	color: #902310;
	text-underline-offset: 0.2em;
}

.ppro-lead-dialog {
	position: fixed;
	width: min(620px, calc(100% - 2rem));
	max-width: none;
	max-height: min(90vh, 800px);
	overflow: auto;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid rgba(144, 35, 16, 0.35);
	border-radius: 1.25rem;
	background: #1a1a1a;
	color: #fff;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.ppro-lead-dialog::backdrop {
	background: rgba(0, 0, 0, 0.78);
	backdrop-filter: blur(4px);
}

.ppro-lead-dialog h2 {
	margin: 0 3rem 1.5rem 0;
	color: #fff;
	font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.ppro-lead-dialog__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 44px;
	height: 44px;
	border: 1px solid #8a8a8a;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	font-size: 1.75rem;
	cursor: pointer;
}

.ppro-lead-form {
	--ppro-form-text: #2d2d2d;
	--ppro-form-surface: #fff;
	color: var(--ppro-form-text);
}

.ppro-lead-dialog .ppro-lead-form {
	--ppro-form-text: #fff;
	--ppro-form-surface: #2d2d2d;
}

.ppro-lead-form__field {
	margin-block: 0 1rem;
}

.ppro-lead-form__field label {
	display: block;
	margin-bottom: 0.4rem;
	color: var(--ppro-form-text);
	font-size: 0.9rem;
	font-weight: 700;
}

.ppro-lead-form__field input {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.85rem;
	border: 1px solid #8a8a8a;
	border-radius: 0.5rem;
	background: var(--ppro-form-surface);
	color: var(--ppro-form-text);
	font: inherit;
}

.ppro-lead-form__field input:focus-visible,
.ppro-lead-form__consent input:focus-visible {
	outline: 3px solid #b12d14;
	outline-offset: 2px;
}

.ppro-lead-form__hint {
	margin-block: -0.5rem 1rem;
	color: #5c5c5c;
	font-size: 0.85rem;
}

.ppro-lead-form__trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ppro-lead-dialog .ppro-lead-form__hint {
	color: #d4d4d4;
}

.ppro-lead-form__consent label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	color: var(--ppro-form-text);
	font-size: 0.85rem;
	line-height: 1.5;
}

.ppro-lead-form__consent input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 0.1rem 0 0;
	accent-color: #902310;
}

.ppro-lead-form__consent a {
	color: #902310;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.ppro-lead-dialog .ppro-lead-form__consent a {
	color: #ff8b7d;
}

.ppro-lead-form > p:has(> button[type="submit"]) {
	margin-block: 1.25rem;
}

.ppro-lead-form button[type="submit"] {
	min-height: 48px;
	padding: 0.8rem 1.25rem;
	border: 0;
	border-radius: 999px;
	background: #902310;
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.ppro-lead-form button[type="submit"]:hover {
	background: #6d1b0c;
}

.ppro-lead-form__note {
	min-height: 1.5em;
	margin-block: 0;
	font-weight: 700;
}

.ppro-lead-form__note--success {
	color: #087443;
}

.ppro-lead-form__note--error {
	color: #b42318;
}

.ppro-lead-dialog .ppro-lead-form__note--success {
	color: #6ee7b7;
}

.ppro-lead-dialog .ppro-lead-form__note--error {
	color: #fca5a5;
}

:root {
	color-scheme: dark;
	--ppro-carbon-950: #040405;
	--ppro-carbon-900: #09090c;
	--ppro-carbon-800: #111116;
	--ppro-carbon-700: #1a1a22;
	--ppro-neon-red: #ff1111;
	--ppro-neon-red-light: #ff3333;
	--ppro-text-muted: #d4d4d4;
}

html {
	background: #050507;
}

body,
.wp-site-blocks {
	background-color: #050507;
	background-image:
		radial-gradient(circle at 50% 0%, rgba(180, 0, 0, 0.16) 0%, transparent 55%),
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0, rgba(255, 255, 255, 0.015) 2px, transparent 2px, transparent 6px),
		repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.6) 0, rgba(0, 0, 0, 0.6) 2px, #060608 2px, #060608 6px);
	color: #fff;
	font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body p,
body li {
	color: inherit;
}

body h1,
body h2,
body h3,
body h4 {
	color: #fff;
}

.ppro-hero,
.ppro-checklist,
.ppro-work-route,
.ppro-about,
.ppro-faq,
.ppro-contacts,
.ppro-portfolio,
.ppro-services,
.ppro-reviews,
.ppro-discount {
	background: transparent;
	color: #fff;
}

.ppro-services,
.ppro-portfolio {
	border-radius: 1.75rem;
	background: #121215;
}

.ppro-service-card,
.ppro-portfolio-card,
.ppro-review-card,
.ppro-inspection-card,
.ppro-about-card,
.ppro-contact-card {
	border-color: #36363c;
	background: #09090c;
	color: #fff;
}

.ppro-service-card h3,
.ppro-portfolio-card h3,
.ppro-review-card h3,
.ppro-inspection-card h3,
.ppro-about-card h3,
.ppro-faq summary,
.ppro-faq h2 {
	color: #fff;
}

.ppro-section-intro > .wp-block-column:last-child p,
.ppro-service-card > p:not(.ppro-eyebrow),
.ppro-portfolio-card > p,
.ppro-review-card .wp-block-quote,
.ppro-review-card > p:last-child,
.ppro-inspection-intro-copy,
.ppro-inspection-card p,
.ppro-about-card p,
.ppro-faq .wp-block-details p {
	color: #d4d4d4;
}

.ppro-about {
	border-radius: 1.75rem;
	background: #111114;
}

.ppro-about-card,
.ppro-inspection-card {
	background: #1a1a1e;
}

.ppro-about-bottom {
	background: #1a1a1e;
}

.ppro-faq .wp-block-details {
	border-color: #38383e;
}

.ppro-contact-card {
	border-color: #4b363e;
	background: #0b0b0e;
}

.ppro-lead-form {
	--ppro-form-text: #fff;
	--ppro-form-surface: #101014;
}

.ppro-lead-form__hint {
	color: #d4d4d4;
}

.ppro-lead-form__note--success {
	color: #6ee7b7;
}

.ppro-lead-form__note--error {
	color: #fca5a5;
}

@keyframes ppro-section-enter-up {
	from { transform: translate3d(0, 32px, 0); }
	to { transform: none; }
}

@keyframes ppro-section-enter-heading {
	from { transform: translate3d(0, 16px, 0); }
	to { transform: none; }
}

@keyframes ppro-section-enter-left {
	from { transform: translate3d(-28px, 0, 0); }
	to { transform: none; }
}

@keyframes ppro-section-enter-right {
	from { transform: translate3d(28px, 0, 0); }
	to { transform: none; }
}

@keyframes ppro-section-enter-photo {
	from { transform: translate3d(0, 28px, 0); }
	to { transform: none; }
}

.section-motion {
	animation-duration: 760ms;
	animation-timing-function: cubic-bezier(0.25, 0.45, 0.25, 1);
	animation-delay: var(--section-motion-delay, 0ms);
	animation-fill-mode: both;
}

[data-section-motion="up"] { animation-name: ppro-section-enter-up; }
[data-section-motion="heading"] { animation-name: ppro-section-enter-heading; }
[data-section-motion="left"] { animation-name: ppro-section-enter-left; }
[data-section-motion="right"] { animation-name: ppro-section-enter-right; }
[data-section-motion="photo"] { animation-name: ppro-section-enter-photo; }

@media (max-width: 767px) {
	.section-motion { animation-duration: 520ms; }
	[data-section-motion="left"],
	[data-section-motion="right"],
	[data-section-motion="up"] { animation-name: ppro-section-enter-heading; }
	[data-section-motion="photo"] { animation-name: ppro-section-enter-photo; }
}

@media (prefers-reduced-motion: reduce) {
	.section-motion,
	.section-motion * {
		animation: none !important;
		transition: none !important;
		transform: none !important;
	}
}

@media (max-width: 781px) {
	.ppro-reviews-grid {
		gap: 0.75rem;
	}

	.ppro-review-card {
		margin-bottom: 0.75rem;
	}

	.ppro-consultation-layout,
	.ppro-contact-layout {
		gap: 1rem;
	}
}

.ppro-checklist,
.ppro-work-route,
.ppro-about {
	padding-block: clamp(3.5rem, 8vw, 7rem);
}

.ppro-inspection-intro {
	margin-bottom: 2rem;
}

.ppro-inspection-intro-copy {
	max-width: 34rem;
	color: #5c5c5c;
	line-height: 1.65;
}

.ppro-inspection-grid,
.ppro-about-grid {
	gap: 1rem;
	margin-block: 1rem;
}

.ppro-inspection-card,
.ppro-about-card {
	height: 100%;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid #e5e5e5;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
}

.ppro-inspection-icon,
.ppro-route-icon {
	display: grid;
	width: 52px;
	height: 52px;
	margin-bottom: 1.25rem;
	place-items: center;
	border: 1px solid rgba(255, 51, 51, 0.45);
	border-radius: 50%;
	background: #2b1318;
}

.ppro-inspection-icon img,
.ppro-route-icon img {
	display: block;
	width: 28px;
	height: 28px;
}

.ppro-inspection-card h3,
.ppro-about-card h3 {
	margin-top: 0;
	color: #1a1a1a;
	font-size: 1.2rem;
	line-height: 1.3;
}

.ppro-inspection-card p,
.ppro-about-card p {
	margin-bottom: 0;
	color: #5c5c5c;
	line-height: 1.65;
}

.ppro-work-route > h2 {
	margin-block: 0.5rem 2rem;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.12;
}

.ppro-work-route-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: route-step;
}

.ppro-work-route-list > li {
	min-width: 0;
	padding: clamp(1.25rem, 3vw, 2rem);
	border-top: 3px solid #902310;
	border-radius: 0.75rem;
	background: #f5f5f5;
	counter-increment: route-step;
}

.ppro-work-route-list > li::before {
	content: "0" counter(route-step);
	display: block;
	margin-bottom: 1.25rem;
	color: #902310;
	font-size: 1.25rem;
	font-weight: 800;
}

.ppro-route-icon {
	width: 56px;
	height: 56px;
	margin-bottom: 1rem;
	border-color: rgba(255, 51, 51, 0.36);
	background: #10090c;
}

.ppro-work-route-list h3 {
	margin-block: 0 0.5rem;
	color: #1a1a1a;
	font-size: 1.2rem;
}

.ppro-work-route-list p {
	margin: 0;
	color: #5c5c5c;
	line-height: 1.6;
}

.ppro-about-bottom {
	align-items: center;
	margin-top: 1.5rem;
	padding: 1.25rem;
	border-radius: 0.75rem;
	background: #f5f5f5;
}

.ppro-about-bottom p {
	margin: 0;
	font-weight: 600;
}

.ppro-about-bottom .wp-block-button__link {
	min-height: 44px;
	border: 1px solid #902310;
	border-radius: 999px;
	background: transparent;
	color: #6d1b0c;
	font-weight: 700;
}

@media (max-width: 781px) {
	.ppro-work-route-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.ppro-inspection-grid,
	.ppro-about-grid {
		gap: 0.75rem;
	}

	.ppro-about-bottom {
		gap: 1rem;
	}
}

:focus-visible {
	outline: 3px solid #b12d14;
	outline-offset: 3px;
}

.ppro-services,
.ppro-portfolio {
	padding-block: clamp(3.5rem, 8vw, 7rem);
}

.ppro-section-intro {
	align-items: end;
	margin-bottom: 2rem;
	gap: clamp(1rem, 4vw, 3rem);
}

.ppro-section-intro h2 {
	margin-block: 0.5rem;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.12;
}

.ppro-section-intro > .wp-block-column:last-child p {
	max-width: 34rem;
	color: #5c5c5c;
	line-height: 1.65;
}

.ppro-service-filters {
	gap: 0.5rem;
	margin-block: 1.5rem;
}

.ppro-service-filters .wp-block-button__link {
	min-height: 44px;
	padding: 0.65rem 1rem;
	border: 1px solid #902310;
	border-radius: 999px;
	background: #902310;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
}

.ppro-service-filters .is-style-outline .wp-block-button__link {
	background: transparent;
	color: #6d1b0c;
}

.ppro-services-grid,
.ppro-portfolio-grid {
	gap: clamp(1rem, 2.2vw, 1.75rem);
	margin-block: 1.25rem;
}

.ppro-service-card,
.ppro-portfolio-card {
	height: 100%;
	overflow: hidden;
	border: 1px solid #e5e5e5;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 8px 24px rgba(26, 26, 26, 0.07);
}

.ppro-service-card > .wp-block-image,
.ppro-portfolio-card > .wp-block-image {
	margin: 0;
}

.ppro-service-card > .wp-block-image img,
.ppro-portfolio-card > .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1.7;
	object-fit: cover;
}

.ppro-service-card > :not(.wp-block-image),
.ppro-portfolio-card > :not(.wp-block-image) {
	margin-inline: 1.25rem;
}

.ppro-service-card > .ppro-eyebrow {
	margin-top: 1.25rem;
	margin-bottom: 0.5rem;
}

.ppro-service-card h3,
.ppro-portfolio-card h3 {
	margin-block: 0.5rem;
	color: #1a1a1a;
	font-size: 1.25rem;
	line-height: 1.3;
}

.ppro-service-card > p:not(.ppro-eyebrow),
.ppro-portfolio-card > p {
	color: #5c5c5c;
	line-height: 1.6;
}

.ppro-service-card details {
	margin-block: 1rem;
	padding-block: 0.75rem;
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
}

.ppro-service-card summary {
	color: #6d1b0c;
	font-weight: 700;
	cursor: pointer;
}

.ppro-service-card .wp-block-list {
	padding-inline-start: 1.25rem;
	color: #5c5c5c;
	line-height: 1.6;
}

.ppro-service-card > p:last-child,
.ppro-portfolio-card > p:last-child {
	margin-bottom: 1.25rem;
}

.ppro-service-card > p:last-child a {
	color: #902310;
	font-weight: 700;
	text-underline-offset: 0.2em;
}

.ppro-portfolio-card h3 {
	margin-top: 1.25rem;
}

@media (max-width: 781px) {
	.ppro-section-intro {
		margin-bottom: 1.25rem;
	}

	.ppro-services-grid,
	.ppro-portfolio-grid {
		gap: 1rem;
	}

	.ppro-service-card,
	.ppro-portfolio-card {
		margin-bottom: 1rem;
	}
}

/* First screen dimensions and composition from /new. */
        .ppro-hero {padding:40px 0 32px;background:#050507;}
        .ppro-hero > .wp-block-columns:first-child {width:calc(100% - 32px);position:relative;isolation:isolate;display:flex;align-items:center;min-height:600px;gap:0;overflow:hidden;border:1px solid #603035;border-radius:16px;background:#111114;box-shadow:0 24px 64px #0006,inset 0 1px 0 #ffffff0a;}
        .ppro-hero > .wp-block-columns:first-child::after {content:'';position:absolute;z-index:2;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(90deg,#ff3333,transparent) top left / 180px 2px no-repeat;}
        .ppro-hero > .wp-block-columns:first-child .wp-block-column:first-child {position:relative;z-index:1;width:57%;padding:52px 0 52px max(52px, calc((100vw - 1272px) / 2));}
        .ppro-hero > .wp-block-columns:first-child .wp-block-column:first-child h1 {font-size:clamp(44px,4.5vw,62px);line-height:1.08;letter-spacing:-.05em;margin-bottom:24px;}
        .ppro-hero > .wp-block-columns:first-child .ppro-hero-intro {max-width:405px;font-size:17px;line-height:1.75;margin-bottom:28px;}
        .ppro-hero > .wp-block-columns:first-child .wp-block-buttons {gap:20px;}
        .ppro-hero > .wp-block-columns:first-child .ppro-hero-caption {font-size:13px;margin-top:26px;color:#c3c3cb;}
        .ppro-hero > .wp-block-columns:first-child .wp-block-column:last-child {position:absolute;z-index:0;inset:0 0 0 auto;width:65%;border:0;border-radius:0;background:#111114;}
        .ppro-hero > .wp-block-columns:first-child .wp-block-column:last-child picture {display:block;width:100%;height:100%;}
        .ppro-hero > .wp-block-columns:first-child .wp-block-column:last-child img {width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:58% center;filter:brightness(.85) saturate(.65);}
        .ppro-hero > .wp-block-columns:first-child .wp-block-column:last-child::after {inset:0;width:auto;height:auto;box-shadow:none;background:linear-gradient(90deg,#111114 0%,#111114ed 12%,#11111480 32%,transparent 58%),linear-gradient(0deg,#111114b3,transparent 35%);}
        .ppro-hero > .wp-block-columns:first-child .wp-block-column:last-child .ppro-hero-image-caption {z-index:1;inset:auto 0 0 auto;padding:24px 28px;background:none;color:#ececf0;font-size:12px;}
        .ppro-hero .ppro-assurance-row {margin-top:24px;padding:24px 28px;gap:32px;background:#0d0d10;border:1px solid #30262a;border-radius:12px;}
        .ppro-hero .ppro-assurance-row p {padding-left:16px;border-left:2px solid #cc2222;}
        .ppro-hero > .wp-block-columns:first-child .is-style-outline .wp-block-button__link {min-height:44px;display:inline-flex;align-items:center;gap:16px;}
        @media(min-width:768px) and (max-width:1100px){
            .ppro-hero > .wp-block-columns:first-child {min-height:560px;}
            .ppro-hero > .wp-block-columns:first-child .wp-block-column:first-child {width:63%;padding:36px;}
            .ppro-hero > .wp-block-columns:first-child .wp-block-column:first-child h1 {font-size:46px;}
            .ppro-hero > .wp-block-columns:first-child .ppro-hero-intro {max-width:340px;font-size:16px;}
            .ppro-hero > .wp-block-columns:first-child .wp-block-buttons {gap:12px;}
            .ppro-hero > .wp-block-columns:first-child .wp-block-column:last-child {width:64%;}
            .ppro-hero > .wp-block-columns:first-child .wp-block-column:last-child::after {background:linear-gradient(90deg,#111114,#111114d9 25%,#11111455 65%,transparent);}
        }
        @media(max-width:767px){
            .ppro-hero {padding:24px 0;}
            .ppro-hero > .wp-block-columns:first-child {width:calc(100% - 24px);display:flex;flex-direction:column;align-items:stretch;min-height:0;border-radius:14px;}
            .ppro-hero > .wp-block-columns:first-child .wp-block-column:first-child {width:100%;padding:32px 24px 0;}
            .ppro-hero > .wp-block-columns:first-child .wp-block-column:first-child h1 {font-size:clamp(32px,7.8vw,52px);margin-bottom:20px;}
            .ppro-hero > .wp-block-columns:first-child .ppro-hero-intro {font-size:16px;max-width:440px;margin-bottom:24px;}
            .ppro-hero > .wp-block-columns:first-child .wp-block-buttons {gap:12px 20px;}
            .ppro-hero > .wp-block-columns:first-child .ppro-hero-caption {font-size:12px;margin-top:18px;}
            .ppro-hero > .wp-block-columns:first-child .wp-block-column:last-child {position:relative;inset:auto;width:100%;height:auto;aspect-ratio:1.45;margin-top:0;}
            .ppro-hero > .wp-block-columns:first-child .wp-block-column:last-child img {object-position:center 65%;}
            .ppro-hero > .wp-block-columns:first-child .wp-block-column:last-child::after {background:linear-gradient(180deg,#111114,transparent 32%),linear-gradient(0deg,#111114a6,transparent 26%);}
            .ppro-hero > .wp-block-columns:first-child .wp-block-column:last-child .ppro-hero-image-caption {padding:16px 20px;font-size:11px;}
            .ppro-hero .ppro-assurance-row {margin-top:16px;padding:24px;gap:20px;}
        }
        @media(max-width:379px){
            .ppro-hero > .wp-block-columns:first-child .wp-block-column:first-child {padding:28px 20px 0;}
            .ppro-hero > .wp-block-columns:first-child .is-style-fill .wp-block-button__link {width:100%;}
            .ppro-hero > .wp-block-columns:first-child .wp-block-column:last-child {aspect-ratio:1.2;}
        }


.ppro-hero {max-width:none!important;padding-bottom:48px;background:#050507;}
.ppro-hero > .wp-block-columns:first-child {max-width:none;margin:0 auto;box-sizing:border-box;}
.ppro-hero > .wp-block-columns:first-child > .wp-block-column:first-child {flex:none!important;box-sizing:border-box;min-width:0;}
.ppro-hero > .wp-block-columns:first-child > .wp-block-column:last-child {margin:0!important;}
.ppro-hero .wp-block-image {height:100%;border-radius:0;background:none;}
.ppro-hero .wp-block-image img {height:100%;aspect-ratio:auto;object-position:58% center;}
.ppro-hero h1 {max-width:none;overflow-wrap:normal;word-break:normal;font-weight:600;}
.ppro-hero h1 strong {color:#dedee3;font-weight:600;}
.ppro-hero-intro {color:#dedee3;}
.ppro-hero .ppro-eyebrow {color:#ff3333;font-size:13px;letter-spacing:.12em;}
.ppro-hero .is-style-fill .wp-block-button__link {background:#cc0000;border:1px solid #ff3333;border-radius:6px;}
.ppro-hero .is-style-outline .wp-block-button__link {background:none;border:0;color:#e4e4eb;padding-inline:0;}
.ppro-hero .ppro-assurance-row {width:min(1240px,calc(100% - 64px));max-width:none;box-sizing:border-box;margin-inline:auto;}
.ppro-hero .ppro-assurance-row strong {color:#f0f0f4;}
.ppro-hero .ppro-assurance-row p {color:#c8c8d1;}
@media(max-width:767px){
 .ppro-hero .ppro-assurance-row {width:calc(100% - 40px);}
 .ppro-hero .wp-block-image {height:auto;}
 .ppro-hero .wp-block-image img {height:auto;object-position:center 65%;}
}
.ppro-hero > .wp-block-columns:first-child > .wp-block-column:last-child::after {
 content:"";
 position:absolute;
 pointer-events:none;
}
.ppro-hero > .wp-block-columns:first-child > .wp-block-column:last-child > .ppro-hero-image-caption {
 position:absolute;
 z-index:1;
 margin:0;
}
