/* Plastinina.by — editorial, portfolio-first child-theme styles */

:root {
	--p-bg: #fff8f4;
	--p-white: #ffffff;
	--p-bg-muted: #ffeef2;
	--p-bg-wash: #fff6dc;
	--p-navy: #1b2a5e;
	--p-navy-deep: #121c42;
	--p-red: #d92b1f;
	--p-red-dark: #b82319;
	--p-yellow: #ffd100;
	--p-gold: #c9a227;
	--p-text: #1b2a5e;
	--p-text-muted: #4a5680;
	--p-border: rgba(27, 42, 94, 0.16);
	--p-font-display: "Fredoka", "Nunito", system-ui, sans-serif;
	--p-font-body: "Nunito", system-ui, sans-serif;
	--p-fs-body: clamp(1.3rem, 1.6vw, 1.5rem);
	--p-fs-lead: clamp(1.3rem, 1.8vw, 1.5rem);
	--p-fs-h3: clamp(1.55rem, 2.2vw, 1.85rem);
	--p-fs-h2: clamp(2.35rem, 4vw, 3.35rem);
	--p-fs-hero-title: clamp(2.15rem, 4vw, 3.15rem);
	--p-fs-nav: clamp(1.4rem, 1.55vw, 1.5rem);
	--p-fs-eyebrow: clamp(1.05rem, 1.2vw, 1.15rem);
	--p-leading: 1.68;
	--p-leading-tight: 1.12;
	--p-wrap: min(1180px, calc(100% - 2rem));
	--p-space-section: clamp(4.5rem, 8vw, 8rem);
	--p-space-xl: clamp(3rem, 6vw, 5rem);
	--p-space-lg: clamp(2rem, 4vw, 3.5rem);
	--p-space-md: clamp(1.25rem, 2.5vw, 2rem);
	--p-space-sm: 1rem;
	--p-radius: 1.25rem;
	--p-radius-sm: 0.75rem;
	--p-header-h: 6.5rem;
	--p-ui: 220ms;
	--p-reveal: 620ms;
	--p-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
	overflow-x: clip;
	scroll-behavior: smooth;
}

body.plastinina-theme {
	overflow-x: clip;
	background: var(--p-bg);
	color: var(--p-text);
	font-family: var(--p-font-body);
	font-size: var(--p-fs-body);
	line-height: var(--p-leading);
	-webkit-font-smoothing: antialiased;
}

body.plastinina-theme *,
body.plastinina-theme *::before,
body.plastinina-theme *::after {
	box-sizing: border-box;
}

body.plastinina-theme h1,
body.plastinina-theme h2,
body.plastinina-theme h3,
body.plastinina-theme h4 {
	color: var(--p-text);
	font-family: var(--p-font-display);
	font-weight: 700;
	line-height: var(--p-leading-tight);
	letter-spacing: -0.02em;
}

body.plastinina-theme p,
body.plastinina-theme li {
	font-size: var(--p-fs-body);
}

body.plastinina-theme .entry-content h2 {
	margin-block: var(--p-space-lg) 1rem;
	font-size: var(--p-fs-h2);
}

body.plastinina-theme .entry-content h3 {
	margin-block: var(--p-space-md) 0.75rem;
	font-size: var(--p-fs-h3);
}

body.plastinina-theme .entry-content p,
body.plastinina-theme .entry-content ul,
body.plastinina-theme .entry-content ol {
	max-width: 52rem;
}

body.plastinina-theme .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1.4rem;
	border-radius: 999px;
	background: var(--p-red);
	color: var(--p-white);
	font-family: var(--p-font-body);
	font-size: var(--p-fs-body);
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color var(--p-ui) ease;
}

body.plastinina-theme .wp-block-button__link:hover,
body.plastinina-theme .wp-block-button__link:focus {
	background: var(--p-red-dark);
	color: var(--p-white);
}

body.plastinina-theme a {
	color: var(--p-red);
	transition: color var(--p-ui) ease, background-color var(--p-ui) ease, border-color var(--p-ui) ease;
}

body.plastinina-theme .entry-content a,
body.plastinina-theme .p-page__content a {
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.15em;
}

body.plastinina-theme a:hover {
	color: var(--p-red-dark);
}

