/*
Theme Name: PolisMarket Pro
Theme URI: https://polismarket.com.ua/
Author: PolisMarket
Description: Modern insurance landing theme for PolisMarket.
Version: 2.2.3
Requires at least: 6.0
Tested up to: 7.0
Text Domain: polismarket-pro
*/

@font-face {
	font-family: Inter;
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/inter-cyrillic-ext.woff2") format("woff2");
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
	font-family: Inter;
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/inter-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: Inter;
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/inter-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+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url("assets/fonts/montserrat-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url("assets/fonts/montserrat-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+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--pm-navy: #0c1157;
	--pm-blue: #543dd8;
	--pm-blue-dark: #4530bd;
	--pm-blue-soft: #eeecfd;
	--pm-green: #3e9d39;
	--pm-green-dark: #33842f;
	--pm-green-soft: #eaf5ea;
	--pm-ink: #101333;
	--pm-muted: #626984;
	--pm-line: #e8ebf3;
	--pm-soft: #f6f7fb;
	--pm-white: #ffffff;
	--pm-shadow: 0 18px 45px rgba(12, 17, 69, 0.10);
	--pm-shadow-soft: 0 10px 30px rgba(12, 17, 87, 0.06);
	--pm-radius: 8px;
	--pm-radius-card: 20px;
	--pm-radius-btn: 12px;
	--pm-width: 1280px;
	--pm-font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--pm-font-head: Montserrat, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

[id] {
	scroll-margin-top: 28px;
}

body {
	margin: 0;
	background: var(--pm-white);
	color: var(--pm-ink);
	font-family: var(--pm-font);
	font-size: 16px;
	line-height: 1.55;
	letter-spacing: 0;
}

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

img {
	display: block;
	max-width: 100%;
}

.pm-page {
	min-height: 100vh;
	overflow: hidden;
	background:
		radial-gradient(circle at 10% 0%, rgba(38, 166, 65, 0.07), transparent 30%),
		linear-gradient(180deg, #ffffff 0%, #fbfcff 48%, #ffffff 100%);
}

.pm-container {
	width: min(var(--pm-width), calc(100% - 40px));
	margin: 0 auto;
}

/* ---------------------------------------------------------------------
 * Site header
 *
 * Static bar (no sticky, no motion) per the approved design. The same <ul>
 * is the desktop menu and the mobile panel: below 980px the panel is hidden
 * behind the burger and the dropdowns become JS accordions.
 * ------------------------------------------------------------------ */

.pm-header {
	position: relative;
	z-index: 40;
	border-bottom: 1px solid var(--pm-line);
	background: var(--pm-white);
}

.pm-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(20px, 2.6vw, 40px);
	min-height: 128px;
	padding: 16px 0;
}

.pm-brand {
	display: inline-flex;
	flex: 0 0 auto;
	gap: 12px;
	align-items: center;
	min-width: 0;
}

.pm-brand__mark {
	display: grid;
	width: 42px;
	height: 46px;
	place-items: center;
	color: var(--pm-navy);
}

.pm-brand__mark svg {
	display: block;
	width: 100%;
	height: 100%;
}

.pm-brand__text {
	display: block;
}

.pm-brand__name {
	display: block;
	color: var(--pm-navy);
	font-family: var(--pm-font-head);
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.1;
}

.pm-brand__name span {
	color: var(--pm-green);
}

.pm-brand__tagline {
	display: block;
	margin-top: 2px;
	color: var(--pm-muted);
	font-size: 11.5px;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

.pm-nav {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	min-width: 0;
}

.pm-nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(14px, 3.1vw, 44px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pm-nav__item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 2px;
}

.pm-nav__link {
	display: inline-block;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	color: var(--pm-navy);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	transition: color 140ms ease, border-color 140ms ease;
}

.pm-nav__link:hover,
.pm-nav__link:focus-visible {
	color: var(--pm-green);
}

.pm-nav__link.is-current {
	border-bottom-color: var(--pm-green);
	color: var(--pm-green);
}

.pm-nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: none;
	color: var(--pm-navy);
	cursor: pointer;
}

.pm-nav__toggle svg {
	display: block;
	width: 16px;
	height: 16px;
}

.pm-submenu {
	position: absolute;
	top: calc(100% + 14px);
	left: -14px;
	z-index: 20;
	display: none;
	min-width: 268px;
	margin: 0;
	padding: 8px;
	border: 1px solid var(--pm-line);
	border-radius: 16px;
	background: var(--pm-white);
	box-shadow: var(--pm-shadow);
	list-style: none;
}

.pm-submenu::before {
	position: absolute;
	top: -14px;
	left: 0;
	width: 100%;
	height: 14px;
	content: "";
}

.pm-nav__item--parent:hover .pm-submenu,
.pm-nav__item--parent:focus-within .pm-submenu,
.pm-submenu.is-open {
	display: block;
}

.pm-submenu a {
	display: block;
	padding: 9px 12px;
	border-radius: 10px;
	color: var(--pm-ink);
	font-size: 15px;
	line-height: 1.35;
	transition: background-color 140ms ease, color 140ms ease;
}

.pm-submenu a:hover,
.pm-submenu a:focus-visible {
	background: var(--pm-soft);
	color: var(--pm-blue);
}

.pm-nav__actions {
	display: none;
}

.pm-header__aside {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.pm-header__contacts {
	display: grid;
	gap: 8px;
	justify-items: stretch;
}

.pm-header__call,
.pm-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--pm-line);
	border-radius: 12px;
	background: var(--pm-white);
	color: var(--pm-navy);
	cursor: pointer;
}

.pm-header__call svg,
.pm-burger svg {
	display: block;
	width: 22px;
	height: 22px;
}

.pm-burger__close {
	display: none;
}

.pm-burger[aria-expanded="true"] .pm-burger__open {
	display: none;
}

.pm-burger[aria-expanded="true"] .pm-burger__close {
	display: block;
}

.pm-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid var(--pm-line);
	border-radius: 999px;
	background: var(--pm-white);
	color: var(--pm-navy);
	font-size: 14.5px;
	font-weight: 600;
	white-space: nowrap;
	box-shadow: var(--pm-shadow-soft);
	transition: border-color 140ms ease, color 140ms ease;
}