body.plastinina-theme a:focus-visible,
body.plastinina-theme button:focus-visible,
body.plastinina-theme summary:focus-visible {
	outline: 3px solid var(--p-white);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px var(--p-navy);
}

body.plastinina-theme #outer-wrap,
body.plastinina-theme #wrap,
body.plastinina-theme #main,
body.plastinina-theme #content,
body.plastinina-theme #content-wrap {
	background: transparent;
}

body.plastinina-theme #top-bar-wrap,
body.plastinina-theme .site-breadcrumbs,
body.plastinina-theme .page-header {
	display: none !important;
}

body.plastinina-theme #content-wrap {
	width: 100%;
	max-width: none;
	padding: 0 !important;
}

body.plastinina-theme:not(.plastinina-home) #main {
	padding-top: var(--p-header-h);
}

.p-wrap {
	width: var(--p-wrap);
	margin-inline: auto;
}

.p-section {
	position: relative;
	padding-block: var(--p-space-section);
}

.p-section__head {
	max-width: 50rem;
	margin: 0 0 var(--p-space-lg);
}

.p-section__title,
body.plastinina-theme .p-section__title {
	margin: 0 0 1rem;
	font-size: var(--p-fs-h2);
}

.p-section__lead {
	max-width: 46rem;
	margin: 0;
	color: var(--p-text-muted);
	font-size: var(--p-fs-lead);
	line-height: var(--p-leading);
}

.p-section__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: var(--p-space-md);
	margin-bottom: var(--p-space-lg);
}

.p-eyebrow {
	margin: 0 0 0.75rem;
	color: var(--p-red);
	font-family: var(--p-font-body);
	font-size: var(--p-fs-eyebrow);
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.p-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--p-red);
	font-size: var(--p-fs-body);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.p-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1.4rem;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--p-font-body);
	font-size: var(--p-fs-body);
	font-weight: 800;
	line-height: 1.3;
	text-align: center;
	text-decoration: none !important;
	transition: color var(--p-ui) ease, background-color var(--p-ui) ease, border-color var(--p-ui) ease;
}

.p-btn--primary {
	border-color: var(--p-red);
	background: var(--p-red);
	color: var(--p-white) !important;
}

.p-btn--primary:hover,
.p-btn--primary:focus {
	border-color: var(--p-red-dark);
	background: var(--p-red-dark);
	color: var(--p-white) !important;
}

.p-btn--ghost {
	border-color: currentColor;
	background: transparent;
	color: var(--p-navy) !important;
}

.p-btn--ghost:hover,
.p-btn--ghost:focus {
	border-color: var(--p-navy);
	background: rgba(27, 42, 94, 0.08);
	color: var(--p-navy) !important;
}

.p-btn--highlight {
	border-color: var(--p-yellow);
	background: var(--p-yellow);
	color: var(--p-navy-deep) !important;
}

.p-btn--highlight:hover,
.p-btn--highlight:focus {
	border-color: #e5bc00;
	background: #e5bc00;
	color: var(--p-navy-deep) !important;
}

/* Header */
body.plastinina-theme #site-header,
body.plastinina-home #site-header,
body.plastinina-home #site-header.transparent-header {
	position: fixed !important;
	inset: 0 0 auto;
	z-index: 1000;
	border: 0;
	background: rgba(255, 248, 244, 0.94);
	box-shadow: 0 1px 0 var(--p-border);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: background-color var(--p-ui) ease, box-shadow var(--p-ui) ease;
}

body.plastinina-theme #site-header.p-header-scrolled {
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 8px 24px rgba(18, 28, 66, 0.1);
}

body.plastinina-theme #site-header-inner {
	display: flex !important;
	align-items: center;
	min-height: var(--p-header-h);
}

body.plastinina-theme #site-logo {
	float: none !important;
}

body.plastinina-theme #site-logo .p-site-brand,
body.plastinina-theme #site-logo .site-title {
	color: var(--p-navy);
	font-family: var(--p-font-display);
	font-size: var(--p-fs-h3);
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
}

body.plastinina-theme #site-logo img {
	display: none !important;
}

body.plastinina-theme #site-navigation-wrap {
	float: none !important;
	margin-inline-start: auto;
}

body.plastinina-theme #site-navigation-wrap .dropdown-menu > li > a {
	min-height: 44px;
	padding-inline: 1rem;
	color: var(--p-navy);
	font-family: var(--p-font-body);
	font-size: var(--p-fs-nav);
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: none;
}

body.plastinina-theme #site-navigation-wrap .dropdown-menu > li > a:hover,
body.plastinina-theme #site-navigation-wrap .dropdown-menu > li.current-menu-item > a {
	color: var(--p-red);
}

body.plastinina-theme .oceanwp-mobile-menu-icon a {
	display: inline-flex;
	align-items: center;
	min-width: 44px;
	min-height: 44px;
	color: var(--p-navy);
}

body.plastinina-theme #mobile-dropdown {
	border-color: var(--p-border);
	background: var(--p-white);
}

body.plastinina-theme #mobile-dropdown ul li a {
	min-height: 48px;
	color: var(--p-navy);
	font-family: var(--p-font-body);
	font-size: var(--p-fs-nav);
	font-weight: 700;
}

/* Hero */
.p-hero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: 82vh;
	min-height: 82svh;
	overflow: hidden;
	background: var(--p-navy-deep);
}

.p-hero__media,
.p-hero__veil {
	position: absolute;
	inset: 0;
}

.p-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.p-hero__veil {
	background: linear-gradient(180deg, rgba(18, 28, 66, 0.02) 25%, rgba(18, 28, 66, 0.82) 100%);
}

.p-hero__inner {
	position: relative;
	z-index: 1;
	margin: 0 auto;
	padding-block: calc(var(--p-header-h) + 2rem) clamp(2.5rem, 8vw, 6rem);
	text-align: left;
}

body.plastinina-theme .p-hero__title {
	max-width: 14em;
	margin: 0 0 1rem;
	color: var(--p-white) !important;
	font-size: var(--p-fs-hero-title);
}

body.plastinina-theme .p-hero__lead {
	max-width: 40rem;
	margin: 0 0 1.5rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: var(--p-fs-lead);
}

.p-hero__eyebrow {
	color: var(--p-yellow);
}

.p-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0;
}

.p-hero .p-btn--ghost {
	border-color: rgba(255, 255, 255, 0.72);
	color: var(--p-white) !important;
}

.p-hero .p-btn--ghost:hover,
.p-hero .p-btn--ghost:focus {
	border-color: var(--p-white);
	background: rgba(255, 255, 255, 0.12);
	color: var(--p-white) !important;
}

/* Portfolio */
.p-featured-work {
	background: var(--p-white);
}

.p-work-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: clamp(13rem, 24vw, 22rem);
	gap: 0.8rem;
}

.p-work-grid__item {
	grid-column: span 4;
	margin: 0;
	overflow: hidden;
	border-radius: var(--p-radius-sm);
	background: var(--p-bg-muted);
}

.p-work-grid__item:first-child,
.p-work-grid__item:nth-child(5n) {
	grid-column: span 8;
}

.p-work-grid__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--p-ui) ease;
}

.p-work-grid__item:hover .p-work-grid__image {
	transform: scale(1.025);
}

/* Services */
.p-services {
	background: var(--p-bg);
}

.p-services__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--p-space-lg);
}

.p-service {
	min-width: 0;
}

.p-service__hit {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: var(--p-space-md);
	height: 100%;
	color: inherit !important;
	text-decoration: none !important;
}

.p-service__visual {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--p-radius);
	background: var(--p-bg-muted);
}

.p-service__visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--p-ui) ease;
}

.p-service__hit:hover .p-service__visual img,
.p-service__hit:focus-visible .p-service__visual img {
	transform: scale(1.025);
}

.p-service__title {
	margin: 0 0 0.65rem;
	font-size: var(--p-fs-h3);
}

.p-service__text {
	margin: 0;
	color: var(--p-text-muted);
	font-size: var(--p-fs-body);
}

/* Process */
.p-process {
	background: var(--p-bg-wash);
}

.p-home-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--p-space-md);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: p-step;
}

.p-home-steps li {
	counter-increment: p-step;
	padding-block-start: 1rem;
	border-top: 3px solid var(--p-yellow);
}

.p-home-steps li::before {
	content: "0" counter(p-step);
	display: block;
	margin-bottom: var(--p-space-md);
	color: var(--p-red);
	font-family: var(--p-font-display);
	font-size: var(--p-fs-h3);
	font-weight: 700;
}