.pm-pill:hover,
.pm-pill:focus-visible {
	border-color: #cfd4e6;
}

.pm-pill svg {
	color: var(--pm-blue);
}

.pm-pill--telegram {
	color: var(--pm-blue);
}

.pm-pill svg,
.pm-icon svg,
.pm-button svg {
	display: block;
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
}

.pm-kicker svg {
	display: block;
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.pm-hero {
	display: grid;
	grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
	gap: clamp(30px, 3.6vw, 48px);
	align-items: start;
	padding: 18px 0 8px;
}

.pm-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(59, 37, 185, 0.08);
	color: var(--pm-blue);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.pm-hero h1 {
	max-width: 640px;
	margin: 0;
	color: var(--pm-navy);
	font-size: 50px;
	line-height: 1.08;
	font-weight: 900;
	letter-spacing: 0;
}

.pm-hero h1 span {
	color: var(--pm-green);
}

.pm-lead {
	max-width: 590px;
	margin: 22px 0 0;
	color: #20264b;
	font-size: clamp(18px, 2vw, 21px);
	line-height: 1.68;
}

.pm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.pm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 14px 26px;
	border-radius: var(--pm-radius-btn);
	border: 1px solid transparent;
	color: var(--pm-white);
	font: inherit;
	font-size: 15.5px;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.pm-button--primary,
.pm-button--green {
	background: var(--pm-green);
}

.pm-button--primary:hover,
.pm-button--primary:focus-visible,
.pm-button--green:hover,
.pm-button--green:focus-visible {
	background: var(--pm-green-dark);
}

.pm-button--violet {
	background: var(--pm-blue);
}

.pm-button--violet:hover,
.pm-button--violet:focus-visible {
	background: var(--pm-blue-dark);
}

.pm-button--secondary {
	background: var(--pm-white);
	border-color: var(--pm-line);
	color: var(--pm-navy);
}

.pm-button--secondary:hover,
.pm-button--secondary:focus-visible {
	border-color: #cfd4e6;
}

.pm-button--outline {
	background: var(--pm-white);
	border-color: var(--pm-line);
	color: var(--pm-blue);
	box-shadow: var(--pm-shadow-soft);
}

.pm-button--outline:hover,
.pm-button--outline:focus-visible {
	border-color: var(--pm-blue);
}

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

:where(a, button, input, summary):focus-visible {
	outline: 2px solid var(--pm-blue);
	outline-offset: 2px;
}

.pm-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #f1efff;
	color: var(--pm-blue);
	line-height: 0;
}

.pm-icon--green {
	background: var(--pm-green-soft);
	color: var(--pm-green);
}

.pm-section {
	padding: 52px 0;
}

.pm-section--compact {
	padding-top: 30px;
}

.pm-section__head {
	max-width: 720px;
	margin: 0 auto 26px;
	text-align: center;
}

.pm-section__head h2 {
	margin: 0;
	color: var(--pm-navy);
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.15;
	font-weight: 900;
}

.pm-section__head p {
	margin: 10px 0 0;
	color: var(--pm-muted);
	font-size: 16px;
}

.pm-services {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.pm-card {
	position: relative;
	display: grid;
	grid-template-columns: 54px 1fr;
	gap: 14px;
	min-height: 154px;
	padding: 22px;
	border: 1px solid var(--pm-line);
	border-radius: var(--pm-radius);
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 10px 28px rgba(8, 11, 69, 0.04);
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.pm-card--interactive {
	width: 100%;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.pm-card--interactive:focus-visible {
	outline: 3px solid rgba(38, 166, 65, 0.26);
	outline-offset: 3px;
}

.pm-card:hover {
	z-index: 50;
	transform: translateY(-3px);
	border-color: rgba(38, 166, 65, 0.24);
	box-shadow: 0 16px 38px rgba(8, 11, 69, 0.08);
}

.pm-card h3 {
	margin: 0 0 8px;
	color: var(--pm-navy);
	font-size: 17px;
	line-height: 1.25;
	font-weight: 850;
}

.pm-card p {
	margin: 0;
	color: #333957;
	font-size: 13.5px;
	line-height: 1.55;
}

.pm-card--wide {
	grid-column: 2 / span 2;
}

.pm-card-popover {
	position: absolute;
	top: calc(100% + 12px);
	left: 18px;
	z-index: 60;
	display: grid;
	gap: 8px;
	width: min(420px, calc(100vw - 56px));
	padding: 18px;
	border: 1px solid rgba(38, 166, 65, 0.18);
	border-radius: var(--pm-radius);
	background: var(--pm-white);
	box-shadow: 0 22px 54px rgba(8, 11, 69, 0.16);
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
	visibility: hidden;
}

.pm-card-popover::before {
	position: absolute;
	top: -7px;
	left: 28px;
	width: 14px;
	height: 14px;
	border-top: 1px solid rgba(38, 166, 65, 0.18);
	border-left: 1px solid rgba(38, 166, 65, 0.18);
	background: var(--pm-white);
	content: "";
	transform: rotate(45deg);
}

.pm-card-popover strong {
	color: var(--pm-navy);
	font-size: 18px;
	line-height: 1.2;
}

.pm-card-popover span {
	color: #333957;
	font-size: 14px;
	line-height: 1.55;
}

.pm-card-popover em {
	color: var(--pm-green);
	font-size: 13px;
	font-style: normal;
	font-weight: 800;
}

.pm-card--interactive:hover .pm-card-popover,
.pm-card--interactive:focus-visible .pm-card-popover {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.pm-service-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.pm-service-modal.is-open {
	display: flex;
}

.pm-service-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 11, 69, 0.42);
	backdrop-filter: blur(8px);
}

.pm-service-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(760px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	padding: 34px;
	border: 1px solid rgba(232, 235, 243, 0.95);
	border-radius: var(--pm-radius);
	background:
		radial-gradient(circle at 8% 0%, rgba(38, 166, 65, 0.08), transparent 34%),
		var(--pm-white);
	box-shadow: 0 30px 90px rgba(8, 11, 69, 0.26);
}

.pm-service-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--pm-line);
	border-radius: 50%;
	background: var(--pm-white);
	color: var(--pm-navy);
	font: inherit;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(8, 11, 69, 0.08);
}

.pm-service-modal__top {
	display: grid;
	grid-template-columns: 60px 1fr;
	gap: 16px;
	align-items: center;
	padding-right: 44px;
}