.p-home-steps h3 {
	margin: 0 0 0.5rem;
	font-size: var(--p-fs-h3);
}

.p-home-steps p {
	margin: 0;
	color: var(--p-text-muted);
}

/* About and Instagram */
.p-about {
	background: var(--p-bg-muted);
}

.p-about__grid {
	display: grid;
	grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.25fr);
	align-items: center;
	gap: var(--p-space-xl);
}

.p-about__visual {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--p-radius);
}

.p-about__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-about__title {
	display: grid;
}

.p-about__title-brand {
	color: var(--p-red);
	font-size: var(--p-fs-h3);
}

.p-about__text {
	max-width: 42rem;
	margin: 0 0 1rem;
	color: var(--p-text-muted);
}

.p-about__meta {
	margin: 0.25rem 0;
	font-weight: 800;
}

.p-instagram {
	background: var(--p-white);
}

.p-instagram__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.8rem;
}

.p-instagram__item {
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--p-radius-sm);
	background: var(--p-bg-muted);
}

.p-instagram__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--p-ui) ease;
}

.p-instagram__item:hover img,
.p-instagram__item:focus-visible img {
	transform: scale(1.025);
}

/* CTA */
.p-contact-band,
.p-svc-final {
	background: var(--p-navy-deep);
	color: var(--p-white);
}

.p-contact-band__inner,
.p-svc-final {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: var(--p-space-lg);
}

.p-contact-band .p-section__title,
.p-svc-final h2 {
	color: var(--p-white);
}

.p-contact-band .p-section__lead,
.p-svc-final p {
	color: rgba(255, 255, 255, 0.82);
}

.p-contact-band .p-btn--ghost {
	border-color: rgba(255, 255, 255, 0.65);
	color: var(--p-white) !important;
}

/* Inner pages */
.p-page {
	padding-block: var(--p-space-xl) var(--p-space-section);
	background: var(--p-bg);
}

.p-page__content {
	max-width: 48rem;
	margin-block: var(--p-space-lg);
	color: var(--p-text-muted);
}

.p-page__content--wide {
	max-width: none;
}

.p-page-hero,
.p-svc-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.85fr);
	align-items: center;
	gap: var(--p-space-xl);
	margin-bottom: var(--p-space-section);
}

.p-page-hero__copy .p-btn,
.p-svc-hero__copy .p-btn {
	margin-top: var(--p-space-md);
}

.p-page-hero__media,
.p-svc-hero__media {
	aspect-ratio: 4 / 5;
	margin: 0;
	overflow: hidden;
	border-radius: var(--p-radius);
}

.p-page-hero__media img,
.p-svc-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-hub-section,
.p-svc {
	margin-block: var(--p-space-section);
}

.p-format-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--p-border);
}

.p-format-grid article {
	padding: var(--p-space-md);
	border-bottom: 1px solid var(--p-border);
}

.p-format-grid article:nth-child(odd) {
	border-right: 1px solid var(--p-border);
}

.p-format-grid h3 {
	margin: 0 0 0.5rem;
	font-size: var(--p-fs-h3);
}

.p-format-grid p {
	margin: 0;
	color: var(--p-text-muted);
}

/* Long-form services */
.p-svc__title,
body.plastinina-theme .p-svc__title {
	margin: 0 0 var(--p-space-md);
	font-size: var(--p-fs-h2);
}

.p-svc__text,
.p-svc__list,
.p-svc-aud__text,
.p-svc-step__text {
	color: var(--p-text-muted);
	font-size: var(--p-fs-body);
}

.p-svc__text {
	max-width: 52rem;
}

.p-svc__list {
	margin: 0;
	padding-inline-start: 1.25em;
}

.p-svc__list li {
	margin-block: 0.6rem;
}

.p-svc__list li::marker {
	color: var(--p-red);
}

.p-svc-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--p-space-xl);
}

.p-svc-columns .p-svc {
	margin-block: 0 var(--p-space-section);
}

.p-svc--audience {
	display: grid;
	gap: var(--p-space-md);
}

.p-svc-aud__item {
	padding-block-start: 1rem;
	border-top: 2px solid var(--p-yellow);
}

.p-svc-aud__title {
	margin: 0 0 0.4rem;
	font-size: var(--p-fs-h3);
}