.pm-service-modal__eyebrow {
	margin: 0 0 4px;
	color: var(--pm-green);
	font-size: 13px;
	font-weight: 850;
	text-transform: uppercase;
}

.pm-service-modal__top h3 {
	margin: 0;
	color: var(--pm-navy);
	font-size: clamp(28px, 3.2vw, 40px);
	line-height: 1.08;
	font-weight: 900;
}

.pm-service-modal__description,
.pm-service-modal__note {
	margin: 22px 0 0;
	color: #333957;
	font-size: 17px;
	line-height: 1.72;
}

.pm-service-modal__documents {
	margin-top: 26px;
	padding: 22px;
	border: 1px solid var(--pm-line);
	border-radius: var(--pm-radius);
	background: rgba(247, 248, 255, 0.72);
}

.pm-service-modal__documents h4 {
	margin: 0 0 16px;
	color: var(--pm-navy);
	font-size: 20px;
	line-height: 1.2;
}

.pm-service-modal__documents ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pm-service-modal__documents li {
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 10px;
	align-items: center;
	min-height: 58px;
	padding: 12px;
	border: 1px solid rgba(232, 235, 243, 0.92);
	border-radius: var(--pm-radius);
	background: var(--pm-white);
	color: #20264b;
	font-weight: 750;
	line-height: 1.35;
}

.pm-service-modal__documents li:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

.pm-service-modal__documents li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--pm-green-soft);
	font-size: 22px;
}

.pm-service-modal__note {
	padding-left: 18px;
	border-left: 4px solid var(--pm-green);
}

.pm-service-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.pm-contact-modal__dialog {
	width: min(640px, 100%);
}

.pm-contact-modal__intro {
	margin: 18px 0 0;
	color: #333957;
	font-size: 17px;
	line-height: 1.65;
}

.pm-contact-modal__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 24px;
}

.pm-contact-choice {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 12px;
	align-items: center;
	min-height: 78px;
	padding: 16px;
	border: 1px solid var(--pm-line);
	border-radius: var(--pm-radius);
	background: rgba(255, 255, 255, 0.9);
	color: var(--pm-navy);
	box-shadow: 0 12px 28px rgba(8, 11, 69, 0.05);
	transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.pm-contact-choice:hover {
	transform: translateY(-2px);
	border-color: rgba(38, 166, 65, 0.26);
	box-shadow: 0 16px 34px rgba(8, 11, 69, 0.09);
}

.pm-contact-choice__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #f0edff;
	color: var(--pm-blue);
}

.pm-contact-choice__icon svg {
	width: 24px;
	height: 24px;
}

.pm-contact-choice--green .pm-contact-choice__icon {
	background: var(--pm-green-soft);
	color: var(--pm-green);
}

.pm-contact-choice__body,
.pm-contact-choice__body strong,
.pm-contact-choice__body span {
	display: block;
}

.pm-contact-choice__body strong {
	font-size: 17px;
	line-height: 1.2;
	font-weight: 850;
}

.pm-contact-choice__body span {
	margin-top: 4px;
	color: var(--pm-muted);
	font-size: 14px;
	line-height: 1.3;
}

.pm-about-modal__dialog {
	width: min(720px, 100%);
}

.pm-about-modal__text p {
	margin: 0;
}

.pm-about-modal__text p + p {
	margin-top: 16px;
}

.pm-about-modal__text strong {
	color: var(--pm-navy);
	font-weight: 850;
}

body.pm-modal-open {
	overflow: hidden;
}

.pm-band {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	border: 1px solid var(--pm-line);
	border-radius: var(--pm-radius);
	background: var(--pm-line);
	box-shadow: var(--pm-shadow);
}

.pm-feature {
	display: grid;
	grid-template-columns: 50px 1fr;
	gap: 14px;
	padding: 26px 24px;
	background: #fbfaff;
}

.pm-feature h3 {
	margin: 0 0 6px;
	color: var(--pm-navy);
	font-size: 16px;
	font-weight: 850;
}

.pm-feature p {
	margin: 0;
	color: var(--pm-muted);
	font-size: 13.5px;
	line-height: 1.55;
}

/* ---------------------------------------------------------------------
 * Site footer — the existing dark band, re-laid out for the new columns.
 * ------------------------------------------------------------------ */