.p-svc-aud__text {
	margin: 0;
}

.p-svc--steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--p-space-md);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: p-service-step;
}

.p-svc-step {
	counter-increment: p-service-step;
}

.p-svc-step::before {
	content: counter(p-service-step);
	display: grid;
	width: 3rem;
	aspect-ratio: 1;
	margin-bottom: 1rem;
	border: 2px solid var(--p-red);
	border-radius: 50%;
	place-items: center;
	color: var(--p-red);
	font-family: var(--p-font-display);
	font-size: var(--p-fs-h3);
	font-weight: 700;
}

.p-svc-step__title {
	margin: 0 0 0.5rem;
	font-size: var(--p-fs-h3);
}

.p-related {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.p-related a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.5rem 1rem;
	border: 1px solid var(--p-border);
	border-radius: 999px;
	color: var(--p-navy);
	font-size: var(--p-fs-body);
	font-weight: 800;
	text-decoration: none;
}

.p-related a:hover,
.p-related a:focus {
	border-color: var(--p-red);
	color: var(--p-red);
}

.p-faq {
	border-top: 1px solid var(--p-border);
}

.p-faq:last-child {
	border-bottom: 1px solid var(--p-border);
}

.p-faq summary {
	min-height: 52px;
	padding-block: 1rem;
	cursor: pointer;
	color: var(--p-navy);
	font-family: var(--p-font-display);
	font-size: var(--p-fs-h3);
	font-weight: 700;
}

.p-faq p {
	max-width: 50rem;
	margin: 0;
	padding: 0 0 1.25rem;
	color: var(--p-text-muted);
}

.p-svc-final {
	margin-top: var(--p-space-section);
	padding: var(--p-space-lg);
	border-radius: var(--p-radius);
}

.p-svc-final h2 {
	margin: 0 0 0.5rem;
	font-size: var(--p-fs-h2);
}

.p-svc-final p {
	max-width: 46rem;
	margin: 0;
}

/* Gallery */
.p-gallery-content .wp-block-gallery,
.p-svc--gallery .wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 0.8rem;
}

.p-gallery-content .wp-block-image,
.p-svc--gallery .wp-block-image {
	grid-column: span 4;
	margin: 0 !important;
	overflow: hidden;
	border-radius: var(--p-radius-sm);
}

.p-gallery-content .wp-block-image:nth-child(5n + 1),
.p-svc--gallery .wp-block-image:nth-child(5n + 1) {
	grid-column: span 8;
}

.p-gallery-content .wp-block-image img,
.p-svc--gallery .wp-block-image img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform var(--p-ui) ease;
}

.p-gallery-content .wp-block-image:hover img,
.p-svc--gallery .wp-block-image:hover img {
	transform: scale(1.025);
}

.p-empty-state {
	max-width: 48rem;
	padding: var(--p-space-lg);
	border: 1px solid var(--p-border);
	border-radius: var(--p-radius);
	background: var(--p-white);
}

.p-empty-state h2 {
	margin: 0 0 0.75rem;
	font-size: var(--p-fs-h3);
}

.p-empty-state p {
	margin: 0 0 1.25rem;
	color: var(--p-text-muted);
}

/* Contacts */
.p-contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
	gap: var(--p-space-xl);
	align-items: start;
}

.p-contact-list {
	display: grid;
	gap: 0;
	max-width: 42rem;
	margin: var(--p-space-lg) 0 0;
	padding: 0;
	list-style: none;
}

.p-contact-list li {
	display: grid;
	grid-template-columns: 9rem 1fr;
	gap: 1rem;
	padding-block: 0.8rem;
	border-top: 1px solid var(--p-border);
}

.p-contact-list li > span {
	color: var(--p-text-muted);
}

.p-contact-list a {
	font-weight: 800;
}

.p-contact-note {
	padding: var(--p-space-lg);
	border-radius: var(--p-radius);
	background: var(--p-bg-wash);
}

.p-contact-note h2 {
	margin: 0 0 1rem;
	font-size: var(--p-fs-h3);
}

.p-contact-note ol {
	margin: 0;
	padding-inline-start: 1.2em;
}

.p-contact-note li {
	margin-block: 0.5rem;
}

.p-messengers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-block: var(--p-space-lg);
}