.pm-footer {
	margin-top: clamp(44px, 5vw, 72px);
	padding: clamp(38px, 4.2vw, 56px) 0 0;
	background:
		radial-gradient(circle at 18% 0%, rgba(84, 61, 216, 0.22), transparent 32%),
		linear-gradient(135deg, #061c46 0%, #021b40 52%, #052858 100%);
	color: rgba(255, 255, 255, 0.76);
	font-size: 15px;
}

.pm-footer__grid {
	display: grid;
	grid-template-columns: 1.45fr 1fr 1fr 1.15fr;
	gap: clamp(28px, 3.2vw, 44px);
	padding-bottom: clamp(30px, 3.4vw, 44px);
}

.pm-footer__brand,
.pm-footer__nav,
.pm-footer__contacts {
	min-width: 0;
}

.pm-footer__nav,
.pm-footer__contacts {
	padding-left: clamp(20px, 2.4vw, 40px);
	border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.pm-footer-logo {
	display: inline-flex;
	gap: 12px;
	align-items: center;
	color: var(--pm-white);
}

.pm-footer-logo__mark {
	display: grid;
	width: 38px;
	height: 42px;
	flex: 0 0 auto;
	place-items: center;
}

.pm-footer-logo__mark svg {
	display: block;
	width: 100%;
	height: 100%;
}

.pm-footer-logo strong {
	display: block;
	color: var(--pm-white);
	font-family: var(--pm-font-head);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.1;
}

.pm-footer-logo strong span {
	display: inline;
	color: #4bb455;
}

.pm-footer-logo small {
	display: block;
	margin-top: 2px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 11.5px;
	line-height: 1.2;
}

.pm-footer__brand p {
	max-width: 300px;
	margin: 22px 0;
	font-size: 14.5px;
	line-height: 1.7;
}

.pm-footer-socials {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.pm-footer-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--pm-white);
	transition: background-color 140ms ease;
}

.pm-footer-socials a:hover,
.pm-footer-socials a:focus-visible {
	background: rgba(255, 255, 255, 0.2);
}

.pm-footer-socials svg {
	display: block;
	width: 19px;
	height: 19px;
}

.pm-footer h2 {
	margin: 0 0 18px;
	color: var(--pm-white);
	font-family: var(--pm-font-head);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.pm-footer__nav a,
.pm-footer__contacts a {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 13px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 14.5px;
	line-height: 1.4;
	transition: color 140ms ease;
}

.pm-footer__nav a:hover,
.pm-footer__nav a:focus-visible,
.pm-footer__contacts a:hover,
.pm-footer__contacts a:focus-visible {
	color: var(--pm-white);
}

.pm-footer__contacts svg,
.pm-footer__nav svg {
	display: block;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	color: #4bb455;
}

.pm-footer__phone {
	margin-bottom: 20px;
	align-items: flex-start;
}

.pm-footer__phone strong {
	display: block;
	color: var(--pm-white);
	font-family: var(--pm-font-head);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
}

.pm-footer__phone small {
	display: block;
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 12.5px;
}

.pm-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: center;
	justify-content: space-between;
	padding: 20px 0 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.65);
	font-size: 13.5px;
}

.pm-footer__bottom p {
	margin: 0;
}

.pm-footer__made {
	display: inline-flex;
	gap: 6px;
	align-items: center;
}

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

/* ---------------------------------------------------------------------
 * Generic page chrome: breadcrumbs, page hero, prose content — used by
 * page.php, single-service.php, archive-service.php,
 * taxonomy-pm_service_category.php.
 * ------------------------------------------------------------------ */

.pm-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	color: var(--pm-muted);
	font-size: 13.5px;
	font-weight: 650;
}

.pm-breadcrumbs a {
	color: var(--pm-muted);
	transition: color 160ms ease;
}

.pm-breadcrumbs a:hover {
	color: var(--pm-green);
}

.pm-breadcrumbs span[aria-current] {
	color: var(--pm-navy);
}

.pm-page-hero {
	padding: 8px 0;
}

.pm-page-hero h1 {
	max-width: 780px;
	margin: 0;
	color: var(--pm-navy);
	font-size: clamp(32px, 4vw, 46px);
	line-height: 1.1;
	font-weight: 900;
}

.pm-page-hero .pm-lead {
	max-width: 720px;
	margin: 18px 0 0;
}

.pm-content {
	max-width: 800px;
	margin: 0 auto;
	color: #20264b;
	font-size: 17px;
	line-height: 1.75;
}

.pm-content > *:first-child {
	margin-top: 0;
}

.pm-content h2 {
	margin: 40px 0 14px;
	color: var(--pm-navy);
	font-size: clamp(22px, 2.6vw, 28px);
	line-height: 1.2;
	font-weight: 850;
}

.pm-content h3 {
	margin: 30px 0 12px;
	color: var(--pm-navy);
	font-size: 20px;
	line-height: 1.25;
	font-weight: 850;
}

.pm-content p {
	margin: 0 0 18px;
}

.pm-content ul,
.pm-content ol {
	margin: 0 0 18px;
	padding-left: 22px;
}

.pm-content li {
	margin-bottom: 8px;
}

.pm-content li::marker {
	color: var(--pm-green);
}

.pm-content strong {
	color: var(--pm-navy);
	font-weight: 800;
}

.pm-content a {
	color: var(--pm-blue);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(59, 37, 185, 0.35);
	text-underline-offset: 3px;
}

.pm-content a:hover {
	text-decoration-color: currentColor;
}

.pm-content img {
	margin: 8px 0 24px;
	border-radius: var(--pm-radius);
}

.pm-content blockquote {
	margin: 24px 0;
	padding: 4px 4px 4px 20px;
	border-left: 4px solid var(--pm-green);
	color: var(--pm-muted);
	font-size: 17px;
	font-style: italic;
}

.pm-post-meta {
	margin: 14px 0 0;
	color: var(--pm-muted);
	font-size: 15px;
}

.pm-blog-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 800px;
	margin: 32px auto 0;
}

.pm-blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--pm-radius);
	border: 1px solid var(--pm-line);
	color: var(--pm-ink);
	font-weight: 600;
	text-decoration: none;
}

.pm-blog-pagination .page-numbers.current {
	background: var(--pm-blue);
	border-color: var(--pm-blue);
	color: var(--pm-white);
}

.pm-blog-pagination a.page-numbers:hover {
	border-color: var(--pm-blue);
	color: var(--pm-blue);
}

/* ---------------------------------------------------------------------
 * Service hero (single-service.php)
 * ------------------------------------------------------------------ */

.pm-service-hero {
	padding: 18px 0 8px;
}

.pm-service-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
	gap: clamp(30px, 3.6vw, 48px);
	align-items: center;
}

.pm-service-hero h1 {
	max-width: 620px;
	margin: 0;
	color: var(--pm-navy);
	font-size: clamp(32px, 4vw, 46px);
	line-height: 1.1;
	font-weight: 900;
}

.pm-service-hero .pm-lead {
	max-width: 560px;
}

.pm-service-hero__graphic {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	border-radius: 48px 8px 48px 8px;
	background:
		radial-gradient(circle at 20% 15%, rgba(38, 166, 65, 0.12), transparent 45%),
		var(--pm-soft);
	box-shadow: var(--pm-shadow);
}

.pm-service-hero__graphic img {
	width: 100%;
	max-width: 380px;
	height: auto;
}

/* ---------------------------------------------------------------------
 * Documents checklist reused outside the modal context + FAQ accordion
 * ------------------------------------------------------------------ */

.pm-service-page-documents {
	max-width: 800px;
	margin: 0 auto;
}

.pm-faq {
	max-width: 800px;
	margin: 34px auto 0;
}

.pm-faq h3 {
	margin: 0 0 16px;
	color: var(--pm-navy);
	font-size: 22px;
	font-weight: 850;
}

.pm-faq-item {
	padding: 18px 22px;
	border: 1px solid var(--pm-line);
	border-radius: var(--pm-radius);
	background: var(--pm-white);
}

.pm-faq-item + .pm-faq-item {
	margin-top: 12px;
}

.pm-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	color: var(--pm-navy);
	font-size: 16.5px;
	font-weight: 800;
	line-height: 1.35;
	cursor: pointer;
	list-style: none;
}

.pm-faq-item summary::-webkit-details-marker {
	display: none;
}

.pm-faq-item__toggle {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--pm-green-soft);
	color: var(--pm-green);
	transition: transform 200ms ease;
}