.p-messenger {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 48px;
	padding: 0.65rem 1.1rem;
	border-radius: 999px;
	color: var(--p-white) !important;
	font-size: var(--p-fs-body);
	font-weight: 800;
	text-decoration: none !important;
	transition: filter var(--p-ui) ease;
}

.p-messenger:hover,
.p-messenger:focus {
	filter: brightness(0.9);
	color: var(--p-white) !important;
}

.p-messenger--viber {
	background: #6552b9;
}

.p-messenger--telegram {
	background: #167ca8;
}

.p-messenger--whatsapp {
	background: #167c3a;
}

.p-messenger__icon {
	display: inline-flex;
}

/* Footer */
body.plastinina-theme #footer-bottom,
body.plastinina-theme #footer-widgets {
	display: none !important;
}

.p-footer {
	padding-block: var(--p-space-xl) 1.5rem;
	background: var(--p-navy-deep);
	color: rgba(255, 255, 255, 0.82);
}

.p-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr 0.8fr 1fr 0.9fr;
	gap: var(--p-space-lg);
}

.p-footer__name,
.p-footer__title {
	margin: 0 0 0.8rem;
	color: var(--p-white);
	font-family: var(--p-font-display);
	font-size: var(--p-fs-h3);
	font-weight: 700;
}

.p-footer p {
	margin: 0 0 0.5rem;
}

.p-footer__links {
	display: grid;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.p-footer a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--p-white) !important;
	text-decoration: none;
}

.p-footer a:hover,
.p-footer a:focus {
	color: var(--p-yellow) !important;
}

.p-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: var(--p-space-lg);
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

/* Motion */
.p-fade-up {
	opacity: 1;
	transform: none;
}

html.js .p-fade-up {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity var(--p-reveal) var(--p-ease), transform var(--p-reveal) var(--p-ease);
}

html.js .p-fade-up.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Responsive */
@media (max-width: 959px) {
	:root {
		--p-header-h: 5.5rem;
	}

	.p-services__grid,
	.p-page-hero,
	.p-svc-hero,
	.p-contact-layout {
		grid-template-columns: 1fr;
	}

	.p-page-hero__media,
	.p-svc-hero__media {
		aspect-ratio: 16 / 9;
	}

	.p-svc--steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.p-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.p-hero {
		min-height: 82vh;
		min-height: 82svh;
	}

	.p-hero__inner {
		padding-bottom: 2.5rem;
	}

	.p-hero__actions,
	.p-contact-band__inner,
	.p-svc-final,
	.p-section__bar,
	.p-footer__bottom {
		flex-direction: column;
		align-items: stretch;
	}

	.p-hero__actions .p-btn,
	.p-contact-band .p-btn,
	.p-svc-final .p-btn {
		width: 100%;
	}

	.p-services__grid,
	.p-format-grid,
	.p-svc-columns,
	.p-home-steps,
	.p-svc--steps,
	.p-about__grid {
		grid-template-columns: 1fr;
	}

	.p-service__hit {
		grid-template-columns: 1fr;
	}

	.p-service__visual {
		aspect-ratio: 16 / 10;
	}

	.p-format-grid article:nth-child(odd) {
		border-right: 0;
	}

	.p-home-steps,
	.p-svc--steps {
		gap: var(--p-space-lg);
	}

	.p-work-grid,
	.p-gallery-content .wp-block-gallery,
	.p-svc--gallery .wp-block-gallery {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
	}

	.p-work-grid__item,
	.p-work-grid__item:first-child,
	.p-work-grid__item:nth-child(5n),
	.p-gallery-content .wp-block-image,
	.p-gallery-content .wp-block-image:nth-child(5n + 1),
	.p-svc--gallery .wp-block-image,
	.p-svc--gallery .wp-block-image:nth-child(5n + 1) {
		grid-column: auto;
	}

	.p-work-grid__item {
		aspect-ratio: 4 / 3;
	}

	.p-instagram__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.p-about__visual {
		aspect-ratio: 4 / 3;
	}

	.p-contact-list li {
		grid-template-columns: 1fr;
		gap: 0.15rem;
	}

	.p-footer__grid {
		grid-template-columns: 1fr;
	}
}

@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;
	}

	.p-fade-up,
	html.js .p-fade-up {
		opacity: 1;
		transform: none;
	}
}