.pm-faq-item__toggle svg {
	width: 16px;
	height: 16px;
}

.pm-faq-item[open] .pm-faq-item__toggle {
	transform: rotate(180deg);
}

.pm-faq-item p {
	margin: 14px 0 0;
	color: #333957;
	font-size: 15.5px;
	line-height: 1.65;
}

/* ---------------------------------------------------------------------
 * CTA band + related services (single-service.php, archive-service.php,
 * taxonomy-pm_service_category.php)
 * ------------------------------------------------------------------ */

.pm-cta-band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: 1000px;
	margin: 40px auto 0;
	padding: 30px 34px;
	border-radius: var(--pm-radius);
	background:
		radial-gradient(circle at 12% 20%, rgba(38, 166, 65, 0.24), transparent 40%),
		linear-gradient(135deg, #061c46 0%, #021b40 52%, #052858 100%);
	box-shadow: var(--pm-shadow);
}

.pm-cta-band h3 {
	margin: 0 0 6px;
	color: var(--pm-white);
	font-size: 21px;
	font-weight: 850;
}

.pm-cta-band p {
	margin: 0;
	max-width: 480px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 15px;
	line-height: 1.5;
}

.pm-related {
	max-width: 1000px;
	margin: 46px auto 0;
}

.pm-related h3 {
	margin: 0 0 18px;
	color: var(--pm-navy);
	font-size: 22px;
	font-weight: 850;
}

.pm-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.pm-related__grid .pm-card {
	min-height: 0;
}

/* ---------------------------------------------------------------------
 * Services hub (archive-service.php) category filter chips
 * ------------------------------------------------------------------ */

.pm-category-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 4px auto 8px;
}

.pm-category-chip {
	display: inline-flex;
	align-items: center;
	padding: 9px 18px;
	border: 1px solid var(--pm-line);
	border-radius: 999px;
	background: var(--pm-white);
	color: var(--pm-navy);
	font-size: 13.5px;
	font-weight: 750;
	box-shadow: 0 8px 20px rgba(8, 11, 69, 0.05);
	transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.pm-category-chip:hover {
	transform: translateY(-2px);
	border-color: rgba(38, 166, 65, 0.32);
	color: var(--pm-green);
}

/* ---------------------------------------------------------------------
 * "Детальніше" link inside homepage service modals
 * ------------------------------------------------------------------ */

.pm-service-modal__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	color: var(--pm-green);
	font-size: 14.5px;
	font-weight: 800;
}

.pm-service-modal__more:hover {
	text-decoration: underline;
}

/* ---------------------------------------------------------------------
 * Header below 980px: the menu collapses into the burger panel.
 * ------------------------------------------------------------------ */

@media (max-width: 980px) {
	.pm-header__inner {
		min-height: 74px;
		gap: 12px;
		padding: 12px 0;
	}

	.pm-brand__mark {
		width: 34px;
		height: 38px;
	}

	.pm-brand__name {
		font-size: 20px;
	}

	.pm-brand__tagline {
		font-size: 10.5px;
	}

	.pm-header__contacts {
		display: none;
	}

	.pm-header__call,
	.pm-burger {
		display: inline-flex;
	}

	.pm-nav {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 50;
		display: none;
		flex-direction: column;
		width: 100%;
		max-height: calc(100vh - 74px);
		padding: 8px 0 20px;
		overflow-y: auto;
		border-bottom: 1px solid var(--pm-line);
		background: var(--pm-white);
		box-shadow: 0 18px 30px rgba(12, 17, 87, 0.10);
	}

	.pm-nav.is-open {
		display: flex;
	}

	.pm-nav__list {
		display: block;
		width: min(100% - 32px, var(--pm-width));
		margin: 0 auto;
	}

	.pm-nav__item {
		flex-wrap: wrap;
		justify-content: space-between;
		border-bottom: 1px solid var(--pm-line);
	}

	.pm-nav__link {
		flex: 1 1 auto;
		padding: 15px 0;
		border-bottom: 0;
		font-size: 16px;
		white-space: normal;
	}

	.pm-nav__link.is-current {
		color: var(--pm-green);
	}

	.pm-nav__toggle {
		width: 48px;
		height: 48px;
		flex: 0 0 auto;
	}

	.pm-nav__toggle svg {
		width: 20px;
		height: 20px;
		transition: transform 140ms ease;
	}

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

	.pm-submenu {
		position: static;
		display: none;
		width: 100%;
		min-width: 0;
		margin: 0 0 10px;
		padding: 4px 0 4px 12px;
		border: 0;
		border-left: 2px solid var(--pm-line);
		border-radius: 0;
		box-shadow: none;
	}

	.pm-submenu.is-open {
		display: block;
	}

	.pm-nav__item--parent:hover .pm-submenu,
	.pm-nav__item--parent:focus-within .pm-submenu {
		display: none;
	}

	.pm-nav__item--parent:hover .pm-submenu.is-open,
	.pm-nav__item--parent:focus-within .pm-submenu.is-open {
		display: block;
	}

	.pm-submenu a {
		padding: 12px 10px;
		font-size: 15.5px;
	}

	.pm-nav__actions {
		display: grid;
		gap: 10px;
		width: min(100% - 32px, var(--pm-width));
		margin: 18px auto 0;
	}

	.pm-nav__actions .pm-pill {
		width: 100%;
		min-height: 50px;
	}

	body.pm-nav-open {
		overflow: hidden;
	}

	/* The Telegram chat widget sits at z-index 999999; the open menu has to
	   clear it, otherwise the bubble covers the lower menu items. */
	body.pm-nav-open .pm-header {
		z-index: 1000000;
	}
}

@media (max-width: 1080px) {
	.pm-hero {
		grid-template-columns: 1fr;
	}

	.pm-service-hero__inner {
		grid-template-columns: 1fr;
	}

	.pm-service-hero__graphic {
		max-width: 360px;
		margin: 0 auto;
	}

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

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

	.pm-card--wide {
		grid-column: auto;
	}

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

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

	.pm-footer__nav,
	.pm-footer__contacts {
		padding-left: 24px;
	}
}

@media (max-width: 680px) {
	.pm-container {
		width: min(100% - 28px, var(--pm-width));
	}

	.pm-header {
		padding-top: 16px;
	}

	.pm-services,
	.pm-band {
		grid-template-columns: 1fr;
	}

	.pm-hero h1 {
		font-size: 34px;
	}

	.pm-card,
	.pm-feature {
		padding: 18px;
	}

	.pm-card-popover {
		display: none;
	}

	.pm-service-modal {
		align-items: flex-end;
		padding: 14px;
	}

	.pm-about-modal {
		align-items: center;
	}

	.pm-contact-modal {
		align-items: center;
	}

	.pm-service-modal__dialog {
		max-height: calc(100vh - 28px);
		padding: 24px 18px 20px;
	}

	.pm-service-modal__top {
		grid-template-columns: 52px 1fr;
		gap: 12px;
		padding-right: 38px;
	}

	.pm-service-modal__top h3 {
		font-size: 30px;
	}

	.pm-service-modal__description,
	.pm-service-modal__note {
		font-size: 15.5px;
		line-height: 1.65;
	}

	.pm-service-modal__documents {
		padding: 16px;
	}

	.pm-service-modal__documents ul {
		grid-template-columns: 1fr;
	}

	.pm-service-modal__actions .pm-button {
		width: 100%;
	}

	.pm-contact-modal__grid {
		grid-template-columns: 1fr;
	}

	.pm-section {
		padding: 38px 0;
	}

	.pm-footer {
		padding-top: 38px;
	}

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

	.pm-footer__nav,
	.pm-footer__contacts {
		padding-left: 0;
		border-left: 0;
	}

	.pm-footer__bottom {
		flex-direction: column;
	}

	.pm-page-hero,
	.pm-service-hero {
		padding-top: 20px;
	}

	.pm-service-hero__graphic {
		padding: 14px;
		border-radius: 28px 8px 28px 8px;
	}

	.pm-content {
		font-size: 16px;
	}

	.pm-faq-item {
		padding: 15px 16px;
	}

	.pm-related__grid {
		grid-template-columns: 1fr;
	}

	.pm-cta-band {
		flex-direction: column;
		align-items: flex-start;
		padding: 24px;
	}

	.pm-cta-band .pm-button {
		width: 100%;
	}

	.pm-category-chips {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 4px;
	}

	.pm-category-chip {
		flex: 0 0 auto;
	}
}
