/*!
Theme Name: remontokon
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: remontokon
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Base */
:root {
	--brand-red: #BD1D36;
	--brand-blue: #2E5077;
	--brand-green-900: #0F2A1E;
	--brand-green-800: #143625;
	--brand-green-700: #1B4A32;
	--brand-green-600: #246143;
	--bg-surface: #F2F7F4;
	--bg-surface-2: #E7F0EA;
}

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	min-width: 360px;
	position: relative;
	font-family: 'Gilroy', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	background: var(--bg-surface);
	font-size: 16px;
	font-weight: 400;
	line-height: 150%;
	color: #3D3D3D;
	overflow-x: hidden;
	overflow-x: clip;
}

.error_main_page p{
	margin:20px 0;
}

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

 a { text-decoration: none; color: var(--brand-blue); }



h1, .h1 { color: var(--brand-green-800); font-size: 37px; font-weight: 700; line-height: 1.1; margin: 0 0 12px; }
h2, .h2 { color: var(--brand-green-800); margin: 20px 0; font-size: 27px; font-weight: 700; line-height: 145%; }

/* Unified section headings */
.section-title {
	color: var(--brand-green-800);
	font-weight: 950;
	letter-spacing: .2px;
	line-height: 1.15;
	margin: 26px 0 14px;
	font-size: clamp(20px, 2.1vw, 30px);
}
h3, .h3 { color: var(--brand-green-800); margin: 16px 0 10px; }

body img { max-width: 100%; }

.hidden { display: none; }
.mobile-show { display: none; }

button, input { outline: none; }

.button {
	border-radius: 30px;
	min-width: 240px;
	color: #fff;
	background-color: var(--brand-blue);
	font-size: 16px;
	line-height: 1.2;
	font-weight: 700;
	display: inline-flex;
	min-height: 43px;
	padding: 8px 18px;
	text-align: center;
	align-items: center;
	justify-content: center;
	transition: .3s ease;
	transform: scale(1);
	border: 0;
	cursor: pointer;
}
.button:hover { transform: scale(1.05); }

/* Primary actions (call / request) */
.button.call-modal,
a.call-modal.button,
button.call-modal.button,
#mos_header_newmsk .button,
.forms.mosquito_form button.button,
.form-wrapper .form-button {
	background: var(--brand-red);
	box-shadow: 0 16px 30px rgba(189, 29, 54, .22);
}

/* Layout */
main {
	margin-top: 70px;
	width: calc(100% - 315px);
	margin-left: 315px;
	display: block;
	background: linear-gradient(to bottom, #fff 0%, var(--bg-surface-2) 240px, var(--bg-surface) 100%);
	padding: 20px;
}

/* HEADER (header.php) */


.mos_header_newmsk {
	width: 100%;
	padding: 0 clamp(14px, 2vw, 28px);
	display: flex;
	align-items: center;
	gap: 24px;
	height: 70px;
	position: fixed;
	top: 0;
	left: 0;
	background: #fff;
	z-index: 1000;
	border-bottom: 1px solid rgba(15, 42, 30, .08);
	box-shadow: 0 10px 26px rgba(17, 24, 39, .07);
}

.header-brand,
.header-contacts,
.header-actions {
	display: flex;
	align-items: center;
}

.header-brand {
	flex: 0 1 auto;
	gap: clamp(16px, 2vw, 30px);
	min-width: 0;
}

.header-contacts {
	justify-content: flex-end;
	gap: clamp(12px, 1.5vw, 24px);
	min-width: 0;
	margin-left: auto;
}

.header-actions { gap: 10px; }

.logo-header {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	width: clamp(190px, 17vw, 260px);
	line-height: 0;
}

.logo-header img {
	display: block;
	width: 100%;
	max-height: 54px;
	object-fit: contain;
	object-position: left center;
}



.brand-logo__vertical {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	padding: 4px 7px;
	border-radius: 10px;
	background: linear-gradient(165deg, rgba(46, 80, 119, .11), rgba(36, 97, 67, .08));
	border: 1px solid rgba(46, 80, 119, .2);
	box-shadow: 0 8px 20px rgba(17, 24, 39, .08);
	transition: transform .18s ease;
}

.brand-logo__vertical > span {
	display: block;
	font-weight: 900;
	font-size: 18px;
	line-height: .95;
	letter-spacing: .04em;
	color: var(--brand-blue);
}

.brand-logo__words {
	display: grid;
	gap: 0;
}

.brand-logo__line {
	display: flex;
	align-items: baseline;
	line-height: 1;
}

.brand-logo__line-initial {
	font-weight: 950;
	font-size: 20px;
	line-height: .86;
	color: #BD1D36;
	letter-spacing: .02em;
	text-shadow: 0 2px 12px rgba(46, 80, 119, .16);
}

.brand-logo__line-rest {
	font-weight: 900;
	font-size: 18px;
	line-height: 1;
	letter-spacing: .01em;
	color: var(--brand-blue);
}

.brand-logo--footer .brand-logo__vertical {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .28);
	box-shadow: none;
}

.brand-logo--footer .brand-logo__vertical > span,
.brand-logo--footer .brand-logo__line-initial,
.brand-logo--footer .brand-logo__line-rest {
	color: #fff;
}

.brand-logo:hover .brand-logo__vertical {
	transform: translateY(-1px);
}

.header-worktime,
.header-contact {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.header-worktime {
	flex: 0 0 auto;
	padding-left: clamp(16px, 2vw, 28px);
	border-left: 1px solid rgba(15, 42, 30, .13);
}

.header-worktime .header-contact__text,
.header-worktime .header-contact__value {
	overflow: visible;
	max-width: none;
	text-overflow: clip;
	white-space: nowrap;
}

.header-contact {
	color: var(--brand-green-900);
	transition: color .18s ease;
}

.header-contact:hover,
.header-contact:hover .header-contact__value { color: var(--brand-red); }

.header-contact__icon {
	display: inline-flex;
	flex: 0 0 38px;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(36, 97, 67, .14);
	border-radius: 12px;
	color: var(--brand-green-700);
	background: rgba(36, 97, 67, .08);
	transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.header-contact:hover .header-contact__icon {
	color: var(--brand-red);
	border-color: rgba(189, 29, 54, .22);
	background: rgba(189, 29, 54, .08);
	transform: translateY(-1px);
}

.header-contact__text {
	display: grid;
	gap: 1px;
	min-width: 0;
	line-height: 1.15;
}

.header-contact__label {
	color: rgba(15, 42, 30, .58);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.header-contact__value {
	overflow: hidden;
	color: var(--brand-green-900);
	font-size: 14px;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.header-email .header-contact__value {
	font-size: clamp(16px, 1.2vw, 18px);
	font-weight: 900;
}

.mos_header_newmsk-phone .header-contact__value {
	font-size: clamp(16px, 1.35vw, 20px);
	font-weight: 900;
	letter-spacing: .01em;
}

.mos_footer_new-phone { font-size: 25px; font-weight: 700; }
.mos_footer_new-phone span { color: var(--brand-red); }

#mos_header_newmsk .header-callback {
	flex: 0 0 auto;
	gap: 9px;
	width: auto;
	min-width: 222px;
	min-height: 46px;
	padding: 10px 18px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--brand-red), #a6172f);
	box-shadow: 0 10px 22px rgba(189, 29, 54, .24);
	font-size: 14px;
	white-space: nowrap;
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

#mos_header_newmsk .header-callback:hover {
	transform: translateY(-2px);
	filter: brightness(1.04);
	box-shadow: 0 14px 28px rgba(189, 29, 54, .30);
}

#mos_header_newmsk .header-callback svg { flex: 0 0 auto; }

.logo-header:focus-visible,
.header-contact:focus-visible,
#mos_header_newmsk .header-callback:focus-visible,
#hamburger:focus-visible {
	outline: 3px solid rgba(46, 80, 119, .28);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.header-contact,
	.header-contact__icon,
	#mos_header_newmsk .header-callback {
		transition: none;
	}
}

.mos_header_newmsk-sites {
	width: 100%;
	margin: 0;
	overflow-x: hidden;
	overflow-y: hidden;
}

.mos_header_newmsk-sites-content {
	border-radius: 14px;
	border: 1px solid rgba(15, 42, 30, .12);
	display: flex;
	width: calc(100% - 40px);
	min-width: 768px;
	max-width: calc(100% - 40px);
	margin: 0 20px;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 100%);
	box-shadow: 0 14px 34px rgba(17, 24, 39, .08);
	padding: 8px;
	gap: 8px;
}

.mos_header_newmsk-sites-block {
	width: max-content;
	margin-right: 20px;
	min-width: 100%;
	max-width: 100%;
}

.mos_header_newmsk-sites-item {
	font-size: calc((100vw - 768px)/(1280 - 768) * (16 - 12) + 12px);
	display: flex;
	flex: 1;
	min-width: 120px;
	width: 100%;
	height: 40px;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-weight: 700;
	border-left: 0;
	border-radius: 12px;
	color: rgba(15, 42, 30, .78);
	background: transparent;
	transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.mos_header_newmsk-sites-item:hover {
	background: rgba(36, 97, 67, .10);
	color: var(--brand-green-900);
}
.mos_header_newmsk-sites-item:active { transform: translateY(1px); }

.breadcrumbs { display: block; }
.breadcrumbs-list { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs-item { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.82); font-size: 13px; }
.breadcrumbs-item a { color: rgba(255,255,255,.92); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
.breadcrumbs-item a:hover { border-bottom-color: rgba(255,255,255,.55); }
.breadcrumbs-item + .breadcrumbs-item:before { content: "›"; color: rgba(255,255,255,.55); }

.mos_header_newmsk-sites-item.current-host {
	background: linear-gradient(135deg, var(--brand-green-700) 0%, var(--brand-green-900) 100%);
	color: #fff;
	box-shadow: 0 12px 22px rgba(15, 42, 30, .22);
}

#hamburger { display: none; }

/* Mobile menu overlay (hamburger drawer) */
#mobile-menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(17, 24, 39, 0.55);
	opacity: 0;
	pointer-events: none;
	transition: opacity 220ms ease;
	z-index: 1000;
}

body.menu-open #mobile-menu-overlay {
	opacity: 1;
	pointer-events: auto;
}

/* Left nav (header.php) */
#mos_header_newmsk_nav {
	--nav-accent: var(--brand-green-600);
	--nav-accent-2: var(--brand-green-900);
	--nav-text: var(--brand-green-900);
	--nav-muted: rgba(15, 42, 30, .74);
	--nav-border: rgba(15, 42, 30, .12);
	--nav-hover: rgba(36, 97, 67, .10);
	--nav-surface: rgba(255, 255, 255, .92);

	width: 315px;
	position: fixed;
	top: 70px;
	bottom: 0;
	left: 0;
	padding:20px 12px 12px 12px;
	margin: 0;
	overflow: auto;
	list-style: none;
	background: var(--nav-surface);
	border-right: 1px solid var(--nav-border);
	box-shadow: 0 18px 44px rgba(17, 24, 39, .10);
	backdrop-filter: blur(10px) saturate(150%);
	-webkit-backdrop-filter: blur(10px) saturate(150%);
	z-index: 1001;
}

#mos_header_newmsk_nav ul {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
	background: transparent;
}

/* Submenus (modern panel style) */
#mos_header_newmsk_nav li > ul {
	/* override inline `display:none` in legacy markup */
	display: none;
	overflow: hidden;

	margin-top: 6px;
	padding: 6px;
	border-radius: 14px;
	border: 1px solid rgba(36, 97, 67, .18);
	border-left: 3px solid #BD1D36;
	background: linear-gradient(180deg, rgba(232, 244, 238, .92) 0%, rgba(245, 251, 247, .88) 100%);
	box-shadow: 0 12px 28px rgba(15, 42, 30, .10);
}

#mos_header_newmsk_nav li > ul > li {
	margin: 2px 0;
}

#mos_header_newmsk_nav li > ul > li > a {
	min-height: 38px;
	padding: 9px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .72);
	border: 1px solid rgba(36, 97, 67, .16);
	box-shadow: none;
}

#mos_header_newmsk_nav li > ul > li > a:hover {
	background: rgba(189, 29, 54, .08);
	border-color: rgba(189, 29, 54, .28);
}

#mos_header_newmsk_nav li > ul > li > a:active {
	box-shadow: none;
}

#mos_header_newmsk_nav li > ul > li > ul {
	margin-top: 6px;
	background: rgba(239, 248, 243, .84);
}

#mos_header_newmsk_nav li > ul > li > ul > li > a {
	background: rgba(255, 255, 255, .62);
}

#mos_header_newmsk_nav li { display: block; position: relative; }
#mos_header_newmsk_nav > li + li { margin-top: 2px; }

#mos_header_newmsk_nav li a {
	color: var(--nav-text);
	min-height: 42px;
	display: flex;
	width: 100%;
	align-items: center;
	padding: 10px 12px;
	padding-right: 44px;
	border-radius: 12px;
	background: transparent;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

#mos_header_newmsk_nav > li > a { font-size: 15px; font-weight: 800; letter-spacing: .1px; }
#mos_header_newmsk_nav li ul li a { font-size: 14px; font-weight: 700; color: var(--nav-muted); padding-left: 14px; }
#mos_header_newmsk_nav li ul li ul li a { padding-left: 22px; }

#mos_header_newmsk_nav li a:hover { background: var(--nav-hover); box-shadow: 0 10px 24px rgba(17, 24, 39, .06); }
#mos_header_newmsk_nav li a:active { box-shadow: none; }

#mos_header_newmsk_nav li.selected > a {
	background: linear-gradient(135deg, var(--nav-accent) 0%, var(--nav-accent-2) 100%);
	color: #fff;
	box-shadow: 0 12px 22px rgba(15, 42, 30, .22);
}

/* Active item hover: keep it clean */
#mos_header_newmsk_nav li.selected > a:hover,
#mos_header_newmsk_nav li.selected > a:focus,
#mos_header_newmsk_nav li.selected > a:focus-visible {
	background: linear-gradient(135deg, var(--nav-accent) 0%, var(--nav-accent-2) 100%);
	color: #fff;
	box-shadow: 0 12px 22px rgba(15, 42, 30, .22);
	transform: none;
}

#mos_header_newmsk_nav .next-level {
	width: 32px;
	height: 32px;
	position: absolute;
	top: 5px;
	right: 6px;
	z-index: 5;
	display: block;
	cursor: pointer;
	border-radius: 10px;
	border: 1px solid rgba(189, 29, 54, .35) !important;
	background: #fff;
	transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

#mos_header_newmsk_nav .next-level:before {
	content: '';
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid #BD1D36 !important;
	border-bottom: 2px solid #BD1D36 !important;
	transform: translate(-50%, -50%) rotate(-45deg);
	transition: transform .22s ease;
}

#mos_header_newmsk_nav .next-level:hover {
	background: rgba(189, 29, 54, .12) !important;
	border-color: rgba(189, 29, 54, .55) !important;
	box-shadow: 0 8px 18px rgba(189, 29, 54, .18);
}

/* Keep arrow visible on active/selected branch */
#mos_header_newmsk_nav li.selected > .next-level {
	background: rgba(255, 255, 255, .22) !important;
	border-color: rgba(255, 255, 255, .85) !important;
}
#mos_header_newmsk_nav li.selected > .next-level:before {
	border-right-color: #ffffff !important;
	border-bottom-color: #ffffff !important;
}

#mos_header_newmsk_nav .opened > .next-level:before { transform: translate(-50%, -50%) rotate(45deg); }
/* Keep submenu visibility controlled by jQuery slideDown/slideUp. */

/* FRONT PAGE (front-page.php) */
.gradient-left-right { background: linear-gradient(135deg, var(--brand-green-700), var(--brand-green-900)); color: #fff; }

.instance_newmsk { transition: .5s ease-out; }

/* Hero */
.hero { margin-bottom: 22px; }
.hero-block {
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 18px 44px rgba(17, 24, 39, .10);
	min-height: 420px;
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.hero-block:before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(17,24,39,.82) 0%, rgba(17,24,39,.55) 40%, rgba(17,24,39,.12) 75%, rgba(17,24,39,0) 100%);
	filter: saturate(1.05) contrast(1.02);
}
.hero-content {
	width: 100% !important;
	padding: 34px 24px !important;
	position: relative !important;
	bottom: auto !important;
	top: auto !important;
	display: flex;
	align-items: flex-end;
	min-height: 420px;
}
.hero-topline { margin-bottom: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255,255,255,.14);
	border: 1px solid rgba(255,255,255,.18);
	color: rgba(255,255,255,.92);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: .2px;
	backdrop-filter: blur(8px);
}
.hero-badge-primary {
	background: rgba(189,29,54,.18);
	border-color: rgba(189,29,54,.28);
}
.hero-inner { max-width: 100%; position: relative; }
.hero-title {
	color: #fff;
	font-size: clamp(28px, 3.1vw, 44px);
	line-height: 1.05;
	margin: 0 0 12px;
	letter-spacing: .2px;
}
.hero-lead {
	color: rgba(255,255,255,.88);
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 18px;
	max-width: 100%;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin:20px 0; }
.hero-actions .button { min-width: 0; }
.hero-primary { background: var(--brand-red); box-shadow: 0 16px 30px rgba(189,29,54,.22); }
.hero-secondary { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.20); }
.hero-secondary:hover { transform: scale(1.03); }
.hero-points {
	margin: 20px 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.hero-points li {
	padding: 10px 12px;
	border-radius: 999px;
	background: rgba(255,255,255,.12);
	color: rgba(255,255,255,.92);
	font-weight: 700;
}
.hero-points b { color: #fff; }

.check-list { margin: 0; padding: 0 0 0 30px; }
.check-list li { display: block; position: relative; line-height: 150%; }
.check-list li:before {
	position: absolute;
	width: 16px;
	height: 12px;
	top: calc(.5em - 6px);
	left: calc(8px - 30px);
	content: '';
	background: url('img/check.svg') center no-repeat;
}

.block-links {
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 20px 0 0;
	padding: 0;
}
.block-links li {
	width: calc(100% / 3 - 20px);
	display: flex;
	margin-bottom: 20px;
	list-style: none;
}
.block-links li a {
	min-height: 80px;
	display: flex;
	border-radius: 10px;
	padding: 20px;
	width: 100%;
	color: #2E5077;
	font-weight: 700;
	align-items: center;
	justify-content: space-between;
	background-color: #EFEEEE;
	box-shadow: -6px -6px 16px #FFF, 6px 6px 16px rgba(209, 205, 199,.5);
	transform: scale(1);
	transition: .3s ease;
}
.block-links li a:hover { transform: scale(1.05); }

.block-links svg { width: 50px; height: 50px; display: block; }

/* Services showcase (front-page.php) */
.services-layout {
	display: grid;
	grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	margin-top: 10px;
}
.services-intro {
	border-radius: 18px;
	background:
		radial-gradient(700px 260px at 15% 10%, rgba(36, 97, 67, .12) 0%, rgba(36, 97, 67, 0) 55%),
		radial-gradient(700px 260px at 95% 0%, rgba(189, 29, 54, .10) 0%, rgba(189, 29, 54, 0) 55%),
		#fff;
	border: 1px solid rgba(15, 42, 30, .12);
	box-shadow: 0 18px 54px rgba(17, 24, 39, .10);
	padding: 16px;
	height: 100%;
}
.services-kicker {
	width: fit-content;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(189,29,54,.10);
	border: 1px solid rgba(189,29,54,.20);
	color: var(--brand-red);
	font-weight: 900;
	font-size: 12px;
	letter-spacing: .25px;
}
.services-intro .section-title { margin: 14px 0 10px; }
.services-subtitle { margin: 0; color: rgba(15, 42, 30, .74); font-weight: 650; line-height: 1.55; }
.services-points {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}
.services-points li {
	position: relative;
	padding: 10px 10px 10px 38px;
	border-radius: 14px;
	background: rgba(15, 42, 30, .04);
	border: 1px solid rgba(15, 42, 30, .08);
	color: rgba(15, 42, 30, .86);
	font-weight: 650;
	line-height: 1.45;
}
.services-points li:before {
	content: '';
	position: absolute;
	left: 12px;
	top: 12px;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: rgba(36, 97, 67, .12);
	border: 1px solid rgba(36, 97, 67, .24);
}
.services-points li:after {
	content: '';
	position: absolute;
	left: 17px;
	top: 17px;
	width: 8px;
	height: 5px;
	border-left: 2px solid var(--brand-green-600);
	border-bottom: 2px solid var(--brand-green-600);
	transform: rotate(-45deg);
}
.services-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 12px; }
.services-actions .button { min-width: 0; }

.services-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.service-card {
	border-radius: 18px;
	background: #fff;
	border: 1px solid rgba(15, 42, 30, .12);
	box-shadow: 0 14px 34px rgba(17, 24, 39, .08);
	padding: 14px 14px;
	color: inherit;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	display: grid;
	grid-template-columns: 56px 1fr;
	grid-template-rows: auto auto auto;
	column-gap: 12px;
	row-gap: 6px;
	min-height: 155px;
}
.service-card:hover {
	transform: translateY(-2px);
	border-color: rgba(15, 42, 30, .18);
	box-shadow: 0 18px 44px rgba(17, 24, 39, .10);
}
.service-card-icon {
	grid-row: 1 / span 3;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	color: var(--brand-green-900);
	background: rgba(36, 97, 67, .10);
	border: 1px solid rgba(36, 97, 67, .18);
	padding:10px;
}
.service-card-title { font-weight: 950; color: var(--brand-green-900); letter-spacing: .2px; line-height: 1.2;  font-size:22px;}
.service-card-desc { color: rgba(15, 42, 30, .70); font-weight: 650; line-height: 1.45; font-size: 18px; }
.service-card-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 900;
	color: rgba(15, 42, 30, .66);
	letter-spacing: .2px;
	width: fit-content;
}
.service-card-more:after {
	content: "→";
	font-size: 14px;
	line-height: 1;
	font-weight: 700;
	color: currentColor;
	transform: translateY(1px);
}
.service-card--accent { border-color: rgba(189,29,54,.22); box-shadow: 0 14px 34px rgba(189,29,54,.10); }
.service-card--accent .service-card-icon {
	color: var(--brand-red);
	background: rgba(189,29,54,.10);
	border-color: rgba(189,29,54,.18);
}
.service-card--accent .service-card-more { color: var(--brand-red); }

@media (max-width: 1139px) {
	.services-layout { grid-template-columns: 1fr; }
	.services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
	.services-grid { grid-template-columns: 1fr; }

	.hero-points li {
		background:rgba(0, 0, 0, 0.3);
	}
}

/* Benefits (front-page.php) */
.benefits-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.benefits-subtitle { margin: 0 0 6px; color: rgba(15, 42, 30, .72); font-weight: 650; max-width: 520px; }
.benefits-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-top: 14px;
}
.benefit-card {
	border-radius: 18px;
	background: #fff;
	border: 1px solid rgba(15, 42, 30, .12);
	box-shadow: 0 14px 34px rgba(17, 24, 39, .08);
	padding: 16px 16px;
	min-height: 170px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.benefit-card:hover {
	transform: translateY(-2px);
	border-color: rgba(15, 42, 30, .18);
	box-shadow: 0 18px 44px rgba(17, 24, 39, .10);
}
.benefit-icon {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	letter-spacing: .2px;
	color: var(--brand-green-900);
	background: rgba(36, 97, 67, .10);
	border: 1px solid rgba(36, 97, 67, .18);
}
.benefit-title { font-weight: 900; color: var(--brand-green-900); line-height: 1.15; }
.benefit-text { color: rgba(15, 42, 30, .72); font-weight: 650; line-height: 1.45; font-size: 14px; }
.benefit-card--accent {
	border-color: rgba(189,29,54,.22);
	box-shadow: 0 14px 34px rgba(189,29,54,.10);
}
.benefit-card--accent .benefit-icon {
	color: var(--brand-red);
	background: rgba(189,29,54,.10);
	border-color: rgba(189,29,54,.18);
}

/* Why repair (front-page.php) */
.why-repair-head { display: grid; gap: 10px; }
.why-repair-lead {
	margin: 0;
	color: rgba(15, 42, 30, .76);
	font-weight: 700;
	line-height: 1.55;
	max-width: 980px;
}
.why-repair-grid {
	margin-top: 14px;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: 16px;
	align-items: start;
}
.why-repair-text {
	border-radius: 18px;
	background: #fff;
	border: 1px solid rgba(15, 42, 30, .12);
	box-shadow: 0 14px 34px rgba(17, 24, 39, .08);
	padding: 16px 16px;
	color: rgba(15, 42, 30, .78);
	font-weight: 650;
	line-height: 1.6;
	height: 100%;
}
.why-repair-text p { margin: 0 0 10px; }
.why-repair-text p:last-child { margin-bottom: 0; }
.why-repair-callout {
	margin-top: 12px;
	border-radius: 16px;
	background: rgba(36, 97, 67, .08);
	border: 1px solid rgba(36, 97, 67, .16);
	padding: 12px 12px;
	position: relative;
}
.why-repair-callout:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 6px;
	border-top-left-radius: 16px;
	border-bottom-left-radius: 16px;
	background: var(--brand-red);
}
.why-repair-callout-title { font-weight: 950; color: var(--brand-green-900); letter-spacing: .2px; margin-left: 10px; }
.why-repair-callout-text { margin-left: 10px; color: rgba(15, 42, 30, .74); font-weight: 650; }

.why-repair-card {
	border-radius: 18px;
	background: #fff;
	border: 1px solid rgba(15, 42, 30, .12);
	box-shadow: 0 14px 34px rgba(17, 24, 39, .08);
	padding: 16px 16px;
}
.why-repair-card-title { font-weight: 950; color: var(--brand-green-900); letter-spacing: .2px; }
.why-repair-list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}
.why-repair-list li {
	position: relative;
	padding: 10px 10px 10px 38px;
	border-radius: 14px;
	background: rgba(15, 42, 30, .04);
	border: 1px solid rgba(15, 42, 30, .08);
	color: rgba(15, 42, 30, .86);
	font-weight: 650;
	line-height: 1.45;
}
.why-repair-list li:before {
	content: '';
	position: absolute;
	left: 12px;
	top: 12px;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: rgba(36, 97, 67, .12);
	border: 1px solid rgba(36, 97, 67, .24);
}
.why-repair-list li:after {
	content: '';
	position: absolute;
	left: 17px;
	top: 17px;
	width: 8px;
	height: 5px;
	border-left: 2px solid var(--brand-green-600);
	border-bottom: 2px solid var(--brand-green-600);
	transform: rotate(-45deg);
}
.why-repair-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 12px; }
.why-repair-actions .button { min-width: 0; }

@media (max-width: 960px) {
	.why-repair-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1139px) {
	.benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
	.logo-header {
		width:200px;
		line-height: 0;
	}
	.benefits-head { flex-direction: column; align-items: flex-start; }
	.benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
	.benefits-grid { grid-template-columns: 1fr; }
}

/* Quote/CTA after urgent section (front-page.php) */
.text_buqote { margin-top: 18px; }
.text_buqote-card {
	border-radius: 18px;
	background: #fff;
	border: 1px solid rgba(15, 42, 30, .12);
	box-shadow: 0 14px 34px rgba(17, 24, 39, .08);
	padding: 18px 18px;
	position: relative;
	overflow: hidden;
}
.text_buqote-card:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 6px;
	background: var(--brand-red);
}
.text_buqote-title {
	font-weight: 900;
	color: var(--brand-green-900);
	letter-spacing: .2px;
	font-size: 16px;
	margin-left: 12px;
}
.text_buqote-text {
	margin: 10px 0 0;
	color: rgba(15, 42, 30, .78);
	line-height: 1.55;
	font-weight: 650;
	margin-left: 12px;
}
.text_buqote-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 12px; margin-left: 12px; }
.text_buqote-actions .button { min-width: 0; }

@media (max-width: 800px) {
	.text_buqote { margin-top: 14px; }
	.text_buqote-card { padding: 16px; }
}

.block_two_col { display: flex; min-height: 280px; border-radius: 10px; overflow: hidden; position: relative; align-items: center; margin: 20px 0; }
.block_two_col > * { width: 50%; display: block; padding: 20px; }
.block_two_col-background {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #fff;
	background-size: cover;
}
.block_two_col-text { color: #fff; font-size: 27px; font-weight: 700; line-height: 145%; margin-left: 50%; }
.block_two_col .button { margin-top: 30px; }

/* CTA banner (front-page.php) */
.block_two_col--cta {
	min-height: 320px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.block_two_col--cta:before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		radial-gradient(700px 340px at 12% 40%, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 65%),
		linear-gradient(95deg, rgba(15,42,30,.86) 0%, rgba(15,42,30,.62) 42%, rgba(15,42,30,.24) 70%, rgba(15,42,30,0) 100%);
	pointer-events: none;
}
.block_two_col--cta .block_two_col-text {
	position: relative;
	z-index: 3;
	margin-left: 0;
	width: 100%;
	max-width: 820px;
	padding: 26px 26px;
}
.block_two_col-cta { max-width: 760px; }
.block_two_col-cta-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0px 12px;
	border-radius: 999px;
	background: rgba(189,29,54,.18);
	border: 1px solid rgba(189,29,54,.28);
	color: rgba(255,255,255,.92);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: .2px;
	backdrop-filter: blur(8px);
}
.block_two_col-cta-title {
	margin-top: 12px;
	font-size: clamp(22px, 2.2vw, 34px);
	line-height: 1.12;
	font-weight: 900;
	color: #fff;
	letter-spacing: .2px;
}
.block_two_col-cta-subtitle {
	margin-top: 10px;
	max-width: 680px;
	color: rgba(255,255,255,.88);
	font-size: 16px;
	line-height: 1.5;
	font-weight: 600;
}

.block_two_col-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.block_two_col-cta-actions .button { min-width: 0; margin-top: 0; }

@media (max-width: 800px) {
	.block_two_col--cta { min-height: 360px; }
	.block_two_col--cta .block_two_col-text { padding: 22px 16px; }
}

.costs { width: 100%; margin-bottom: 40px; }
.costs-container { display: block; width: 100%; overflow: visible; }
.costs-content {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.cost-item {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(15, 42, 30, .12);
	box-shadow: 0 14px 34px rgba(17, 24, 39, .10);
	transform: translateY(0);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	text-decoration: none;
	color: inherit;
}
.cost-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 54px rgba(17, 24, 39, .14);
}
.cost-item-media {
	position: relative;
	height: 150px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: var(--bg-surface-2);
}
.cost-item-media:after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.00) 0%, rgba(0,0,0,.30) 100%);
}
.cost-item-inner {
	padding: 14px 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.cost-item-title {
	font-weight: 900;
	line-height: 1.18;
	letter-spacing: .2px;
	font-size: 22px;
	color: var(--brand-green-900);
}
.cost-item-price {
	width: fit-content;
	padding: 10px 12px;
	border-radius: 12px;
	background: rgba(15, 42, 30, .06);
	border: 1px solid rgba(15, 42, 30, .14);
	font-weight: 900;
	font-size: 18px;
	color: var(--brand-green-900);
}
.cost-item-note {
	font-size: 13px;
	line-height: 1.35;
	color: rgba(15, 42, 30, .74);
	font-weight: 700;
}

.cost-item--cta {
	border-color: rgba(189,29,54,.35);
	box-shadow: 0 14px 34px rgba(189,29,54,.10);
}
.cost-item--cta:hover { box-shadow: 0 20px 54px rgba(189,29,54,.14); }
.cost-item--cta .cost-item-price {
	background: rgba(189,29,54,.10);
	border-color: rgba(189,29,54,.20);
	color: var(--brand-red);
}

@media (max-width: 960px) {
	.costs-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
	.costs-content { grid-template-columns: 1fr; }
	.cost-item-media { height: 160px; }
}

.block_text-two_col { display: flex; }
.block_text-two_col > .block_text-two_col-col { display: block; width: 40%; max-width: 300px; padding-bottom: 20px; }
.block_text-two_col > .block_text-two_col-col:last-of-type { width: 60%; padding: 20px; min-width: calc(100% - 300px); }
.block_text-two_col img { width: 100%; }

/* Urgent repair panel (front-page.php) */
.urgent-repair {
	display: grid;
	grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
	gap: 0;
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(15, 42, 30, .12);
	box-shadow: 0 14px 34px rgba(17, 24, 39, .10);
}
.urgent-repair-aside {
	padding: 20px 20px;
	background: linear-gradient(135deg, rgba(15, 42, 30, .96), rgba(20, 54, 37, .96));
	color: #fff;
	position: relative;
}
.urgent-repair-aside:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 6px;
	background: var(--brand-red);
}
.urgent-repair-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(189,29,54,.18);
	border: 1px solid rgba(189,29,54,.30);
	color: rgba(255,255,255,.96);
	font-weight: 900;
	font-size: 12px;
	letter-spacing: .25px;
}
.urgent-repair-title {
	margin-top: 12px;
	font-size: 18px;
	line-height: 1.22;
	font-weight: 900;
	letter-spacing: .2px;
}
.urgent-repair-note {
	margin-top: 10px;
	color: rgba(255,255,255,.84);
	font-weight: 650;
	line-height: 1.45;
	font-size: 14px;
}
.urgent-repair-body { padding: 20px 20px; }
.urgent-repair-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.urgent-repair-list li {
	position: relative;
	padding: 12px 12px 12px 40px;
	border-radius: 14px;
	background: rgba(15, 42, 30, .04);
	border: 1px solid rgba(15, 42, 30, .08);
	color: rgba(15, 42, 30, .88);
	font-weight: 650;
	line-height: 1.45;
}
.urgent-repair-list li:before {
	content: '';
	position: absolute;
	left: 12px;
	top: 12px;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: rgba(36, 97, 67, .12);
	border: 1px solid rgba(36, 97, 67, .24);
}
.urgent-repair-list li:after {
	content: '';
	position: absolute;
	left: 17px;
	top: 17px;
	width: 8px;
	height: 5px;
	border-left: 2px solid var(--brand-green-600);
	border-bottom: 2px solid var(--brand-green-600);
	transform: rotate(-45deg);
}

@media (max-width: 960px) {
	.urgent-repair-list { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
	.urgent-repair { grid-template-columns: 1fr; }
}

.contests.blog {
	margin: 26px 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
.contests.blog .contest_item {
	width: auto;
	margin: 0;
	display: flex;
	flex-direction: column;
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(15, 42, 30, .12);
	box-shadow: 0 14px 34px rgba(17, 24, 39, .10);
	color: inherit;
	transform: translateY(0);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.contests.blog .contest_item:hover {
	transform: translateY(-2px);
	border-color: rgba(15, 42, 30, .18);
	box-shadow: 0 20px 54px rgba(17, 24, 39, .14);
}
.contests.blog .contest_item-media {
	height: 160px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: var(--bg-surface-2);
	position: relative;
}
.contests.blog .contest_item-media:after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.26) 100%);
}
.contests.blog .contest_item-body { padding: 14px 14px 16px; display: grid; gap: 8px; }
.contests.blog .contest_item-title {
	transform: none;
	padding: 0;
	min-height: 0;
	background: none;
	color: var(--brand-green-900);
	font-weight: 900;
	text-transform: none;
	font-size: 16px;
	line-height: 1.15;
	max-width: none;
}
.contests.blog .contest_item-title:after { display: none; }
.contests.blog .contest_item-text {
	padding: 0;
	color: rgba(15, 42, 30, .74);
	font-size: 14px;
	line-height: 1.45;
	font-weight: 650;
}
.contests.blog .contest_item-more {
	margin-top: 2px;
	font-weight: 900;
	color: var(--brand-red);
	letter-spacing: .2px;
}
.contests.blog .contest_item-more:after {
	content: '';
	display: inline-block;
	margin-left: 8px;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--brand-red);
	border-bottom: 2px solid var(--brand-red);
	transform: rotate(-45deg);
	vertical-align: middle;
}

@media (max-width: 1139px) {
	.contests.blog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
	.contests.blog { grid-template-columns: 1fr; margin: 18px 0; }
	.contests.blog .contest_item-media { height: 170px; }
}

.contests { display: flex; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; }
.contest_item {
	background-color: #EFEEEE;
	box-shadow: -6px -6px 16px #FFF, 6px 6px 16px rgba(209, 205, 199,.5);
	width: calc(100% / 3 - 20px);
	border-radius: 10px;
	position: relative;
	overflow: hidden;
	margin-bottom: 20px;
	transition: .3s ease;
	transform: scale(1);
	color: inherit;
	display: block;
}
.contest_item:hover { transform: scale(1.05); }
.contest_item-background { height: 200px; width: 100%; background-color: #fff; background-size: cover; background-position: center; }
.contest_item-title, .block-category {
	position: relative;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 20px;
	transform: translateY(-50%);
	color: #fff;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	background: linear-gradient(135deg, var(--brand-green-700), var(--brand-green-900));
	padding: 8px 20px;
	min-height: 36px;
	display: inline-flex;
	max-width: calc(100% - 20px);
}
.contest_item-text { padding: 0 20px 20px; color: #2E5077; line-height: 20px; font-size: 16px; font-weight: 700; }

.block { padding: 40px 100px; border: 1px solid var(--brand-green-600); border-radius: 10px; margin: 20px 0; }

.block-text { margin-top: 15px; }

/* Tip card (front-page.php) */
.tip-card {
	border-radius: 18px;
	padding: 18px 18px;
	background:
		radial-gradient(700px 220px at 15% 10%, rgba(36, 97, 67, .12) 0%, rgba(36, 97, 67, 0) 55%),
		radial-gradient(700px 220px at 95% 0%, rgba(189, 29, 54, .10) 0%, rgba(189, 29, 54, 0) 55%),
		#fff;
	border: 1px solid rgba(15, 42, 30, .12);
	box-shadow: 0 18px 54px rgba(17, 24, 39, .10);
}
.tip-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tip-card-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(189,29,54,.10);
	border: 1px solid rgba(189,29,54,.20);
	color: var(--brand-red);
	font-weight: 900;
	font-size: 12px;
	letter-spacing: .25px;
}
.tip-card-meta { color: rgba(15, 42, 30, .62); font-weight: 700; font-size: 13px; }
.tip-card-title {
	margin-top: 12px;
	color: var(--brand-green-900);
	font-weight: 950;
	font-size: clamp(18px, 1.8vw, 26px);
	line-height: 1.15;
	letter-spacing: .2px;
}
.tip-card-text { margin-top: 10px; color: rgba(15, 42, 30, .78); font-weight: 650; line-height: 1.55; }
.tip-card-text p { margin: 0; }
.tip-card-points {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.tip-card-points li {
	position: relative;
	padding: 12px 12px 12px 40px;
	border-radius: 14px;
	background: rgba(15, 42, 30, .04);
	border: 1px solid rgba(15, 42, 30, .08);
	color: rgba(15, 42, 30, .86);
	font-weight: 650;
	line-height: 1.45;
}
.tip-card-points li:before {
	content: '';
	position: absolute;
	left: 12px;
	top: 12px;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: rgba(36, 97, 67, .12);
	border: 1px solid rgba(36, 97, 67, .24);
}
.tip-card-points li:after {
	content: '';
	position: absolute;
	left: 17px;
	top: 17px;
	width: 8px;
	height: 5px;
	border-left: 2px solid var(--brand-green-600);
	border-bottom: 2px solid var(--brand-green-600);
	transform: rotate(-45deg);
}
.tip-card-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; }
.tip-card-actions .button { min-width: 0; }

@media (max-width: 1139px) {
	.tip-card-points { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
	.tip-card { padding: 16px; }
}

/* Process (front-page.php) */
.process { margin-top: 26px; }
.process-inner { display: block; }
.process-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.process-head h2 { margin: 0; }
.process-subtitle { margin: 0 0 6px; color: rgba(15, 42, 30, .72); font-weight: 650; max-width: 620px; }
.process-grid {
	margin-top: 14px;
	display: grid;
	grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
	gap: 16px;
}
.process-cta {
	border-radius: 18px;
	overflow: hidden;
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 360px;
	box-shadow: 0 18px 54px rgba(17, 24, 39, .10);
	border: 1px solid rgba(15, 42, 30, .12);
}
.process-cta:before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(700px 280px at 15% 20%, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 60%),
		linear-gradient(105deg, rgba(15,42,30,.86) 0%, rgba(15,42,30,.64) 48%, rgba(15,42,30,.22) 80%, rgba(15,42,30,0) 100%);
	pointer-events: none;
}
.process-cta-card {
	position: relative;
	z-index: 2;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: flex-end;
	min-height: 360px;
}
.process-cta-badge {
	width: fit-content;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(189,29,54,.18);
	border: 1px solid rgba(189,29,54,.28);
	color: rgba(255,255,255,.96);
	font-weight: 900;
	font-size: 12px;
	letter-spacing: .25px;
}
.process-cta-title { color: #fff; font-weight: 950; letter-spacing: .2px; font-size: 22px; line-height: 1.12; margin-top: 2px; }
.process-cta-text { color: rgba(255,255,255,.88); font-weight: 650; line-height: 1.5; max-width: 360px; }
.process-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.process-cta-actions .button { min-width: 0; }

.process-steps {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: process-steps;
	display: grid;
	gap: 12px;
}
.process-step {
	counter-increment: process-steps;
	border-radius: 18px;
	background: #fff;
	border: 1px solid rgba(15, 42, 30, .12);
	box-shadow: 0 14px 34px rgba(17, 24, 39, .08);
	padding: 16px 16px 16px 54px;
	position: relative;
}
.process-step:before {
	content: counter(process-steps);
	position: absolute;
	left: 16px;
	top: 16px;
	width: 28px;
	height: 28px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: rgba(36, 97, 67, .10);
	border: 1px solid rgba(36, 97, 67, .18);
	color: var(--brand-green-900);
	font-weight: 950;
}
.process-step-title { font-weight: 950; color: var(--brand-green-900); line-height: 1.15; }
.process-step p { margin: 8px 0 0; color: rgba(15, 42, 30, .74); font-weight: 650; line-height: 1.5; }

@media (max-width: 960px) {
	.process-grid { grid-template-columns: 1fr; }
	.process-cta, .process-cta-card { min-height: 320px; }
	.process-cta-text { max-width: none; }
}

/* Swiper minimal (front-page gallery) */
.swiper-slide { text-align: center; }
.swiper-slide > * { text-align: initial; }
.block-slider-container { width: 100%; }
.block-slider-item { display: block; background: #fff; border-radius: 10px; overflow: hidden; padding: 20px; }

/* FOOTER (footer.php) */
footer#mos_footer_new.site-footer {
	width: calc(100% - 315px);
    margin-left: 315px;
	display: block;
	padding: 20px;
	background: linear-gradient(135deg, var(--brand-green-900), var(--brand-green-700));
	color: rgba(255,255,255,.92);
}

.site-footer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}
.site-footer-title { font-weight: 950; letter-spacing: .2px; font-size: 18px; color: #fff; }
.site-footer-subtitle { margin-top: 6px; color: rgba(255,255,255,.82); font-weight: 650; line-height: 1.5; max-width: 620px; }
.site-footer-cta .button { min-width: 0; }

.site-footer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	padding:15px 0;
}
.site-footer-col {
	border-radius: 18px;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.12);
	padding: 16px 16px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.site-footer-col-title { font-weight: 950; color: #fff; letter-spacing: .2px; margin-bottom: 10px; }
.site-footer-phone {
	display: inline-block;
	font-size: 22px;
	font-weight: 950;
	letter-spacing: .2px;
	color: #fff;
}
.site-footer-phone span { color: rgba(255,255,255,.72); }
.site-footer-muted { color: rgba(255,255,255,.76); font-weight: 650; }
.site-footer-list { display: grid; gap: 10px; }
.site-footer-links { display: grid; gap: 10px; }
.site-footer-links a { color: rgba(255,255,255,.88); text-decoration: none; font-weight: 700; }
.site-footer-links a:hover { color: #fff; text-decoration: underline; }

.site-footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding-top: 4px;
	border-top: 1px solid rgba(255,255,255,.14);
	margin-top: 4px;
}

@media (max-width: 960px) {
	.site-footer-grid { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 1139px) {
	.block-links li { width: calc(100% / 2 - 10px); }
}

@media (max-width: 800px) {
	main { margin-left: 0; width: 100%; margin-top: 70px; }
	footer#mos_footer_new { margin-left: 0; width: 100%; }
	.block-links li { width: 100%; }
	.hero-content { padding: 22px 16px !important; }
	.hero-content { min-height: 360px; align-items: flex-end; }
	.hero-block { min-height: 360px; }
	.hero-block:before {
		background: linear-gradient(180deg, rgba(17,24,39,.82) 0%, rgba(17,24,39,.50) 55%, rgba(17,24,39,.18) 100%);
	}

	#hamburger {
		background: var(--brand-blue);
		border-radius: 50%;
		width: 40px;
		height: 40px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		float: right;
	}

	footer#mos_footer_new.site-footer {
		width: 100%;
		margin-left: 0;
	}
	#hamburger span { width: 18px; margin: 2px auto; height: 3px; background: #fff; }

	#mos_header_newmsk_nav { left: -315px; transition: left 260ms cubic-bezier(0.2, 0.8, 0.2, 1); }
	body.menu-open #mos_header_newmsk_nav { left: 0; top:0; }
	body.menu-open { overflow: hidden; }

	header#mos_header_newmsk {  transition: .1s ease; }
	.mos_header_newmsk-sites-content { height: 0; border-width: 0; transition: .1s ease; }
	
	/* Drawer menu overlay должен открываться без влияния на раскладку контента */
	body.menu-open .mos_header_newmsk-sites-content { height: 0; border-width: 0; }
}

@media (max-width: 620px) {
	
	.service-card-title {
		font-size: 18px;
	}
	.service-card-desc {
		font-size: 14px;
	}
	.block_text-two_col { flex-wrap: wrap; }
	.block_text-two_col > .block_text-two_col-col,
	.block_text-two_col > .block_text-two_col-col:last-of-type {
		width: 100%;
		max-width: none;
		min-width: 0;
	}
}

@media (max-width: 400px) {
	#mos_header_newmsk_nav { width: calc(100vw - 40px); left: calc(40px - 100vw); }
	.mos_header_newmsk-logo { width: 170px; padding: 4px 0; }
}



/* FORM */

.forms h3 {
	padding: 0;
	margin: 0 0 20px;
	color: var(--brand-green-800);
	font-weight: 700;
	font-size: 21px;
}

.form-wrapper .field-wrapper.telephoneinput input.telephoneinput,
.form-wrapper .field-wrapper.textinput input.textinput,
.form-wrapper .field-wrapper.emailinput input.emailinput {
	line-height: 50px;
	width: 100%;
	background: #EFEEEE;
	padding: 0 20px;
	border: 0;
	border-bottom: 1px solid var(--brand-green-600);
	outline: none;
	height: 50px;
}

.form-wrapper form div.textinput:first-of-type input.textinput {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.form-wrapper form div.textinput:last-of-type input.textinput {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	border-bottom: none;
}

.form-wrapper form div.textarea textarea {
	width: 100%;
	background: #EFEEEE;
	padding: 20px;
	border: 0;
	font-family: 'Gilroy';
}

.form-wrapper form div.textarea textarea:last-of-type {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	border-bottom: none;
}

.form-wrapper .form-button {
	font-size: 16px;
	font-weight: 700;
	display: block;
	margin: 20px auto 0;
	border: 0;
	height: 42px;
	color: white;
	border-radius: 21px;
	background: var(--brand-red);
	padding: 0 20px;
	box-shadow: -6px -6px 16px rgba(255,255,255,.25), 6px 6px 16px rgba(189,29,54,.35);
}

.form-wrapper .checkboxinput {
	position: relative;
	margin-top: 20px;
}

.form-wrapper .checkboxinput input {
	width: 40px;
	height: 40px;
	display: inline-block;
	opacity: 0;
	top: 0;
	left: 0;
	position: absolute;
	z-index: 5;
}

.form-wrapper .checkboxinput label {
	width: 40px;
	height: 40px;
	background-color: #EFEEEE;
	display: inline-block;
	border-radius: 7px;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 4;
}

.form-wrapper .checkboxinput input:checked + label {
	background: #EFEEEE url('img/check.svg') center no-repeat;
}

.form-wrapper .checkboxinput .help-text {
	padding-left: 60px;
	display: block;
	font-size: 12px;
	line-height: 1.5;
}

.form-wrapper .clearablefileinput {
	position: relative;
	margin-top: 10px;
}

.form-wrapper .field-wrapper.clearablefileinput label {
	border: 3px solid white;
	border-radius: 8px;
	font-size: 16px;
	text-align: center;
	padding: 10px 20px;
	position: relative;
	z-index: 2;
	display: block;
	cursor: pointer;
}

.form-wrapper .field-wrapper.clearablefileinput label:hover {
	background: white;
	color: var(--brand-green-600);
}

.form-wrapper .filefield {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

.form-wrapper .filefield::-webkit-file-upload-button {
	visibility: hidden;
}

.form-wrapper .filefield:before {
	content: '';
}

.form-wrapper .field-wrapper.select label {
	font-size: 16px;
	margin: 10px 0 2px;
	display: block;
}

.form-wrapper .field-wrapper.select select {
	line-height: 50px;
	height: 50px;
	width: 100%;
	padding: 0 20px;
	border: 0;
	border-bottom: 1px solid var(--brand-green-600);
	background: #EFEEEE url('img/dropdown.svg') calc(100% - 20px) 50% no-repeat;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.mos-modal .form-wrapper label {
	font-size: 0;
}

.mos-modal .help-text {
	display: inline;
}

/* Fancybox / mos-modal: callback & callmaster */
.mos-modal.forms {
	padding: 24px 24px 26px;
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 22px 48px rgba(15, 42, 30, .32);
	border: 1px solid rgba(36, 97, 67, .16);
}

.mos-modal .form-wrapper {
	margin: 0;
}

.mos-modal-title {
	text-align: center;
	font-size: 22px;
	font-weight: 800;
	color: var(--brand-green-900);
	margin: 0 0 10px;
}

.mos-modal-subtitle {
	text-align: center;
	font-size: 14px;
	color: rgba(15, 42, 30, .72);
	margin: 0 0 18px;
}

.mos-modal .wpcf7 {
	margin: 0;
}

.wpcf7-not-valid-tip {
	font-size:14px;
}

.mos-modal .wpcf7-form-control.wpcf7-text,
.mos-modal .wpcf7-form-control.wpcf7-tel,
.mos-modal .wpcf7-form-control.wpcf7-email,
.mos-modal .wpcf7-form-control.wpcf7-textarea {
	width: 100%;
	box-sizing: border-box;
	border-radius: 10px;
	border: 1px solid rgba(36, 97, 67, .28);
	background: #f4f7f5;
	padding: 10px 14px;
	font-size: 15px;
	margin:10px 0;
}

.mos-modal .wpcf7-form-control.wpcf7-textarea {
	min-height: 90px;
	resize: vertical;
}

.forms br {
	display: none;
}
.mos-modal .wpcf7-submit {
	margin-top: 10px;
}

.mos-modal .wpcf7-submit,
.mos-modal .form-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 100%;
	height: 44px;
	border-radius: 22px;
	border: 0;
	background: var(--brand-red);
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	cursor: pointer;
	padding: 0 24px;
	box-shadow: -6px -6px 16px rgba(255,255,255,.18), 6px 6px 16px rgba(189,29,54,.35);
	transition: transform .18s ease, box-shadow .18s ease;
}

.mos-modal .wpcf7-submit:hover,
.mos-modal .form-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(189,29,54,.35);
}

.mos-modal .wpcf7-submit:active,
.mos-modal .form-button:active {
	transform: translateY(0);
	box-shadow: none;
}

main>.forms {
	background: linear-gradient(135deg, var(--brand-green-700), var(--brand-green-900));
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 20px;
}

main>.forms label {
	font-size: 0;
}

#callmaster.mos-modal,
#callback.mos-modal,
#valueofaphoto.mos-modal,
#mosquito_form-modal,
#assessquality.mos-modal {
	max-width: 420px;
	width: 100%;
}

#callmaster.mos-modal form div.textinput:nth-child(2n) input.textinput,
#callback.mos-modal form div.textinput:nth-child(2n) input.textinput,
#assessquality.mos-modal form div.textinput:nth-child(5) input.textinput {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	border-bottom: none;
}


/* MOSQUITO FORM */
.forms.mosquito_form {
	background: #EFEEEE;
	display: flex;
	padding: 0;
	overflow: hidden;
	box-shadow: -6px -6px 16px rgba(255,255,255,1), 6px 6px 16px rgb(209,205,199, .5);
}

.forms.mosquito_form .field-radioselector-heading {
	display: none;
}

.forms.mosquito_form .field-wrapper {
	margin-bottom: 10px;
}

.forms.mosquito_form .description {
	width: 100%;
	padding: 13px 10px;
}

.forms.mosquito_form .form-wrapper {
	width: 100%;
	padding: 0 10px;
}

.forms.mosquito_form .mosquito_form-col {
	padding: 10px;
	width: 50%;
	float: left;
}

.forms.mosquito_form button.button {
	float: right;
	margin: 0 10px;
}

.forms.mosquito_form .mosquito_form-item:after {
	display: table;
	width: 100%;
	clear: both;
	float: none;
	content: '';
}

.forms.mosquito_form .mosquito_form-item {
	position: relative;
}

.forms.mosquito_form .mosquito_form-item .delete_position {
	position: absolute;
	top: 0;
	right: 10px;
	width: 32px;
	height: 32px;
	display: block;
	border: 0;
	padding: 0;
	outline-offset: none;
	margin: 0;
	cursor: pointer;
	transition: .3s;
	transform: rotateZ(0deg);
}

.forms.mosquito_form .mosquito_form-item .delete_position:before,
.forms.mosquito_form .mosquito_form-item .delete_position:after {
	content: '';
	background: var(--brand-green-600);
	width: 100%;
	height: 4px;
	display: block;
	position: absolute;
	transform: rotateZ(45deg);
	top: calc(50% - 2px);
	left: 0;
}

.forms.mosquito_form .mosquito_form-item .delete_position:after {
	transform: rotateZ(-45deg);
}

.forms.mosquito_form .mosquito_form-item .delete_position:hover {
	transform: rotateZ(180deg);
}

#mosquito_form select,
#mosquito_form input {
	border-bottom: 0;
	border-radius: 8px;
	margin: 0;
	background: white;
}

#mosquito_form label {
	font-size: 16px;
	margin: 10px 0 2px;
	display: none;
}

#mosquito_form .checkboxinput label {
	margin: 0;
	display: inline-block;
	font-size: 0;
}

#mosquito_form select {
	background: white url('img/dropdown_black.svg') calc(100% - 20px) 50% no-repeat;
}

#mosquito_form .call-mosquito-modal {
	background: var(--brand-red);
	color: white;
	margin: 0;
	display: flex;
	align-items: center;
	box-shadow: -6px -6px 16px rgba(255,255,255,.18), 6px 6px 16px rgba(189,29,54,.35);
}

#mosquito_form .field-radioselector {
	display: flex;
	align-items: stretch;
	border-radius: 10px;
	border: 2px solid white;
	overflow: hidden;
}

#mosquito_form .field-radioselector label {
	display: block;
	width: 100%;
	position: relative;
	display: flex;
	border-right: 2px solid white;
	margin: 0;
	align-items: center;
	justify-content: center;
}

#mosquito_form .field-radioselector label:last-of-type {
	border-right: none;
}

#mosquito_form .field-radioselector label input {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
	display: block;
	width: 100%;
	height: 100%;
}

#mosquito_form .field-radioselector label input:checked {
	opacity: 0;
}

#mosquito_form .field-radioselector label .radio {
	width: 100%;
	height: 106px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	flex-wrap: wrap;
	cursor: pointer;
}

#mosquito_form .field-radioselector label .radio b {
	color: var(--brand-green-600);
	font-size: 27px;
	line-height: 145%;
	display: block;
	width: 100%;
}

#mosquito_form .field-radioselector label input:checked ~ span {
	background: white;
}

#mosquito_form_tsvet_ramka .field-radioselector label .radio {
	padding-top: 0;
	padding-bottom: 0;
	flex-wrap: nowrap;
	flex-direction: column;
}

#mosquito_form_tsvet_ramka .field-radioselector label .radio:before {
	display: block;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	content: '';
	margin-bottom: 10px;
}

#mosquito_form_tsvet_ramka .field-radioselector label:nth-of-type(1) .radio:before {
	border: 3px solid #BDBDBD;
	background: white;
}

#mosquito_form_tsvet_ramka .field-radioselector label:nth-of-type(2) .radio:before {
	background: #9D8769;
}

#mosquito_form_tsvet_ramka .field-radioselector label:nth-of-type(3) .radio:before {
	background: conic-gradient(red, yellow, lime, aqua, blue, magenta, red);
}

#mosquito_form_delivery .field-radioselector {
	margin: 10px;
	border: 1px solid var(--brand-green-600);
}

#mosquito_form_delivery .field-radioselector label {
	border-right: 1px solid var(--brand-green-600);
}

#mosquito_form_delivery .field-radioselector label .radio {
	justify-content: flex-start;
	font-size: 16px;
}

#mosquito_form_delivery_address {
	margin: 0 10px;
}

.forms.mosquito_form .field-wrapper h3,
.forms.mosquito_form .mosquito_form-item-position_heading {
	color: var(--brand-green-800);
	margin: 30px 10px 20px;
}

.forms.mosquito_form .form-success {
	padding: 48px;
	text-align: center;
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.forms.mosquito_form .button-wrapper.to-modal {
	background: linear-gradient(to right, rgb(34,193,201), rgb(70,108,140));
	color: white;
	padding: 20px;
	margin: 10px -10px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

@media(max-width:1140px) {
	#mosquito_form_tsvet_ramka .field-radioselector label .radio {
		padding-left: 10px;
		padding-right: 10px;
		font-size: 14px;
	}

	#mosquito_form_delivery .field-radioselector label .radio {
		font-size: 14px;
	}

	#mosquito_form .field-radioselector label .radio b {
		font-size: 18px;
	}
}

@media(max-width:980px) {
	.forms.mosquito_form .mosquito_form-col {
		width: 100%;
		padding-top: 0;
		padding-bottom: 0;
	}
}

@media(max-width:620px) {

	#mosquito_form .field-radioselector {
		flex-wrap: wrap;
	}

	#mosquito_form .field-radioselector label {
		border-right: 0;
		border-bottom: 1px solid white;
	}

	#mosquito_form_delivery .field-radioselector label {
		border-right: 0;
		border-bottom: 1px solid var(--brand-green-600);
	}

	#mosquito_form .field-radioselector label:last-of-type {
		border-bottom: 0;
	}

	#mosquito_form_delivery .field-radioselector label .radio {
		text-align: center;
		justify-content: center;
	}

	.forms.mosquito_form .button-wrapper.to-modal {
		flex-wrap: wrap;
		justify-content: flex-end;
	}

	#mosquito_form .call-mosquito-modal {
		margin-top: 10px;
	}
}

/* MAP */
#map_canvas {
	width: 100%;
	min-height: 400px;
}

.map_container {
	background: linear-gradient(135deg, var(--brand-green-700), var(--brand-green-900));
	color: white;
	border-radius: 8px;
	overflow: hidden;
	position: relative;
	margin: 20px 0;
}


/* CONTENT */


.check-list {
	margin: 0;
	padding: 0 0 0 30px;
}

.check-list li {
	display: block;
	position: relative;
	line-height: 150%;
}

.check-list li:before {
	position: absolute;
	width: 16px;
	height: 12px;
	top: calc(.5em - 6px);
	left: calc(8px - 30px);
	content: '';
	background: url('img/check.svg') center no-repeat;
	font-size: 24px;
}

.block-links {
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 20px 0 0;
	padding: 0;
}

.block-links li {
	width: calc(100% / 3 - 20px);
	display: flex;
	margin-bottom: 20px;
}

.block-links li:before {
	display: none;
}

.block-links li a {
	min-height: 80px;
	display: flex;
	border-radius: 10px;
	padding: 20px;
	width: 100%;
	color: #2E5077;
	font-weight: 700;
	align-items: center;
	justify-content: space-between;
	background-color: #EFEEEE;
	box-shadow: -6px -6px 16px #FFF, 6px 6px 16px rgba(209, 205, 199,.5);
	transform: scale(1);
	transition: .3s ease;
}

.block-links li a:hover {
	transform: scale(1.05);
}

/* Icon size inside block-links */
.block-links svg {
	width: 50px;
	height: 50px;
	display: block;
}


.main-top_block-content .block-links li {
	width: calc(100% / 2 - 20px);
}

@media(max-width:1139px) {
	main>.block-links li {
		width: calc(100% / 2 - 10px);
	}
}

@media(max-width:800px) {
	.main-top_block-content .block-links li {
		width: calc(100% / 2 - 10px);
	}

	main {
		margin-left: 0;
		width: 100%;
		margin-top: 70px;
	}

	body.menu-open main {
		/* Не меняем отступы: чтобы контент не прыгал */
		margin-top: 70px;
		transition: none;
	}

	footer#mos_footer_new {
		margin-left: 0;
		width: 100%;
	}

	main>.block-links li {
		width: calc(100%);
	}
}

.block-steps {
	width: 100%;
	margin: 20px 0;
}

.block-steps-container {
	display: flex;
	counter-reset: block-steps;
	justify-content: space-between;
	margin: 0;
	padding: 0;
}

.block-steps li {
	width: calc(100% / 3 - 20px);
	counter-increment: block-steps;
	display: block;
}

.block-steps li:before {
	display: none;
}

.block-steps img {
	display: block;
	margin: 10px auto;
}

.block-steps-text {
	border-top: 1px solid var(--brand-green-600);
	position: relative;
	padding: 20px 0;
}

.block-steps-text:before {
	content: counter(block-steps);
	padding: 0 20px 0 0;
	color: var(--brand-green-600);
	background: rgba(239, 238, 238, 1);
	display: inline-block;
	position: absolute;
	top: -12px;
	font-size: 16px;
	font-weight: 700;
}

@media(max-width:800px) {
	.block-steps-container {
		flex-wrap: wrap;
	}

	.block-steps li {
		width: 100%;
	}

	.block-steps img {
		margin-bottom: 20px;
	}

	.block-steps-text {
		border-top: 0;
		padding: 0 20px 0 35px;
	}

	.block-steps-text:before {
		left: 0;
		padding: 12px 5px;
		z-index: 10;
	}

	.block-steps-text:after {
		display: block;
		position: absolute;
		top: 0;
		left: 10px;
		bottom: -70px;
		width: 1px;
		background-color: var(--brand-green-600);
		content: '';
	}

	.block-steps li:last-of-type .block-steps-text:after {
		display: none;
	}
}

.gradient-left-right {
	background: linear-gradient(135deg, var(--brand-green-700), var(--brand-green-900));
	color: #fff;
}

.main-top_block {
	min-height: 320px;
	width: 100%;
	display: block;
	position: relative;
	margin-bottom: 40px;
}

.main-top_block.fullwidth {
	min-height: 400px;
}

.main-top_block-background {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 55%;
	z-index: 5;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}

.main-top_block.fullwidth .main-top_block-background {
	left: 0;
}

.main-top_block-background video {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	min-width: 100%;
}

.main-top_block-content {
	padding: 40px 20px;
	z-index: 10;
	width: 55%;
	overflow: auto;
	position: relative;
	bottom: 20px;
	top: 0;
}

.main-top_block-content .button-block {
	margin-top: 25px;
}

.main-top_block .block-links {
	min-width: 925px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin: 0;
	padding: 0;
}

.main-top_block .block-links li {
	margin: 0;
}

.main-top_block .block-links li a {
	display: block;
	background: white;
	box-shadow: none;
	margin-bottom: 0;
	background: rgba(255,255,255,.8);
	transform: scale(1);
	transition: .3s ease;
}

.main-top_block .block-links li a:hover {
	background: rgba(255,255,255,1);
	box-shadow: 0 0 8px rgba(0,0,0,.2);
	transform: scale(1.05);
}

.main-top_block .block-links li a:before {
	width: 24px;
	height: 24px;
	content: '';
	display: block;
	background: url('img/arrow.svg') center left no-repeat;
}

.main-top_block.fullwidth .main-top_block-background.video video {
	transform: translateY(-50%);
	top: 50%;
}

@media(min-width:1400px) {
	.main-top_block.fullwidth {
		min-height: 25vw;
	}
}

@media(max-width:800px) {
	.main-top_block-background {
		width: 100%;
		position: relative;
		left: 0;
		min-height: 400px;
	}

	.main-top_block-content {
		width: 100%;
		padding-top: 20px;
	}

	.main-top_block.fullwidth .main-top_block-background.video video {
		min-height: 400px;
		width: auto;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
	}
}

@media(max-width:480px) {
	.main-top_block-background,
    .main-top_block.fullwidth .main-top_block-background.video video,
    .main-top_block.fullwidth {
		min-height: 340px;
	}

	.main-top_block .block-links {
		min-width: calc(100vw * 3 - 120px);
	}

	.main-top_block-content .block-links li {
		width: calc(100% / 3 - 10px);
	}
}

.contests {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.contest_item {
	background-color: #EFEEEE;
	box-shadow: -6px -6px 16px #FFF, 6px 6px 16px rgba(209, 205, 199,.5);
	width: calc(100% / 3 - 20px);
	border-radius: 10px;
	position: relative;
	overflow: hidden;
	margin-bottom: 20px;
	transition: .3s ease;
	transform: scale(1);
}

.contest_item:hover {
	transform: scale(1.05);
}

.contest_item-background {
	height: 200px;
	width: 100%;
	background-color: white;
	background-size: cover;
	background-position: center;
}

.contest_item-title, .block-category {
	position: relative;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 20px;
	transform: translateY(-50%);
	color: white;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	background: linear-gradient(135deg, var(--brand-green-700), var(--brand-green-900));
	padding: 8px 20px;
	min-height: 36px;
	display: inline-flex;
	max-width: calc(100% - 20px);
}

.contest_item-title:after, .block-category:after {
	content: '';
	display: block;
	position: absolute;
	left: calc(100% - 1px);
	top: 0;
	bottom: 0;
	width: 36px;
	background: url('img/endtitle.svg') -2px center no-repeat;
	background-size: contain;
}

.contest_item-text {
	padding: 0 20px 20px;
	color: #2E5077;
	line-height: 20px;
	font-size: 16px;
	font-weight: 700;
}

@media(max-width:800px) {
	.contest_item {
		width: 100%;
	}
}

.block_two_col {
	display: flex;
	min-height: 280px;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	align-items: center;
	margin: 20px 0;
}

.block_two_col > * {
	width: 50%;
	display: block;
	padding: 20px;
}

.block_two_col-background {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-color: white;
	background-size: cover;
}

.block_two_col-text {
	color: white;
	font-size: 27px;
	font-weight: 700;
	line-height: 145%;
	margin-left: 50%;
}

.block_two_col .button {
	margin-top: 30px;
}

.block_two_col.soft {
	min-height: unset;
}

.block_two_col.soft .block_two_col-background {
	position: relative;
	padding: 0;
	max-width: 600px;
	width: 50%;
}

.block_two_col.soft .block_two_col-background img {
	display: block;
}

.block_two_col.soft .block_two_col-text {
	margin: 0;
	width: calc(100% - 600px);
	min-width: 50%;
}

.block_text-two_col {
	display: flex;
}

.block_text-two_col.reverse {
	flex-direction: row-reverse;
}

.block_text-two_col > .block_text-two_col-col {
	display: block;
	width: 40%;
	max-width: 300px;
	padding-bottom: 20px;
}

.block_text-two_col > .block_text-two_col-col:last-of-type {
	width: 60%;
	padding: 20px;
	min-width: calc(100% - 300px);
}

.block_text-two_col.reverse > .block_text-two_col-col:last-of-type {
	padding-left: 0;
}

.block_text-two_col img {
	width: 100%;
}

main h2 ~ .block_text-two_col > .block_text-two_col-col:last-of-type {
	padding-top: 0;
}

@media(max-width:960px) {
	.block_two_col.soft .block_two_col-text {
		font-size: 21px;
		text-align: center;
	}

	.block_two_col.soft .button {
		margin-top: 12px;
	}
}

@media(max-width:860px) {
	.block_two_col.soft {
		flex-wrap: wrap;
	}

	.block_two_col.soft .block_two_col-background,
	.block_two_col.soft .block_two_col-background img,
	.block_two_col.soft .block_two_col-text {
		width: 100%;
		max-width: unset;
	}
}

@media(max-width:800px) {
	.block_two_col, .block_text-two_col {
		flex-wrap: wrap;
	}

	.block_two_col-background {
		position: relative;
		width: 100%;
		min-height: 280px;
	}

	.block_two_col-text {
		width: 100%;
		margin-left: 0;
	}

	.block_text-two_col > .block_text-two_col-col {
		width: 100%;
		max-width: unset;
	}

	.block_text-two_col > .block_text-two_col-col:last-of-type {
		width: 100%;
	}
}

@media(max-width:400px) {
	.block_two_col .button {
		font-size: 14px;
	}
}

.block {
	padding: 40px 100px;
	border: 1px solid var(--brand-green-600);
	border-radius: 10px;
	margin: 20px 0;
}

.block-category {
	transform: none;
}



.block-text {
	margin-top: 15px;
}

.block-text+table,.block-text+.table_wrap {
	margin-top: 15px;
}

@media(max-width:800px) {
	.block {
		padding: 40px 20px;
	}
}


.swiper-slide {
	text-align: center;
}

.swiper-slide > * {
	text-align: initial;
}

.table_wrap:after {
	content: '';
	position: absolute;
	right: -20px;
	top: 0px;
	width: 25%;
	height: 100%;
	background: linear-gradient(
    90deg
    , rgba(192,192,192,0.0) 0%, rgb(239 238 238) 100%);
	transition: 0.3s all;
	opacity: 0;
	display: none;
}

.table_wrap.done:after {
	opacity: 0;
}

.table_wrap_effect {
	position: relative;
}

@media (max-width: 600px) {
	.table_wrap td {
		text-align: center;
	}
}

.block-prices tbody tr td.price {
	text-align: center;
}

.customer_trust_new {
	margin: 20px 0;
}

.customer_trust_new h2, .customer_trust_new .h2 {
	margin-bottom: 0;
}

.customer_trust_new-container {
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.customer_trust_new-container-col {
	width: 40%;
	padding: 20px;
	float: left;
}

.customer_trust_new-container .customer_trust_new-container-col:last-of-type {
	width: 60%;
}

.customer_trust_new-container-col .button, .customer_trust_new-container-col button {
	margin-right: 20px;
}

.customer_trust_new-badges {
	width: 440px;
	height: 220px;
	margin: 0 auto 30px;
}

.customer_trust_new-badge {
	background: url("img/badge.svg") center no-repeat;
	width: 220px;
	height: 220px;
	text-align: center;
	color: #2E5077;
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	float: left;
	position: relative;
	line-height: 150%;
}

.customer_trust_new-badges .customer_trust_new-badge:nth-of-type(2n-1) {
	background-image: url("img/badge_yandex.svg");
	z-index: 1;
}

.customer_trust_new-badges .customer_trust_new-badge:nth-of-type(2n) {
	background-image: url("img/badge_google.svg");
	margin-left: -40px;
	z-index: 0;
}

.customer_trust_new-badge span {
	color: var(--brand-green-600);
	font-size: 67px;
	font-weight: 700;
	line-height: 1;
}

.customer_trust_new-badge span:after {
	display: block;
	margin: 0 auto 5px;
	content: '';
	width: 136px;
	height: 20px;
	background: url('img/stars.svg') center no-repeat;
}

.customer_trust_new-badge b {
	display: block;
}

.customer_trust_new-badge a {
	text-decoration: underline;
}

.customer_trust_new-title {
	text-align: center;
	color: #2E5077;
	line-height: 24px;
	padding: 0 40px;
}

.customer_trust_new-title b {
	display: block;
	font-size: 27px;
	line-height: 113%;
	font-weight: 700;
}

.customer_trust_new-title i {
	display: block;
	font-size: 16px;
	font-weight: 700;
	font-style: normal;
}

@media(max-width:1294px) {
	.customer_trust_new-container-col .button:first-of-type {
		margin-bottom: 10px;
	}

	.customer_trust_new-container.gradient-left-right .customer_trust_new-container-col:last-of-type {
		text-align: center;
	}
}

@media(max-width:850px) {
	.customer_trust_new-container {
		flex-wrap: wrap;
	}

	.customer_trust_new-container-col, .customer_trust_new-container .customer_trust_new-container-col:last-of-type {
		width: 100%;
		padding: 20px 0 0;
	}

	.customer_trust_new-container.gradient-left-right .customer_trust_new-container-col {
		padding: 20px 20px 0;
	}

	.customer_trust_new-container-col .button, .customer_trust_new-container-col button {
		margin-bottom: 20px;
	}
}

.our_masters {
	position: relative;
}

.our_masters:after {
	content: '';
	position: absolute;
	right: -20px;
	top: 0;
	bottom: 0;
	background: linear-gradient(to left, rgba(239, 238, 238, 1), rgba(229,229,229,0));
	pointer-events: none;
	width: calc(100% / 3);
	min-width: 60px;
}

.our_masters h2, .our_masters .h2 {
	max-width: 480px;
	height: 100px;
}

.our_masters h2 span, .our_masters .h2 span {
	font-size: 87px;
	color: var(--brand-green-600);
	float: left;
	line-height: 1;
	margin-right: 20px;
}

.our_masters-content {
	width: calc(100% + 40px);
	overflow-x: auto;
	margin-left: -20px;
	margin-right: -20px;
	position: relative;
	width: initial;
	overflow: hidden;
}

.our_masters-content::-webkit-scrollbar {
	height: 2px;
}

.our_masters-content::-webkit-scrollbar-track {
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.our_masters-content::-webkit-scrollbar-thumb {
	background-color: #2E5077;
	opacity: .2;
	outline: 1px solid slategrey;
}

.our_masters-container {
/*min-width:925px;*//*width:max-content;*/
	padding: 30px 20px 20px;
/*display:flex;*/
	padding-bottom: 40px;
}

.our_master-item {
	width: calc(100% / 3 - 20px);
	min-width: 400px;
	display: block;
	float: left;
	margin-right: 20px;
	width: initial;
	cursor: pointer;
	float: initial;
	user-select: none;
}

.our_master-head {
	display: flex;
	align-items: center;
}

.our_master-title b {
	display: block;
}

.our_master-avatar {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	margin-right: 20px;
	background-position: center;
	background-size: cover;
}

.our_master-title {
	width: calc(100% - 160px);
}

.our_master-content {
	padding: 10px 0 0;
}

@media(max-width:560px) {
	.our_masters h2, .our_masters .h2 {
		height: unset;
	}

	.our_masters h2 span, .our_masters .h2 span {
		display: block;
		width: 100%;
	}
}

.block-slider-container {
	margin-left: -20px;
	margin-right: -20px;
	width: calc(100% + 40px);
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

.block-slider-container .slick-slide {
	padding: 20px 10px;
}

.slick-arrow {
	top: 0;
	bottom: 0;
	transform: none;
	-webkit-transform: none;
	width: calc(20%);
	max-width: 400px;
	min-width: 60px;
	height: unset;
	z-index: 90;
	opacity: 0;
}

.slick-arrow.slick-prev {
	left: 0;
}

.slick-arrow.slick-next {
	right: 0;
}

.block-slider-item {
	height: 340px;
	width: auto;
	padding: 20px;
	background: white;
	box-shadow: 0 0 9px rgba(0,0,0,.1), 6px 6px 16px rgba(209, 205, 199,.5);
	position: relative;
	font-size: 0;
	display: inline-block;
	width: 100%;
	height: auto;
	user-select: none;
	outline: none;
	border: none;
	outline: none;
}

.block-slider-item img {
	width: 100%;
	height: auto;
}

.swiper img {
	display: block;
}

.block-slider-container .swiper-wrapper {
	padding-bottom: 30px;
}

.youtube_video {
	position: relative;
}

.youtube_video:before {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 70px;
	height: 70px;
	border-radius: 50%;
	content: '';
	background: var(--brand-green-600) url('img/play.svg') 80% 20% no-repeat;
	background-size: 90%;
	opacity: 70%;
}

.block-prices {
	margin: 20px 0 10px;
}

.block-prices tbody tr td.price {
	font-weight: 700;
	color: #2E5077;
	width: 160px;
}

.block-prices tbody tr td.price span.old_price {
	font-weight: 300;
	color: #3D3D3D;
	width: 160px;
	position: relative;
	display: inline-block;
	padding-top: 0;
	font-size: 80%;
}

.block-prices tbody tr td.price span.old_price .value {
	position: relative;
	display: inline-block;
	width: auto;
	padding: 0 8px;
	line-height: 16px;
}

.block-prices tbody tr td.price span.old_price .value::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background-image: url('data:image/svg+xml;utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%25%22%20height%3D%22100%25%22%3E%0A%20%20%20%20%3Cline%20x1%3D%220%22%20y1%3D%22100%25%22%20x2%3D%22100%25%22%20y2%3D%220%22%20stroke%3D%22%23FFA630%22%20stroke-width%3D%222%22%2F%3E%0A%3C%2Fsvg%3E');
	background-size: cover;
}

body.compensate-for-scrollbar {
	overflow: initial !important;
}

@media(max-width:600px) {
	.block-prices tbody {
		display: block;
	}

	.block-prices tbody tr {
		display: block;
		border-top: 1px solid rgba(34,193,201,.2);
		width: 100%;
		padding: 16px 0;
	}

	.block-prices tbody tr:first-of-type {
		border-top: 1px solid rgba(34,193,201,1);
	}

	.block-prices tbody tr td:first-of-type,
    .block-prices tbody tr td:last-of-type {
		display: block;
		width: 100%;
		border: none;
		padding: 0;
	}
}

@media(max-width:480px) {
    /*.block-slider-item {height:auto;padding:0;}*/
	.block-slider-item img {
		height: auto;
		width: calc(100vw - 80px);
	}

	.slick-track {
		display: flex;
		align-items: center;
	}
}


.block-tables tbody tr td:last-of-type {
	font-weight: 700;
	color: #2E5077;
}

.block-services-list {
	padding: 0;
	margin: 20px 0;
	display: flex;
	flex-wrap: wrap;
}

.block-services-item {
	width: calc(100% / 3 - 15px);
	display: block;
	margin-right: 20px;
	-webkit-perspective: 800px;
	-moz-perspective: 800px;
	-o-perspective: 800px;
	perspective: 800px;
	margin-bottom: 30px;
}

.block-services .block-services-item:nth-of-type(3n) {
	margin-right: 0;
}

.block-services-item:before {
	display: none;
}

.block-services-item:not(.manual-flip):hover .block-services-card,
.block-services-item.hover.manual-flip .block-services-card {
	-webkit-transform: rotateY( 180deg );
	-moz-transform: rotateY( 180deg );
	-o-transform: rotateY( 180deg );
	transform: rotateY( 180deg );
}

.block-services-item.static:hover .block-services-card,
.block-services-item.static.hover .block-services-card {
	-webkit-transform: none;
	-moz-transform: none;
	-o-transform: none;
	transform: none;
}

.block-services-card {
	-webkit-transition: -webkit-transform .5s;
	-moz-transition: -moz-transform .5s;
	-o-transition: -o-transform .5s;
	transition: transform .5s;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	transform-style: preserve-3d;
	position: relative;
	display: block;
}

.block-services-card .front, .block-services-card .back {
	width: 100%;
	color: #2E5077;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	backface-visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #EFEEEE;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.block-services-card .front {
	z-index: 2;
}

.block-services-card .back {
	-webkit-transform: rotateY( 180deg );
	-moz-transform: rotateY( 180deg );
	-o-transform: rotateY( 180deg );
	transform: rotateY( 180deg );
	z-index: 3;
	padding: 20px;
}

.block-services-card {
	background: none repeat scroll 0 0 #FFFFFF;
	border-radius: 10px;
	color: #444444;
}

.block-services-item, .block-services-card .front, .block-services-card .back {
	height: 280px;
	border-radius: 10px;
}

.block-services-img {
	height: 200px;
	width: 100%;
	display: block;
	background-size: cover;
	background-position: center;
}

.block-services-title {
	padding: 0 20px;
	display: flex;
	height: calc(280px - 200px);
	align-items: center;
	font-size: 16px;
	font-weight: 700;
}

.block-services-semititle {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 40px;
	display: block;
}

@media(max-width:1024px) {
	.block-services-item {
		width: calc(100% / 2 - 10px);
	}

	.block-services .block-services-item:nth-of-type(3n) {
		margin-right: 20px;
	}

	.block-services .block-services-item:nth-of-type(2n) {
		margin-right: 0;
	}
}

@media(max-width:620px) {
	.block-services-item {
		width: 100%;
		margin-right: 0 !important;
	}
}

.page-as-app-post {
	width: 100%;
	display: flex;
	overflow: hidden;
	margin-bottom: 20px;
	border-radius: 10px;
	background-color: #EFEEEE;
	box-shadow: -6px -6px 16px #FFF, 6px 6px 16px rgba(209, 205, 199,.5);
}

.page-as-app-post > * {
	flex: 1;
	min-height: 280px;
}

.page-as-app-post-img {
	display: flex;
	background-position: center;
	background-size: cover;
}

.page-as-app-video {
	display: flex;
}

.page-as-app-video .page-as-app-post-img {
	width: 100%;
}

.page-as-app-desc {
	padding: 30px 20px;
	display: flex;
	flex-direction: column;
}

.page-as-app-title {
	font-size: 21px;
	font-weight: 700;
	margin-bottom: 10px;
}

.page-as-app-text {
	flex: 1;
}


.page-as-blog-instance_newmsk{
	border-radius: 10px;
	background-color: #EFEEEE;
	box-shadow: -6px -6px 16px #FFF, 6px 6px 16px rgba(209, 205, 199,.5);
	position: relative;
	overflow: hidden;
	margin-bottom: 20px;
}

.page-as-blog-title {
	margin-top: 0;
}

.page-as-blog-instance_newmsk-thumb {
	width: 100%;
	min-height: 440px;
	background-position: center;
	background-color: #c7e2e9;
	background-size: contain;
	background-repeat: no-repeat;
}

.page-as-blog-instance_newmsk-video {
	position: relative;
	display: block;
}

.page-as-blog-instance_newmsk-text {
	width: calc(100% - 200px);
	min-width: 320px;
	max-width: 820px;
	margin: 0 auto;
	padding: 30px 20px;
}

@media(max-width:620px) {
	.page-as-blog-instance_newmsk-text {
		width: 100%;
	}

	.page-as-app-post {
		display: block;
	}

	.page-as-app-post .page-as-app-desc {
		min-height: auto;
	}

	.page-as-blog-instance_newmsk-thumb {
		background-size: cover;
	}
}

#HTTP404_ERROR_PAGE > img {
	display: block;
	max-width: 100%;
	margin: 60px auto 30px;
	float: none;
	clear: both;
}

#HTTP404_ERROR_PAGE > span {
	font-size: 21px;
	font-weight: 700;
	text-align: center;
	display: block;
	color: #2E5077;
	letter-spacing: .1;
}

#HTTP404_ERROR_PAGE > a.button {
	background-color: var(--brand-blue);
	margin: 20px auto 60px;
	display: flex;
	max-width: 100px;
}

.form-wrapper .form-button:hover {
	cursor: pointer;
}



@media(min-width:620px) {
	.swiper-button-next,
    .swiper-button-prev {
		display: none !important;
	}
}


/*  Переверстка страницы блога  */
@media(min-width:1700px) {
	.page-as-app {
		display: flex;
		flex-flow: wrap;
	}

	.page-as-app-post {
		margin-left: 15px;
		margin-right: 15px;
		margin-bottom: 30px;
	}

	.page-as-app-post {
		flex: 46%;
	}
}

@media(min-width:2800px) {
	.page-as-app {
		display: flex;
		flex-flow: wrap;
	}

	.page-as-app-post {
		margin-left: 15px;
		margin-right: 15px;
		margin-bottom: 30px;
	}

	.page-as-app-post {
		flex: 30%;
	}
}

/*  Фикс позиции номера телефона в модальном окне  */
.mos-modal-title {
	text-align: center;
}

/*  Фикс модального окна  */
.form-wrapper .form-button {
	box-shadow: none;
	transition: .3s ease-out;
	border: 1px solid var(--brand-red);
}

.form-wrapper .form-button:hover {
	transition: .3s ease-out;
	transform: scale(1.1);
	box-shadow: 0px 0px 10px rgb(0 0 0 / 25%);
}

.form-wrapper .form-button:active {
	transform: scale(1);
	box-shadow: none;
	transition: .3s ease-out;
	border: 1px solid var(--brand-red);
}

.form-wrapper .checkboxinput input:hover {
	cursor: pointer;
}

@media(max-width:800px) {
	.form-wrapper form input.textinput,
    .form-wrapper form textarea.textarea {
		font-size: 16px;
	}
}




/* Активность блоков на странице */
.instance_newmsk{
	transition: .5s ease-out;
}

.instance_newmsk.diactivated {
	opacity: .6;
	cursor: not-allowed !important;
}

.instance_newmsk.diactivated * {
	cursor: not-allowed !important;
}

@media all and (max-width: 1400px) {
	.customer_trust_new-container-col,
    .customer_trust_new-container .customer_trust_new-container-col:last-of-type {
		width: 100%;
	}
}

@media all and (max-width: 1050px) {
	.customer_trust_new-container {
		flex-wrap: wrap;
	}
}

@media all and (max-width: 768px) {
	.block-links li {
		width: calc(100% / 2 - 15px);
	}

	.block-prices table tr td:nth-child(2) {
		border-bottom: none;
	}

	.block-prices table tr:first-of-type td {
		border-top: none;
	}

	.customer_trust_new-container {
		margin-top: 15px;
	}

	.block_text-two_col p {
		word-break: break-word;
	}

	table.mos-price-calculator {
		min-width: 100%;
	}

	table.mos-price-calculator tbody tr td:nth-child(2) {
		width: 100%;
	}

	.mos-price-calculator-row {
		width: 100%;
		display: flex;
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
	}

	.mos-price-calculator tbody tr td:first-of-type {
		width: 100%;
		padding-left: 0px !important;
		padding-right: 0px !important;
		background-color: #e3e3e3 !important;
	}

	table.mos-price-calculator thead tr {
		display: inline-block;
	}

	.mos-price-calculator tbody tr td:nth-child(3),
    .mos-price-calculator tbody tr td:nth-child(4),
    .mos-price-calculator tbody tr td:nth-child(5) {
		width: 50%;
	}

	.mos-price-calculator tbody tr td:nth-child(6) {
		width: 50%;
		height: 52px;
		line-height: 43px;
	}

	table.mos-price-calculator tbody tr td.mos-price-calculator-title:first-of-type {
		background-color: transparent !important;
	}

	table.mos-price-calculator tfoot tr td {
		font-size: 20px;
		padding: 30px 10px;
		text-align: center;
	}

	.mos-price-calculator-wrap {
		margin-left: -15px;
		width: calc(100% + 30px);
	}

	.table_wrap:after {
		display: block;
		opacity: 1;
	}

	.table_wrap.done:after {
		opacity: 0;
	}

	.table_wrap {
		overflow-y: scroll;
	}
    /*.table_wrap table td {
        text-align: center;
    }*/
	.table_wrap table th {
		min-width: 130px;
		padding-left: 5px;
		padding-right: 5px;
	}

	.table_wrap table th br {
		display: none;
	}
}

@media all and (max-width: 550px) {
	.block-links li {
		width: 100%;
	}
}

@media all and (max-width: 480px) {
	.customer_trust_new-badges {
		display: flex;
		width: 100%;
		justify-content: space-between;
	}

	.customer_trust_new-badge {
		width: 100%;
		transform: scale(0.85);
		background-size: 100%;
	}
}

.socials img {
	max-width: 50px;
	max-height: 50px;
}

.schema-contacts {
	display: none;
}


.fancybox-slide--html {
	padding: 10px !important;
}




/*--------------------------------------------------- play game buttons in menu -------------------------*/
.button.mos_header_newmsk-game-pc img {
	max-width: 28px;
	margin-left: 10px;
	margin-top: -3px;
}

@media (min-width: 595px) {
	.button.mos_header_newmsk-game-pc {
		min-width: auto;
		padding-left: 25px;
		padding-right: 25px;
	}

	.customer_trust_new-container-col .button:last-child {
		margin-right: 0;
	}
}

.mos_header_newmsk .mos_header_newmsk-game .mos_header_newmsk-game-pc {
	color: white;
	font-size: 19px;
	font-weight: bold;
	border: 4px solid yellow;
	background-color: #227d9c;
	border-radius: 17px;
	border-color: #ffa919;
	padding: 8px 26px 8px 28px;
	letter-spacing: 0.05em;
	position: relative;
	top: -3px;
	transition: 0.3s all;
	white-space: nowrap;
}

.mos_header_newmsk .mos_header_newmsk-game .mos_header_newmsk-game-pc img {
	max-width: 28px;
	height: auto;
	position: relative;
	top: 6px;
	left: 2px;
}

.mos_header_newmsk .mos_header_newmsk-game .mos_header_newmsk-game-mobile {
	border-radius: 50px;
	border: 2px solid yellow;
	background-color: #227d9c;
	border-color: #ffa919;
	position: fixed;
	bottom: 10px;
	left: 10px;
	display: none;
	transition: 0.3s all;
	z-index: 9999;
	width: 65px;
	height: 65px;
	background-image: url('img/play_game_present1.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 30px 30px;
}

.mos_header_newmsk .mos_header_newmsk-game > a:hover {
	filter: brightness(1.15);
}

@media (max-width: 1320px) {
	.mos_header_newmsk {
		gap: 16px;
	}

	.header-brand,
	.header-contacts {
		gap: 14px;
	}

	.logo-header {
		width: 220px;
	}

	.header-worktime {
		flex-basis: auto;
		padding-left: 18px;
	}
}



@media (max-width: 1180px) {
	.mos_header_newmsk-rating {
		display: none;
	}

	.header-contact__label {
		display: none;
	}

	#mos_header_newmsk .header-callback {
		width: auto;
		height: auto;
		min-width: 200px;
		min-height: 44px;
		margin-right: 0;
		padding: 9px 14px;
		background: linear-gradient(135deg, var(--brand-red), #a6172f);
		font-size: 13px;
		float: none;
	}
}

@media (max-width: 1050px) {
	.header-email {
		display: none;
	}
}

@media (max-width: 920px) {
	.header-worktime {
		display: none;
	}
}

@media (max-width: 800px) {
	.mos_header_newmsk {
		gap: 8px;
		padding: 0 12px;
	}

	.header-worktime,
	.header-email {
		display: none;
	}

	.header-brand {
		flex: 1 1 auto;
		min-width: 0;
	}

	.logo-header {
		width: min(190px, 46vw);
	}

	.header-contacts {
		flex: 0 0 auto;
		gap: 8px;
	}

	.mos_header_newmsk-phone {
		display: none;
	}

	.header-contact__icon {
		flex-basis: 40px;
		width: 40px;
		height: 40px;
		border-radius: 50%;
	}

	#mos_header_newmsk .header-callback {
		width: 40px;
		height: 40px;
		min-width: 40px;
		min-height: 40px;
		padding: 0;
		border-radius: 50%;
		font-size: 0;
		line-height: 0;
		gap: 0;
		align-items: center;
		justify-content: center;
	}

	#mos_header_newmsk .header-callback span {
		display: none;
	}

	#mos_header_newmsk .header-callback svg {
		display: block;
		width: 19px;
		height: 19px;
		margin: 0;
	}

	.brand-logo {
		gap: 8px;
	}

	.brand-logo__vertical {
		padding: 3px 6px;
	}

	.brand-logo__vertical > span {
		font-size: 14px;
	}

	.brand-logo__line-initial {
		font-size: 18px;
	}

	.brand-logo__line-rest {
		font-size: 13px;
	}
}

@media (max-width: 536px) {
	h2 {
		font-size:20px;
	}
	p {
		font-size:14px;
	}

	.logo-header {
		width: min(165px, 42vw);
	}
}

@media (max-width: 496px) {
	.header-contacts,
	.header-actions {
		gap: 6px;
	}
}

@media (max-width: 400px) {
	.mos_header_newmsk {
		padding: 0 10px;
	}

	.logo-header {
		width: min(140px, 39vw);
	}

	.header-contact__icon,
	#mos_header_newmsk .header-callback,
	#hamburger {
		width: 38px;
		height: 38px;
		min-width: 38px;
	}
}


.wpcf7-spinner {
	display: none !important;
}


iframe {
	border: 0;
	width: 100%;
	height: fill-available;
	height: -webkit-fill-available;
	height: -moz-available;
}

/* Landing polish: category + single templates */
.single-uslugi-landing .hero-block,
.single-staty .hero-block,
.single-sale-landing .hero-block,
body.category .hero-block {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	box-shadow: 0 24px 56px rgba(12, 30, 22, .26);
}

.single-uslugi-landing .hero-block:before,
.single-staty .hero-block:before,
.single-sale-landing .hero-block:before,
body.category .hero-block:before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.single-uslugi-landing .hero-content,
.single-staty .hero-content,
.single-sale-landing .hero-content,
body.category .hero-content {
	position: relative;
	z-index: 2;
}

.single-uslugi-landing .hero-title,
.single-staty .hero-title,
.single-sale-landing .hero-title,
body.category .hero-title {
	font-size: clamp(30px, 4.2vw, 56px);
	line-height: 1.06;
	letter-spacing: -.02em;
	text-wrap: balance;
}

.single-uslugi-landing .hero-lead,
.single-staty .hero-lead,
.single-sale-landing .hero-lead,
body.category .hero-lead {
	max-width: 760px;
	color: rgba(255, 255, 255, .92);
}

.single-uslugi-landing .hero-points li,
.single-staty .hero-points li,
.single-sale-landing .hero-points li,
body.category .hero-points li {
	background: rgba(255, 255, 255, .10);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	padding: 8px 14px;
	backdrop-filter: blur(2px);
}
.single-post-block {
	margin:40px 0;
}

.single-post-block ul li {
	list-style: none;
}
.single-post-block ul li img {
	margin-right: 5px;
}
.single-uslugi-landing .single-post-block .container,
.single-staty .single-post-block .container,
.single-sale-landing .single-post-block .container {
	background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
	border: 1px solid rgba(36, 97, 67, .12);
	border-radius: 20px;
	padding: 5px 20px 20px 20px;
	box-shadow: 0 14px 40px rgba(15, 42, 30, .08);
}

.single-uslugi-landing .single-post-block h2,
.single-staty .single-post-block h2,
.single-sale-landing .single-post-block h2 {
	color: var(--brand-green-900);
	margin:15px 0;
}

.single-uslugi-landing .contest_item,
.single-staty .contest_item,
.single-sale-landing .contest_item,
body.category .contest_item,
body.category .service-card {
	border-radius: 18px;
	border: 1px solid rgba(36, 97, 67, .12);
	box-shadow: 0 10px 28px rgba(15, 42, 30, .08);
	transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.single-uslugi-landing .contest_item:hover,
.single-staty .contest_item:hover,
.single-sale-landing .contest_item:hover,
body.category .contest_item:hover,
body.category .service-card:hover {
	transform: translateY(-4px);
	border-color: rgba(36, 97, 67, .28);
	box-shadow: 0 20px 42px rgba(15, 42, 30, .14);
}

.single-uslugi-landing .contest_item-media,
.single-staty .contest_item-media,
.single-sale-landing .contest_item-media,
body.category .contest_item-media {
	border-radius: 16px 16px 0 0;
}

.single-uslugi-landing .benefit-card,
.single-staty .benefit-card,
.single-sale-landing .benefit-card,
body.category .benefit-card {
	background: linear-gradient(165deg, #ffffff 0%, #f4faf6 100%);
	border: 1px solid rgba(36, 97, 67, .13);
	box-shadow: 0 12px 30px rgba(15, 42, 30, .08);
}

.single-uslugi-landing .benefit-icon,
.single-staty .benefit-icon,
.single-sale-landing .benefit-icon,
body.category .benefit-icon {
	background: linear-gradient(135deg, var(--brand-green-700) 0%, var(--brand-green-900) 100%);
	color: #fff;
	box-shadow: 0 10px 20px rgba(24, 74, 48, .32);
}

.single-uslugi-landing .tip-card,
.single-staty .tip-card,
.single-sale-landing .tip-card,
body.category .tip-card {
	border-radius: 20px;
	border: 1px solid rgba(36, 97, 67, .16);
	box-shadow: 0 18px 40px rgba(15, 42, 30, .10);
	background: linear-gradient(165deg, #ffffff 0%, #f5faf7 100%);
}

.single-uslugi-landing .block_two_col--cta,
.single-staty .block_two_col--cta,
.single-sale-landing .block_two_col--cta {
	overflow: hidden;
	border-radius: 22px;
	box-shadow: 0 24px 52px rgba(15, 42, 30, .24);
}

.single-uslugi-landing .block_two_col--cta:before,
.single-staty .block_two_col--cta:before,
.single-sale-landing .block_two_col--cta:before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(15, 42, 30, .72) 0%, rgba(15, 42, 30, .36) 46%, rgba(15, 42, 30, .72) 100%);
}

.single-uslugi-landing .block_two_col-cta,
.single-staty .block_two_col-cta,
.single-sale-landing .block_two_col-cta {
	position: relative;
	z-index: 2;
}

@media (max-width: 980px) {
	.single-uslugi-landing .hero-block,
	.single-staty .hero-block,
	.single-sale-landing .hero-block,
	body.category .hero-block {
		border-radius: 18px;
	}

	.single-uslugi-landing .hero-points li,
	.single-staty .hero-points li,
	.single-sale-landing .hero-points li,
	body.category .hero-points li {
		border-radius: 12px;
	}
}

@media (max-width: 640px) {
	.single-uslugi-landing .hero-title,
	.single-staty .hero-title,
	.single-sale-landing .hero-title,
	body.category .hero-title {
		font-size: clamp(26px, 8.2vw, 36px);
	}

	.single-uslugi-landing .single-post-block .container,
	.single-staty .single-post-block .container,
	.single-sale-landing .single-post-block .container {
		border-radius: 14px;
		padding: 18px 16px;
	}
}

/* Breadcrumbs in .bread */
.bread {
	display: block;
	margin: 0 0 18px;
}

.bread .mos-breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
	margin: 0;
	width:max-content;
	padding: 10px 14px;
	border-radius: 14px;
	background: rgba(11, 24, 18, .42);
	border: 1px solid rgba(255, 255, 255, .22);
	backdrop-filter: blur(4px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
}

.bread .mos-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0 10px 0 0;
	color: rgba(255, 255, 255, .92);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.bread .mos-breadcrumbs li:not(:last-child)::after {
	content: "→";
	margin: 0 0 0 10px;
	color: #ffffff;
	opacity: .8;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.bread .mos-breadcrumbs li a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, .42);
	transition: border-color .18s ease, opacity .18s ease;
}

.bread .mos-breadcrumbs li a:hover {
	color: #fff;
	border-bottom-color: #fff;
	opacity: .95;
}

.bread .mos-breadcrumbs li span {
	color: #ffffff;
	opacity: .95;
	border-bottom: 1px solid transparent;
}

@media (max-width: 640px) {
	.bread .mos-breadcrumbs {
		padding: 8px 10px;
		border-radius: 12px;
	}

	.bread .mos-breadcrumbs li {
		font-size: 12px;
		padding-right: 8px;
	}

	.bread .mos-breadcrumbs li:not(:last-child)::after {
		margin-left: 8px;
		font-size: 11px;
	}

	.bread .mos-breadcrumbs {
		width:100%;
	}
	.bread .mos-breadcrumbs li {
		padding-bottom: 5px;
	}
}

/* Flexible block: contacts + Yandex map */
.fp-contacts {
	margin: 24px 0;
}

.fp-contacts-grid {
	display: grid;
	grid-template-columns: minmax(320px, 460px) 1fr;
	gap: 16px;
}

.fp-contacts-card {
	background: linear-gradient(155deg, #ffffff 0%, #f4faf7 55%, #eef7f2 100%);
	border: 1px solid rgba(36, 97, 67, .15);
	border-radius: 20px;
	box-shadow: 0 22px 48px rgba(15, 42, 30, .12);
	padding: 28px;
}

.fp-contacts-kicker {
	display: inline-flex;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(36, 97, 67, .12);
	color: var(--brand-green-900);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .3px;
	text-transform: uppercase;
}

.fp-contacts-title {
	margin: 12px 0 8px;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.1;
	color: var(--brand-green-900);
}

.fp-contacts-lead {
	margin: 0 0 16px;
	color: rgba(15, 42, 30, .74);
}

.fp-contacts-list {
	display: grid;
	gap: 10px;
	margin-bottom: 18px;
}

.fp-contacts-phone {
	font-size: 26px;
	font-weight: 900;
	color: var(--brand-green-900);
	text-decoration: none;
}

.fp-contacts-phone:hover {
	color: var(--brand-red);
}

.fp-contacts-row {
	display: flex;
	gap: 8px;
	color: rgba(15, 42, 30, .88);
	line-height: 1.45;
	align-items: flex-start;
}

.fp-contacts-label {
	color: rgba(15, 42, 30, .62);
	font-weight: 700;
	min-width: 84px;
}

.fp-contacts-mail {
	color: var(--brand-green-900);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid rgba(36, 97, 67, .3);
}

.fp-contacts-mail:hover {
	color: var(--brand-red);
	border-bottom-color: rgba(189, 29, 54, .42);
}

.fp-contacts-points {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	display: grid;
	gap: 10px;
	border-top: 1px solid rgba(36, 97, 67, .14);
	padding-top: 14px;
}

.fp-contacts-points li {
	position: relative;
	padding: 0 0 0 18px;
	margin: 0;
	color: rgba(15, 42, 30, .88);
	line-height: 1.5;
	font-weight: 600;
	border-left: 2px solid rgba(36, 97, 67, .18);
}

.fp-contacts-points li:before {
	content: "";
	position: absolute;
	left: -5px;
	top: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--brand-red);
	box-shadow: 0 0 0 3px rgba(189, 29, 54, .12);
}

.fp-contacts-points li:after { content: none; }

.fp-contacts-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 2px;
}

.fp-contacts-actions .button {
	min-width: 240px;
}

.fp-contacts-map-wrap {
	overflow: hidden;
	border-radius: 20px;
	border: 1px solid rgba(36, 97, 67, .16);
	box-shadow: 0 22px 48px rgba(15, 42, 30, .12);
	min-height: 560px;
	background: #e9f1ed;
}

.fp-contacts-map {
	width: 100%;
	height: 100%;
	min-height: 560px;
	border: 0;
	display: block;
}

@media (max-width: 980px) {
	.fp-contacts-grid {
		grid-template-columns: 1fr;
	}

	.fp-contacts-map-wrap,
	.fp-contacts-map {
		min-height: 420px;
	}
}

/* FAQ accordion block (fp_faq.php) */
.faq {
	padding: 52px 0;
}

.faq-accordion-wrap {
	margin-top: 18px;
	display: grid;
	gap: 12px;
}

.faq-acc-item {
	border: 1px solid rgba(16, 24, 40, 0.12);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.faq-acc-item.is-open {
	border-color: rgba(0, 120, 255, 0.35);
	background: linear-gradient(180deg, rgba(0, 120, 255, 0.04), rgba(255, 255, 255, 0) 70%);
	box-shadow: 0 14px 40px rgba(0, 120, 255, 0.12);
}

.faq-acc-item:hover {
	border-color: rgba(16, 24, 40, 0.18);
	box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
	transform: translateY(-1px);
}

.faq-acc-question {
	margin: 0;
}

.faq-acc-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;

	padding: 20px 22px;
	cursor: pointer;
	background: transparent;

	font-family: inherit;
	color: inherit;
	text-align: left;
}

.faq-acc-text {
	font-size: 16.5px;
	font-weight: 650;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: rgba(16, 24, 40, 0.98);
}

.faq-acc-arrow {
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	position: relative;
	border-radius: 10px;
	background: rgba(0, 120, 255, 0.08);
}

.faq-acc-arrow::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid rgba(0, 120, 255, 0.95);
	border-bottom: 2px solid rgba(0, 120, 255, 0.95);
	transform: translate(-50%, -60%) rotate(45deg);
	transition: transform 220ms ease;
}

.faq-acc-item.is-open .faq-acc-arrow::before {
	transform: translate(-50%, -45%) rotate(-135deg);
}

.faq-acc-toggle:focus-visible {
	outline: 3px solid rgba(0, 120, 255, 0.35);
	outline-offset: 4px;
	border-radius: 12px;
}

.faq-acc-panel {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: opacity 180ms ease, max-height 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
	will-change: max-height;
}

.faq-acc-item.is-open .faq-acc-panel {
	opacity: 1;
	max-height: 1000px; /* временно, чтобы первый открытый пункт был виден сразу до JS */
}

.faq-acc-answer {
	padding: 0 22px 22px 22px;
	color: rgba(16, 24, 40, 0.92);
	font-size: 15.5px;
	line-height: 1.6;
	border-top: 1px solid rgba(16, 24, 40, 0.08);
	padding-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
	.faq-acc-panel {
		transition: none;
	}

	.faq-acc-arrow::before {
		transition: none;
	}
}

/* Scroll to top button */
.scroll-to-top {
	position: fixed;
	right: 18px;
	bottom: 18px;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 0;
	background: var(--brand-blue);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 9999;
	box-shadow: 0 16px 38px rgba(46, 80, 119, 0.28);
	transform: translateY(12px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.scroll-to-top:hover {
	box-shadow: 0 22px 52px rgba(46, 80, 119, 0.35);
	transform: translateY(10px);
}

.scroll-to-top:active {
	transform: translateY(12px) scale(0.98);
}

.scroll-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

@media (max-width: 800px) {
	.scroll-to-top {
		right: 14px;
		bottom: 14px;
		width: 48px;
		height: 48px;
	}
}

/* FP table block (fp_table.php) */
.fp-table-wrap {
	margin-top: 20px;
	overflow-x: auto;
}

.fp-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 18px 46px rgba(15, 42, 30, 0.10);
	background: #fff;
	font-size: 15px;
}

.fp-table-caption {
	caption-side: top;
	text-align: left;
	padding: 16px 18px 0 18px;
	font-weight: 800;
	color: #2E5077;
	line-height: 1.25;
}

.fp-table-head {
	background: linear-gradient(180deg, rgba(36, 97, 67, 0.10) 0%, rgba(36, 97, 67, 0.04) 100%);
}

.fp-table-th {
	padding: 14px 18px;
	font-weight: 900;
	color: #2E5077;
	border-bottom: 1px solid rgba(15, 42, 30, 0.10);
	white-space: nowrap;
	text-align: left;
}

.fp-table-tr:nth-child(odd) .fp-table-td {
	background: rgba(239, 238, 238, 0.28);
}

.fp-table-td {
	padding: 13px 18px;
	border-bottom: 1px solid rgba(15, 42, 30, 0.08);
	color: rgba(15, 42, 30, 0.88);
	vertical-align: top;
	word-break: break-word;
}

/* When the table has no <thead>, the first row in <tbody> acts like a header. */
.fp-table tbody tr:first-child .fp-table-td {
	color: #2E5077;
	font-weight: 900;
	background: linear-gradient(180deg, rgba(36, 97, 67, 0.10) 0%, rgba(36, 97, 67, 0.03) 100%);
	border-bottom-color: rgba(15, 42, 30, 0.12);
}

.fp-table-tr:hover .fp-table-td {
	background: rgba(36, 97, 67, 0.07);
}

.fp-table tr:last-child td {
	border-bottom: 0;
}

@media (max-width: 640px) {
	.fp-table-tr .fp-table-td:nth-child(2) {
		width:135px;
	}
	.fp-table-th,
	.fp-table-td {
		padding: 12px 14px;
		font-size:13px;
	}

	.fp-table-caption {
		padding-left: 14px;
		padding-right: 14px;
	}
}
section.instance_newmsk.single-post-block ul li img {
    margin-left: -23px;
    margin-bottom: -3px;
    width: 15px;
}
section.instance_newmsk.single-post-block ul.numbers li img{
	width: 23px;
    margin-bottom: -7px;
}
.content li a,
.entry-content li a,
.spisok li a {
    text-decoration: underline !important;
}
.single-post-block p a,
.single-post-block li a {
    color: #2b6cb0;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.single-post-block p a:hover,
.single-post-block li a:hover {
    color: #1e4f85;
}
.gift-offer-widget {
    position: fixed;
    right: 22px;
    top: 58%;
    bottom: auto;
    width: 108px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(140px) translateY(-50%) scale(0.92);
    transition: opacity 0.45s ease, transform 0.55s ease, visibility 0.45s ease;
    pointer-events: none;
}

.gift-offer-widget.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(-50%) scale(1);
    pointer-events: auto;
}

.gift-offer-widget__link {
    position: relative;
    display: block;
    text-decoration: none;
    outline: none;
}

.gift-offer-widget__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    animation: giftFloat 2.8s ease-in-out infinite;
    filter: drop-shadow(0 12px 24px rgba(23, 58, 99, 0.18));
    transition: transform 0.25s ease;
}

.gift-offer-widget__link:hover .gift-offer-widget__img {
    transform: scale(1.06);
}

.gift-offer-widget__pulse {
    position: absolute;
    inset: 12px;
    border-radius: 22px;
    pointer-events: none;
    animation: giftPulse 2.2s ease-out infinite;
    border: 2px solid rgba(39, 174, 96, 0.28);
}

.gift-offer-widget__hint {
    margin-top: 8px;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    color: #173A63;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(23, 58, 99, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(23, 58, 99, 0.08);
    animation: hintBlink 2.8s ease-in-out infinite;
}

.gift-offer-widget__close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #173A63;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, background 0.2s ease;
}

.gift-offer-widget__close:hover {
    transform: scale(1.08);
    background: #f4f8fb;
}

@keyframes giftFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes giftPulse {
    0% {
        transform: scale(0.92);
        opacity: 0.75;
    }
    70% {
        transform: scale(1.16);
        opacity: 0;
    }
    100% {
        transform: scale(1.16);
        opacity: 0;
    }
}

@keyframes hintBlink {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {
    .gift-offer-widget {
        right: 10px;
        top: 58%;
        bottom: auto;
        width: 68px;
    }

    .gift-offer-widget__hint {
        font-size: 10px;
        padding: 5px 6px;
    }

    .gift-offer-widget__close {
        width: 20px;
        height: 20px;
        font-size: 14px;
        line-height: 20px;
    }
}

/* About company (page-about.php) */
.about-company {
	--about-ink: #10281d;
	--about-muted: #607269;
	--about-line: rgba(15, 42, 30, .11);
	position: relative;
	isolation: isolate;
	max-width: 1480px;
	margin: 28px auto 42px;
	padding: clamp(22px, 3vw, 44px);
	overflow: hidden;
	border: 1px solid rgba(15, 42, 30, .10);
	border-radius: 30px;
	background:
		radial-gradient(700px 340px at 95% 0%, rgba(46, 80, 119, .10), transparent 64%),
		radial-gradient(520px 300px at 0% 24%, rgba(36, 97, 67, .10), transparent 68%),
		#f8fbf9;
	box-shadow: 0 28px 80px rgba(15, 42, 30, .10);
}

.about-company::before,
.about-company::after {
	content: '';
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	pointer-events: none;
}

.about-company::before {
	top: -120px;
	right: -80px;
	width: 300px;
	height: 300px;
	border: 54px solid rgba(189, 29, 54, .045);
}

.about-company::after {
	bottom: -140px;
	left: -100px;
	width: 280px;
	height: 280px;
	border: 1px solid rgba(36, 97, 67, .12);
	box-shadow: 0 0 0 34px rgba(36, 97, 67, .025), 0 0 0 68px rgba(36, 97, 67, .02);
}

.about-company__header {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
	gap: 40px;
	align-items: end;
	margin-bottom: clamp(24px, 3vw, 38px);
}

.about-company__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 13px;
	color: var(--brand-red);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.about-company__eyebrow::before {
	content: '';
	width: 30px;
	height: 2px;
	border-radius: 99px;
	background: currentColor;
}

.about-company__header h2 {
	max-width: 760px;
	margin: 0;
	color: var(--about-ink);
	font-size: clamp(34px, 4.1vw, 64px);
	font-weight: 900;
	line-height: .98;
	letter-spacing: -.035em;
}

.about-company__header h2 span {
	color: var(--brand-green-600);
}

.about-company__header > p {
	max-width: 520px;
	margin: 0 0 4px;
	padding-left: 20px;
	border-left: 3px solid var(--brand-red);
	color: var(--about-muted);
	font-size: clamp(16px, 1.2vw, 19px);
	font-weight: 600;
	line-height: 1.55;
}

.about-company__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
	gap: clamp(18px, 2.2vw, 30px);
	align-items: start;
}

.about-company__story {
	display: grid;
	gap: 18px;
}

.about-company__lead {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 18px;
	padding: clamp(20px, 2.4vw, 30px);
	border: 1px solid var(--about-line);
	border-radius: 22px;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 16px 38px rgba(15, 42, 30, .07);
}

.about-company__lead-icon,
.about-feature__icon,
.company-details__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.about-company__lead-icon {
	width: 58px;
	height: 58px;
	border-radius: 18px;
	color: #fff;
	background: linear-gradient(145deg, var(--brand-green-600), var(--brand-green-900));
	box-shadow: 0 12px 24px rgba(15, 42, 30, .20);
}

.about-company__lead h2 {
	margin: 0 0 10px;
	color: var(--about-ink);
	font-size: clamp(21px, 1.8vw, 28px);
	line-height: 1.2;
}

.about-company__lead p {
	margin: 0;
	color: var(--about-muted);
	font-size: 16px;
	line-height: 1.7;
}

.about-company__lead a {
	color: var(--brand-blue);
	font-weight: 800;
	border-bottom: 1px solid rgba(46, 80, 119, .28);
	transition: color .2s ease, border-color .2s ease;
}

.about-company__lead a:hover {
	color: var(--brand-red);
	border-color: currentColor;
}

.about-company__principle {
	position: relative;
	margin: 0;
	padding: 21px 24px 21px 76px;
	overflow: hidden;
	border: 1px solid rgba(189, 29, 54, .14);
	border-radius: 20px;
	background: linear-gradient(105deg, rgba(189, 29, 54, .09), rgba(255, 255, 255, .86));
}

.about-company__principle::before {
	content: '“';
	position: absolute;
	top: 8px;
	left: 22px;
	color: rgba(189, 29, 54, .32);
	font-family: Georgia, serif;
	font-size: 70px;
	font-weight: 700;
	line-height: 1;
}

.about-company__principle span {
	display: block;
	margin-bottom: 3px;
	color: var(--brand-red);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.about-company__principle p {
	margin: 0;
	color: var(--about-ink);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.45;
}

.about-company__features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.about-feature {
	display: flex;
	gap: 14px;
	min-height: 100%;
	padding: 19px;
	border: 1px solid var(--about-line);
	border-radius: 19px;
	background: rgba(255, 255, 255, .72);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.about-feature:hover {
	transform: translateY(-3px);
	border-color: rgba(36, 97, 67, .24);
	box-shadow: 0 14px 28px rgba(15, 42, 30, .08);
}

.about-feature__icon {
	width: 42px;
	height: 42px;
	border-radius: 13px;
	color: var(--brand-green-600);
	background: rgba(36, 97, 67, .09);
}

.about-feature h3 {
	margin: 1px 0 7px;
	color: var(--about-ink);
	font-size: 17px;
	line-height: 1.2;
}

.about-feature p {
	margin: 0;
	color: var(--about-muted);
	font-size: 14px;
	font-weight: 550;
	line-height: 1.55;
}

.about-company__result {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 19px;
	border-radius: 18px;
	color: #fff;
	background: linear-gradient(120deg, var(--brand-green-800), var(--brand-green-600));
	box-shadow: 0 16px 34px rgba(15, 42, 30, .16);
}

.about-company__result .about-icon {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
}

.about-company__result p {
	margin: 0;
	color: rgba(255, 255, 255, .86);
	font-size: 15px;
	line-height: 1.5;
}

.about-company__result strong {
	color: #fff;
	font-weight: 900;
}

.about-icon {
	display: block;
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.company-details {
	position: sticky;
	top: 92px;
	padding: clamp(22px, 2.5vw, 30px);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .10);
	border-radius: 24px;
	color: rgba(255, 255, 255, .82);
	background:
		radial-gradient(500px 260px at 100% 0%, rgba(46, 80, 119, .34), transparent 64%),
		linear-gradient(155deg, #183d2b 0%, #0f2a1e 62%, #0c2118 100%);
	box-shadow: 0 24px 54px rgba(15, 42, 30, .22);
}

.company-details::after {
	content: '';
	position: absolute;
	right: -46px;
	bottom: -62px;
	width: 190px;
	height: 190px;
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: 50%;
	box-shadow: 0 0 0 24px rgba(255, 255, 255, .018), 0 0 0 48px rgba(255, 255, 255, .012);
	pointer-events: none;
}

.company-details__top {
	display: flex;
	align-items: center;
	gap: 15px;
	padding-right: 10px;
}

.company-details__logo {
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 16px;
	color: #fff;
	background: rgba(255, 255, 255, .08);
	box-shadow: inset 0 1px rgba(255, 255, 255, .08);
}

.company-details__top span {
	display: block;
	margin-bottom: 4px;
	color: rgba(255, 255, 255, .52);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.company-details__top h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(20px, 1.8vw, 27px);
	line-height: 1.15;
}

.company-details__status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 17px;
	padding: 7px 11px;
	border: 1px solid rgba(119, 220, 162, .18);
	border-radius: 999px;
	color: #b7e5c9;
	background: rgba(75, 175, 118, .10);
	font-size: 12px;
	font-weight: 800;
}

.company-details__status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #68d391;
	box-shadow: 0 0 0 4px rgba(104, 211, 145, .12);
}

.company-details__section {
	position: relative;
	z-index: 1;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .10);
}

.company-details__section h3 {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 13px;
	color: #fff;
	font-size: 14px;
	font-weight: 850;
	line-height: 1.2;
}

.company-details__section h3 .about-icon {
	width: 18px;
	height: 18px;
	color: #95c7a9;
}

.company-details__section address,
.company-details__section > p {
	margin: 0;
	color: rgba(255, 255, 255, .76);
	font-size: 14px;
	font-style: normal;
	font-weight: 550;
	line-height: 1.55;
}

.company-details__list,
.company-details__numbers {
	margin: 0;
}

.company-details__list > div {
	display: grid;
	grid-template-columns: minmax(120px, .42fr) minmax(0, .58fr);
	gap: 12px;
	padding: 7px 0;
}

.company-details__list dt,
.company-details__numbers dt {
	color: rgba(255, 255, 255, .46);
	font-size: 12px;
	font-weight: 650;
	line-height: 1.4;
}

.company-details__list dd,
.company-details__numbers dd {
	margin: 0;
	color: rgba(255, 255, 255, .88);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.company-details__numbers {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: 10px;
}

.company-details__numbers > div {
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 11px;
	background: rgba(255, 255, 255, .045);
}

.company-details__numbers dt {
	margin-bottom: 3px;
}

.company-details__numbers dd,
.company-details__number {
	font-variant-numeric: tabular-nums;
	letter-spacing: .025em;
}

.company-details__section--split {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(130px, .55fr);
	gap: 20px;
}

.company-details__section--split h3 {
	margin-bottom: 9px;
}

.company-details__section--split .company-details__list > div {
	display: block;
}

.company-details__section--split .company-details__list dt {
	margin-bottom: 3px;
}

.company-details__contacts {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 9px;
	margin-top: 22px;
}

.company-details__contacts a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, .10);
	border-radius: 14px;
	color: #fff;
	background: rgba(255, 255, 255, .06);
	font-size: 14px;
	font-weight: 800;
	overflow-wrap: anywhere;
	transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.company-details__contacts a:hover {
	transform: translateX(3px);
	border-color: rgba(255, 255, 255, .20);
	background: rgba(255, 255, 255, .10);
}

.company-details__contacts a > span:first-child {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 39px;
	width: 39px;
	height: 39px;
	border-radius: 12px;
	color: #c5ead3;
	background: rgba(149, 199, 169, .12);
}

.company-details__contacts .about-icon {
	width: 19px;
	height: 19px;
}

.company-details__contacts small {
	display: block;
	margin-bottom: 2px;
	color: rgba(255, 255, 255, .44);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}

@media (max-width: 1180px) {
	.about-company__header {
		gap: 24px;
	}

	.about-company__grid {
		grid-template-columns: 1fr;
	}

	.company-details {
		position: relative;
		top: auto;
	}

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

@media (max-width: 740px) {
	.about-company {
		margin: 18px auto 28px;
		padding: 20px 16px;
		border-radius: 22px;
	}

	.about-company__header {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.about-company__header h2 {
		font-size: clamp(32px, 10vw, 45px);
	}

	.about-company__header > p {
		padding-left: 14px;
	}

	.about-company__lead {
		grid-template-columns: 1fr;
		padding: 20px;
	}

	.about-company__lead-icon {
		width: 50px;
		height: 50px;
	}

	.about-company__principle {
		padding: 62px 20px 20px;
	}

	.about-company__principle::before {
		top: 6px;
		left: 18px;
	}

	.about-company__features {
		grid-template-columns: 1fr;
	}

	.company-details {
		padding: 21px 16px;
		border-radius: 20px;
	}

	.company-details__list > div,
	.company-details__section--split {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.company-details__section--split {
		gap: 20px;
	}

	.company-details__contacts {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 430px) {
	.page-about-company {
		padding-right: 10px;
		padding-left: 10px;
	}

	.about-company {
		padding: 18px 12px;
	}

	.about-company__eyebrow {
		font-size: 11px;
	}

	.about-feature {
		padding: 16px;
	}

	.about-feature__icon {
		width: 38px;
		height: 38px;
	}

	.company-details__numbers {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.about-feature,
	.company-details__contacts a {
		transition: none;
	}
}

/* About page: source text on the left, company details on the right */
.about-company--plain {
	padding: clamp(18px, 2.4vw, 32px);
	overflow: visible;
}

.about-company--plain .about-company__grid {
	grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
	align-items: start;
	overflow: visible;
}

.about-company__text {
	padding: clamp(22px, 2.6vw, 34px);
	border: 1px solid var(--about-line);
	border-radius: 24px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 18px 44px rgba(15, 42, 30, .08);
}

.about-company__text p {
	margin: 0 0 24px;
	color: #3d4c44;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.72;
}

.about-company__text p:last-child {
	margin-bottom: 0;
}

.about-company__text a {
	color: var(--brand-blue);
	font-weight: 800;
	text-decoration: underline;
	text-decoration-color: rgba(46, 80, 119, .30);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color .2s ease, text-decoration-color .2s ease;
}

.about-company__text a:hover {
	color: var(--brand-red);
	text-decoration-color: currentColor;
}

.about-company--plain .company-details__top {
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.company-details__sticky-wrap {
	align-self: stretch;
	min-width: 0;
}

.about-company--plain .company-details {
	position: sticky;
	top: 90px;
	align-self: start;
	height: max-content;
	z-index: 2;
}

.about-company--plain .company-details__top h2 {
	margin: 0;
	color: #fff;
}

.company-details__list--main {
	margin-top: 10px;
}

.about-company--plain .company-details__list > div {
	padding: 11px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.about-company--plain .company-details__list > div:last-child {
	border-bottom: 0;
}

.about-company--plain .company-details__list dt {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.about-company--plain .company-details__list dt .about-icon {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	color: #95c7a9;
}

.about-company--plain .company-details__section {
	margin-top: 14px;
	padding-top: 18px;
}

.about-company--plain .company-details__section h3 {
	margin-bottom: 5px;
}

.about-company--plain .company-details__section .company-details__list > div {
	padding: 9px 0;
}

.about-company--plain .company-details__list dd a {
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, .24);
}

.about-company--plain .company-details__list dd a:hover {
	border-color: #fff;
}

@media (max-width: 1180px) {
	.about-company--plain .about-company__grid {
		grid-template-columns: 1fr;
	}

	.about-company--plain .company-details {
		position: relative;
		top: auto;
	}
}

@media (max-width: 740px) {
	.about-company__text {
		padding: 20px 17px;
		border-radius: 18px;
	}

	.about-company__text p {
		margin-bottom: 20px;
		font-size: 15px;
		line-height: 1.66;
	}
}

/* Content lists inside .instance_newmsk.single-post-block */
section.instance_newmsk.single-post-block :where(ul, ol) {
	display: grid;
	gap: 10px;
	margin: 22px 0;
	padding: 0;
}

section.instance_newmsk.single-post-block :where(ul, ol) > li {
	position: relative;
	min-height: 48px;
	margin: 0;
	padding: 13px 16px 13px 52px;
	border: 1px solid rgba(15, 42, 30, .10);
	border-radius: 14px;
	color: rgba(15, 42, 30, .84);
	background:
		linear-gradient(115deg, rgba(36, 97, 67, .055), rgba(255, 255, 255, .92) 42%),
		#fff;
	box-shadow: 0 8px 22px rgba(15, 42, 30, .055);
	font-size: 16px;
	font-weight: 550;
	line-height: 1.55;
	list-style: none;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

section.instance_newmsk.single-post-block :where(ul, ol) > li:hover {
	transform: translateX(3px);
	border-color: rgba(36, 97, 67, .22);
	box-shadow: 0 12px 28px rgba(15, 42, 30, .08);
}

section.instance_newmsk.single-post-block ul > li::before {
	content: '';
	position: absolute;
	top: 12px;
	left: 14px;
	width: 26px;
	height: 26px;
	border: 1px solid rgba(36, 97, 67, .18);
	border-radius: 9px;
	background: rgba(36, 97, 67, .10);
}

section.instance_newmsk.single-post-block ul > li::after {
	content: '';
	position: absolute;
	top: 20px;
	left: 22px;
	width: 9px;
	height: 5px;
	border-bottom: 2px solid var(--brand-green-600);
	border-left: 2px solid var(--brand-green-600);
	transform: rotate(-45deg);
}

section.instance_newmsk.single-post-block ol {
	counter-reset: content-list;
}

section.instance_newmsk.single-post-block ol > li {
	counter-increment: content-list;
	padding-left: 58px;
}

section.instance_newmsk.single-post-block ol > li::before {
	content: counter(content-list, decimal-leading-zero);
	position: absolute;
	top: 10px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 30px;
	border-radius: 10px;
	color: #fff;
	background: linear-gradient(145deg, var(--brand-blue), var(--brand-green-800));
	box-shadow: 0 7px 16px rgba(46, 80, 119, .18);
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: .03em;
}

section.instance_newmsk.single-post-block :where(ul, ol) > li :where(ul, ol) {
	gap: 7px;
	margin: 12px 0 2px;
}

section.instance_newmsk.single-post-block :where(ul, ol) > li :where(ul, ol) > li {
	min-height: 40px;
	padding-top: 9px;
	padding-bottom: 9px;
	border-style: dashed;
	border-radius: 11px;
	background: rgba(255, 255, 255, .68);
	box-shadow: none;
	font-size: .94em;
}

section.instance_newmsk.single-post-block :where(ul, ol) > li p {
	margin-top: 0;
	margin-bottom: 8px;
}

section.instance_newmsk.single-post-block :where(ul, ol) > li p:last-child {
	margin-bottom: 0;
}

section.instance_newmsk.single-post-block :where(ul, ol) > li :where(strong, b) {
	color: var(--brand-green-900);
	font-weight: 850;
}

section.instance_newmsk.single-post-block ul > li:has(img)::after {
	display: none;
}

section.instance_newmsk.single-post-block ul > li img:first-child,
section.instance_newmsk.single-post-block ul.numbers > li img:first-child {
	position: absolute;
	z-index: 1;
	top: 15px;
	left: 17px;
	width: 20px !important;
	height: 20px;
	margin: 0 !important;
	object-fit: contain;
	transform: none;
}

section.instance_newmsk.single-post-block ul.numbers > li img:first-child {
	top: 14px;
	left: 16px;
	width: 22px !important;
	height: 22px;
}

@media (max-width: 640px) {
	section.instance_newmsk.single-post-block :where(ul, ol) {
		gap: 8px;
		margin: 18px 0;
	}

	section.instance_newmsk.single-post-block :where(ul, ol) > li {
		min-height: 44px;
		padding: 11px 12px 11px 47px;
		border-radius: 12px;
		font-size: 14px;
		line-height: 1.5;
	}

	section.instance_newmsk.single-post-block ol > li {
		padding-left: 52px;
	}

	section.instance_newmsk.single-post-block ul > li::before {
		top: 10px;
		left: 11px;
		width: 24px;
		height: 24px;
	}

	section.instance_newmsk.single-post-block ul > li::after {
		top: 17px;
		left: 18px;
	}

	section.instance_newmsk.single-post-block ol > li::before {
		top: 8px;
		left: 9px;
	}

	section.instance_newmsk.single-post-block ul > li img:first-child,
	section.instance_newmsk.single-post-block ul.numbers > li img:first-child {
		top: 12px;
		left: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	section.instance_newmsk.single-post-block :where(ul, ol) > li {
		transition: none;
	}
}

/* Promotional Contact Form 7 block (fp_promo_form.php) */
.fp-promo-form {
	position: relative;
	isolation: isolate;
	margin: 30px 0;
	padding: clamp(24px, 4vw, 54px);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .10);
	border-radius: 28px;
	color: #fff;
	background:
		linear-gradient(125deg, rgba(15, 42, 30, .98), rgba(20, 54, 37, .96) 54%, rgba(27, 74, 50, .94)),
		var(--brand-green-900);
	box-shadow: 0 28px 70px rgba(15, 42, 30, .24);
}

.fp-promo-form::before {
	content: '';
	position: absolute;
	z-index: -1;
	inset: 0;
	opacity: .17;
	background-image:
		linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px);
	background-size: 42px 42px;
	-webkit-mask-image: linear-gradient(90deg, #000, transparent 72%);
	mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.fp-promo-form__glow {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(2px);
}

.fp-promo-form__glow--one {
	top: -170px;
	right: 12%;
	width: 390px;
	height: 390px;
	background: rgba(189, 29, 54, .25);
}

.fp-promo-form__glow--two {
	bottom: -210px;
	left: -120px;
	width: 420px;
	height: 420px;
	border: 70px solid rgba(255, 255, 255, .035);
}

.fp-promo-form__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}

.fp-promo-form__content {
	max-width: 760px;
}

.fp-promo-form__badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 8px 13px;
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: 999px;
	color: #fff;
	background: rgba(255, 255, 255, .08);
	box-shadow: inset 0 1px rgba(255, 255, 255, .08);
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.fp-promo-form__badge svg {
	width: 17px;
	height: 17px;
	fill: rgba(255, 255, 255, .12);
	stroke: #ffbdc8;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fp-promo-form__title {
	max-width: 760px;
	margin: 20px 0 16px;
	color: #fff;
	font-size: clamp(34px, 4.2vw, 62px);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -.035em;
}

.fp-promo-form__title span {
	display: block;
	color: #ff8ca0;
}

.fp-promo-form__lead {
	max-width: 690px;
	margin: 0;
	color: rgba(255, 255, 255, .72);
	font-size: clamp(16px, 1.45vw, 20px);
	font-weight: 550;
	line-height: 1.55;
}

.fp-promo-form__points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 11px;
	margin: 25px 0 0;
	padding: 0;
	list-style: none;
}

.fp-promo-form__points li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	padding: 13px;
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 14px;
	color: rgba(255, 255, 255, .82);
	background: rgba(255, 255, 255, .055);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.fp-promo-form__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 23px;
	width: 23px;
	height: 23px;
	border-radius: 8px;
	color: #9fe0b8;
	background: rgba(122, 211, 155, .11);
}

.fp-promo-form__check svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fp-promo-form__note {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-top: 22px;
	color: rgba(255, 255, 255, .64);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.45;
}

.fp-promo-form__note svg {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: #9fe0b8;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fp-promo-form__card {
	position: relative;
	padding: clamp(22px, 2.5vw, 31px);
	border: 1px solid rgba(15, 42, 30, .10);
	border-radius: 23px;
	color: var(--brand-green-900);
	background:
		radial-gradient(320px 150px at 100% 0%, rgba(189, 29, 54, .08), transparent 72%),
		#fff;
	box-shadow: 0 26px 55px rgba(5, 19, 12, .28);
}

.fp-promo-form__card-icon {
	position: absolute;
	top: -17px;
	right: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border: 4px solid var(--brand-green-800);
	border-radius: 16px;
	color: #fff;
	background: linear-gradient(145deg, var(--brand-red), #98162b);
	box-shadow: 0 12px 24px rgba(189, 29, 54, .25);
}

.fp-promo-form__card-icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fp-promo-form__card-head {
	padding-right: 40px;
}

.fp-promo-form__card-head h3 {
	margin: 0 0 8px;
	color: var(--brand-green-900);
	font-size: clamp(22px, 2vw, 29px);
	line-height: 1.12;
}

.fp-promo-form__card-head p {
	margin: 0;
	color: rgba(15, 42, 30, .62);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

.fp-promo-form__cf7 {
	margin-top: 19px;
}

.fp-promo-form__cf7 .wpcf7-form {
	display: grid;
	gap: 11px;
}

.fp-promo-form__cf7 .wpcf7-form p {
	margin: 0;
}

.fp-promo-form__cf7 label {
	display: block;
	color: rgba(15, 42, 30, .72);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.4;
}

.fp-promo-form__cf7 .wpcf7-form-control-wrap {
	display: block;
	margin-top: 5px;
}

.fp-promo-form__cf7 :where(input:not([type="submit"], [type="checkbox"], [type="radio"]), select, textarea) {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 12px 15px;
	border: 1px solid rgba(15, 42, 30, .13);
	border-radius: 13px;
	outline: none;
	color: var(--brand-green-900);
	background: #f6f9f7;
	font: inherit;
	font-size: 15px;
	font-weight: 650;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.fp-promo-form__cf7 textarea {
	min-height: 96px;
	resize: vertical;
}

.fp-promo-form__cf7 :where(input, select, textarea):focus {
	border-color: rgba(36, 97, 67, .48);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(36, 97, 67, .09);
}

.fp-promo-form__cf7 input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	padding: 13px 20px;
	border: 0;
	border-radius: 999px;
	color: #fff;
	background: linear-gradient(135deg, var(--brand-red), #a6172f);
	box-shadow: 0 14px 28px rgba(189, 29, 54, .22);
	font: inherit;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.2;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease;
}

.fp-promo-form__cf7 input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 34px rgba(189, 29, 54, .29);
}

.fp-promo-form__cf7 .wpcf7-spinner {
	display: block;
	margin: 8px auto 0;
}

.fp-promo-form__cf7 .wpcf7-not-valid-tip {
	margin-top: 5px;
	color: var(--brand-red);
	font-size: 11px;
	font-weight: 750;
}

.fp-promo-form__cf7 .wpcf7-response-output {
	margin: 10px 0 0 !important;
	padding: 10px 12px !important;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.fp-promo-form__placeholder {
	padding: 14px;
	border: 1px dashed rgba(46, 80, 119, .35);
	border-radius: 12px;
	color: var(--brand-blue);
	background: rgba(46, 80, 119, .06);
	font-size: 12px;
	line-height: 1.5;
}

.fp-promo-form__privacy {
	margin: 13px 0 0;
	color: rgba(15, 42, 30, .43);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.45;
	text-align: center;
}

.fp-promo-form__privacy a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 1080px) {
	.fp-promo-form__grid {
		grid-template-columns: 1fr;
	}

	.fp-promo-form__content {
		max-width: 820px;
	}

	.fp-promo-form__card {
		max-width: 620px;
	}
}

@media (max-width: 700px) {
	.fp-promo-form {
		margin: 20px 0;
		padding: 24px 16px 18px;
		border-radius: 21px;
	}

	.fp-promo-form__grid {
		gap: 27px;
	}

	.fp-promo-form__title {
		font-size: clamp(31px, 10vw, 44px);
	}

	.fp-promo-form__points {
		grid-template-columns: 1fr;
	}

	.fp-promo-form__card {
		padding: 23px 17px 19px;
		border-radius: 18px;
	}

	.fp-promo-form__card-icon {
		top: -15px;
		right: 16px;
		width: 46px;
		height: 46px;
	}

	.fp-promo-form__card-head {
		padding-right: 42px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fp-promo-form__cf7 :where(input, select, textarea),
	.fp-promo-form__cf7 input[type="submit"] {
		transition: none;
	}
}

/* Service maintenance offer (fp_text_ak.php) */
.fp-text-ak {
	margin: 16px 0;
}

.fp-text-ak__card {
	position: relative;
	isolation: isolate;
	padding: clamp(18px, 2.2vw, 28px) clamp(20px, 3vw, 42px);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .11);
	border-radius: 18px;
	color: #fff;
	background:
		radial-gradient(380px 130px at 86% 0%, rgba(189, 29, 54, .18), transparent 72%),
		linear-gradient(118deg, var(--brand-green-900), var(--brand-green-800) 60%, var(--brand-green-700));
	box-shadow: 0 16px 36px rgba(15, 42, 30, .18);
}

.fp-text-ak__card::before {
	content: '';
	position: absolute;
	z-index: -1;
	inset: 0;
	opacity: .08;
	background-image:
		linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px);
	background-size: 38px 38px;
}

.fp-text-ak__card > p {
	margin: 0;
}

.fp-offer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(14px, 2.4vw, 38px);
	width: 100%;
	min-width: 0;
	white-space: nowrap;
}

.fp-offer__title {
	color: #fff;
	font-size: clamp(20px, 2.2vw, 34px);
	font-weight: 950;
	line-height: 1.05;
	letter-spacing: -.03em;
	white-space: nowrap;
}

.fp-offer__price {
	padding-left: clamp(14px, 2vw, 32px);
	border-left: 1px solid rgba(255, 255, 255, .16);
	color: #ff8ca0;
	font-size: clamp(34px, 3.5vw, 54px);
	font-weight: 950;
	line-height: .95;
	letter-spacing: -.045em;
	white-space: nowrap;
}

.fp-offer__old-price {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	color: rgba(255, 255, 255, .64);
	font-size: clamp(12px, 1.15vw, 17px);
	font-weight: 750;
	line-height: 1.15;
	white-space: nowrap;
}

.fp-offer__old-price del {
	color: rgba(255, 255, 255, .52);
	font-size: 1.08em;
	font-weight: 850;
	text-decoration-color: #ff8ca0;
	text-decoration-thickness: 2px;
}

.fp-offer__deadline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 9px 15px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 999px;
	color: #fff;
	background: linear-gradient(135deg, var(--brand-red), #a7162f);
	box-shadow: 0 11px 24px rgba(189, 29, 54, .25);
	font-size: clamp(12px, 1.15vw, 16px);
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
}

@media (max-width: 1100px) {
	.fp-text-ak__card {
		padding: 16px 18px;
	}

	.fp-offer {
		gap: clamp(9px, 1.3vw, 16px);
	}

	.fp-offer__title {
		font-size: clamp(12px, 1.65vw, 18px);
	}

	.fp-offer__price {
		padding-left: clamp(9px, 1.3vw, 15px);
		font-size: clamp(27px, 3.5vw, 38px);
	}

	.fp-offer__old-price,
	.fp-offer__deadline {
		font-size: clamp(10px, 1.2vw, 13px);
	}

	.fp-offer__deadline {
		min-height: 34px;
		padding: 8px 12px;
	}
}

@media (max-width: 640px) {
	.fp-text-ak {
		margin: 10px 0;
	}

	.fp-text-ak__card {
		padding: 11px 8px;
		border-radius: 12px;
	}

	.fp-offer {
		gap: 6px;
	}

	.fp-offer__title {
		font-size: clamp(8px, 2vw, 10px);
		letter-spacing: -.02em;
	}

	.fp-offer__price {
		padding-left: 6px;
		font-size: clamp(20px, 5.5vw, 25px);
	}

	.fp-offer__old-price,
	.fp-offer__deadline {
		font-size: clamp(8px, 2vw, 10px);
	}

	.fp-offer__deadline {
		min-height: 26px;
		padding: 6px 8px;
	}
}

/* Price tables and tabs: template-parts/blocks/fp_table_remont.php */
.fp-price-tabs {
  --fp-price-accent: #d51f3f;
  --fp-price-accent-dark: #b81734;
  --fp-price-canvas: #edf5f0;
  --fp-price-ink: #123d2e;
  --fp-price-line: #d6e4dc;
  --fp-price-muted: #60736a;
  --fp-price-surface: #ffffff;
  --fp-price-shadow: 0 18px 50px rgba(18, 61, 46, 0.1);
  position: relative;
  overflow: clip;
  padding: clamp(48px, 6vw, 78px) 0;
  color: var(--fp-price-ink);
}

.fp-price-tabs *,
.fp-price-tabs *::before,
.fp-price-tabs *::after {
  box-sizing: border-box;
}


.fp-price-tabs__heading {
  text-align: center;
  margin-bottom: 40px;
}

.fp-price-tabs__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--fp-price-accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fp-price-tabs__eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.fp-price-tabs .fp-price-tabs__title {
  max-width: none;
  margin: 0;
  color: var(--fp-price-ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.fp-price-tabs__intro {
  max-width: 620px;
  margin: 14px auto 0;
  color: var(--fp-price-muted);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.55;
}

.fp-price-tabs .price-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 24px;
  padding: 10px;
  text-align: left;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(18, 61, 46, 0.1);
  border-radius: 20px;
}

.fp-price-tabs__tab {
  position: relative;
  min-height: 58px;
  padding: 11px 14px 11px 18px;
  color: var(--fp-price-ink);
  font: inherit;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  appearance: none;
  cursor: pointer;
  background: #f5f9f6;
  border: 1px solid transparent;
  border-radius: 12px;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}


.fp-price-tabs__tab:hover {
  color: var(--fp-price-ink);
  background: #ffffff;
  border-color: #b9d0c4;
  transform: translateY(-1px);
}

.fp-price-tabs__tab[aria-selected="true"] {
  color: #ffffff;
  background: var(--fp-price-ink);
  border-color: var(--fp-price-ink);
  box-shadow: 0 10px 22px rgba(18, 61, 46, 0.2);
}

.fp-price-tabs__tab[aria-selected="true"]::before {
  background: var(--fp-price-accent);
}

.fp-price-tabs__tab:focus-visible,
.fp-price-tabs__select:focus-visible {
  outline: 3px solid rgba(213, 31, 63, 0.28);
  outline-offset: 2px;
}

.fp-price-tabs .price-switcher-select {
  position: relative;
  display: none;
  margin: 0 0 18px;
  text-align: left;
}

.fp-price-tabs__select-label {
  display: block;
  margin-bottom: 8px;
  color: var(--fp-price-ink);
  font-size: 13px;
  font-weight: 800;
}

.fp-price-tabs__select-wrap {
  position: relative;
}

.fp-price-tabs__select-wrap::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  pointer-events: none;
  content: "";
  border-right: 2px solid var(--fp-price-ink);
  border-bottom: 2px solid var(--fp-price-ink);
  transform: translateY(-70%) rotate(45deg);
}

.fp-price-tabs__select {
  width: 100%;
  min-height: 54px;
  padding: 0 48px 0 16px;
  color: var(--fp-price-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  appearance: none;
  cursor: pointer;
  background: var(--fp-price-surface);
  border: 1px solid #b9d0c4;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(18, 61, 46, 0.08);
}

.fp-price-tabs .remont-okon-tab-contents {
  overflow: hidden;
  background: var(--fp-price-surface);
  border: 1px solid rgba(18, 61, 46, 0.1);
  border-radius: 22px;
  box-shadow: var(--fp-price-shadow);
}

.fp-price-tabs .remont-okon-tab-contents > .item {
  display: block;
  overflow-x: auto;
  scrollbar-color: #9ab7a8 #edf4f0;
  scrollbar-width: thin;
}

.text_p {
  padding:15px;
}

.text_p p {
  font-size:18px;
}

.fp-price-tabs.is-enhanced .remont-okon-tab-contents > .item {
  display: none;
}

.fp-price-tabs.is-enhanced .remont-okon-tab-contents > .item.is-active {
  display: block;
  animation: fp-price-tab-in 220ms ease-out;
}

.fp-price-tabs .remont-okon-tab-contents > .item::-webkit-scrollbar {
  height: 10px;
}

.fp-price-tabs .remont-okon-tab-contents > .item::-webkit-scrollbar-track {
  background: #edf4f0;
  border-radius: 20px;
}

.fp-price-tabs .remont-okon-tab-contents > .item::-webkit-scrollbar-thumb {
  background: #9ab7a8;
  border: 2px solid #edf4f0;
  border-radius: 20px;
}

.fp-price-tabs table.style-1 {
  width: 100%;
  min-width: 720px;
  margin: 0;
  overflow: hidden;
  color: #263b33;
  font-size: 14px;
  line-height: 1.42;
  table-layout: fixed;
  border: 1px solid var(--fp-price-line);
  border-spacing: 0;
  border-collapse: separate;
  border-radius: 14px;
}

.fp-price-tabs table.style-1 thead td {
  padding: 15px 18px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  background: var(--fp-price-ink);
  border: 0;
}

.fp-price-tabs table.style-1 thead td:first-child {
  width: 68%;
}

.fp-price-tabs table.style-1 thead td:nth-child(2) {
  width: 12%;
  text-align: center;
}

.fp-price-tabs table.style-1 thead td:last-child {
  width: 20%;
  text-align: right;
}

.fp-price-tabs table.style-1 tbody td {
  padding: 13px 18px;
  vertical-align: top;
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid #e5ede8;
  transition: background-color 150ms ease;
}

.fp-price-tabs table.style-1 tbody tr:last-child td {
  border-bottom: 0;
}

.fp-price-tabs table.style-1 tbody tr:nth-child(even) td:not([colspan]) {
  background: #f8faf9;
}

.fp-price-tabs table.style-1 tbody tr:hover td:not([colspan]) {
  background: #fff5f6;
}

.fp-price-tabs table.style-1 tbody td:nth-child(2) {
  color: var(--fp-price-muted);
  text-align: center;
  white-space: nowrap;
}

.fp-price-tabs table.style-1 tbody td:nth-child(3) {
  color: var(--fp-price-ink);
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.fp-price-tabs table.style-1 td[colspan="3"] {
  padding-top: 14px;
  padding-bottom: 14px;
  color: var(--fp-price-ink);
  font-size: 14px;
  letter-spacing: 0.01em;
  background: #e8f2ed;
  border-bottom-color: #cfe0d7;
}



.fp-price-tabs .item > p:first-of-type {
  margin-top: 20px;
}

.fp-price-tabs .item > p strong {
  color: var(--fp-price-accent-dark);
}

@keyframes fp-price-tab-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .fp-price-tabs .price-switcher {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .fp-price-tabs {
    padding: 42px 0 52px;
  }

  .fp-price-tabs > .container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .fp-price-tabs__heading {
    margin-bottom: 24px;
    text-align: left;
  }

  .fp-price-tabs__eyebrow {
    margin-bottom: 8px;
  }

  .fp-price-tabs .fp-price-tabs__title {
    font-size: clamp(27px, 8.5vw, 36px);
    line-height: 1.12;
    text-wrap: pretty;
  }

  .fp-price-tabs__intro {
    margin-top: 10px;
    font-size: 15px;
  }

  .fp-price-tabs .price-switcher {
    display: none;
  }

  .fp-price-tabs .price-switcher-select {
    display: block;
  }

  .fp-price-tabs .remont-okon-tab-contents {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .fp-price-tabs .remont-okon-tab-contents > .item {
    padding: 0;
    overflow-x: hidden;
  }

  .fp-price-tabs table.style-1 {
    width: 100%;
    min-width: 0;
    font-size: clamp(13px, 2.8vw, 11px);
    line-height: 1.3;
    border-radius: 10px;
  }

  .fp-price-tabs table.style-1 thead td,
  .fp-price-tabs table.style-1 tbody td {
    padding: 8px 5px;
    overflow-wrap: anywhere;
  }

  .fp-price-tabs table.style-1 thead td {
    font-size: clamp(10px, 2.4vw, 10px);
    line-height: 1.2;
    letter-spacing: 0.015em;
  }

  .fp-price-tabs table.style-1 thead td:first-child {
    width: 62%;
  }

  .fp-price-tabs table.style-1 thead td:nth-child(2) {
    width: 12%;
  }

  .fp-price-tabs table.style-1 thead td:last-child {
    width: 26%;
  }

  .fp-price-tabs table.style-1 tbody td:nth-child(2) {
    white-space: normal;
  }

  .fp-price-tabs table.style-1 td[colspan="3"] {
    padding: 9px 6px;
    font-size: clamp(12.5px, 3vw, 12px);
    line-height: 1.25;
  }

  .fp-price-tabs .item > p {
    min-width: 0;
    margin-right: 2px;
    margin-left: 2px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fp-price-tabs *,
  .fp-price-tabs *::before,
  .fp-price-tabs *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Full-width sale offer: template-parts/blocks/fp_table_remont.php */
.fp-sale-fullwidth {
  width: calc(100% + 40px);
  max-width: none;
  margin: 40px -20px 0;
  overflow: clip;
}

.fp-sale-fullwidth__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.fp-sale-fullwidth .fp-text-ak__card {
  width: 100%;
  min-height: 150px;
  padding: clamp(28px, 3.5vw, 52px) clamp(26px, 5vw, 72px);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.fp-sale-fullwidth .fp-offer {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto auto;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  gap: clamp(16px, 1.8vw, 28px);
}

.fp-sale-fullwidth .fp-offer__title {
  font-size: clamp(26px, 2.1vw, 34px);
  white-space: normal;
}

.fp-sale-fullwidth .fp-offer__price {
  font-size: clamp(44px, 4.4vw, 68px);
}

.fp-sale-fullwidth .fp-offer__old-price {
  justify-self: end;
  font-size: clamp(14px, 1.35vw, 19px);
}

.fp-sale-fullwidth .fp-offer__deadline {
  justify-self: end;
  min-height: 48px;
  padding: 12px 20px;
  font-size: clamp(14px, 1.3vw, 18px);
}

@media (max-width: 1100px) {
  .fp-sale-fullwidth .fp-text-ak__card {
    padding: 30px clamp(22px, 4vw, 44px);
  }

  .fp-sale-fullwidth .fp-offer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 14px 20px;
  }

  .fp-sale-fullwidth .fp-offer__title {
    grid-column: 1 / -1;
    font-size: clamp(24px, 3.4vw, 34px);
    white-space: normal;
  }

  .fp-sale-fullwidth .fp-offer__price {
    padding-left: 0;
    border-left: 0;
    font-size: clamp(42px, 6vw, 58px);
  }

  .fp-sale-fullwidth .fp-offer__old-price {
    font-size: clamp(13px, 1.8vw, 16px);
  }

  .fp-sale-fullwidth .fp-offer__deadline {
    font-size: clamp(14px, 1.8vw, 16px);
  }
}

@media (max-width: 640px) {
    .text_p {
      padding: 0;
    }
  .text_p p {
      font-size:13px;
  }
  .fp-sale-fullwidth {
    margin-top: 28px;
  }

  .fp-sale-fullwidth .fp-text-ak__card {
    min-height: 0;
    padding: 28px max(20px, env(safe-area-inset-right)) 30px max(20px, env(safe-area-inset-left));
  }

  .fp-sale-fullwidth .fp-offer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 16px;
    white-space: normal;
  }

  .fp-sale-fullwidth .fp-offer__title {
    grid-column: 1 / -1;
    font-size: clamp(24px, 7.2vw, 30px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    white-space: normal;
  }

  .fp-sale-fullwidth .fp-offer__price {
    grid-column: 1;
    align-self: end;
    padding-left: 0;
    border-left: 0;
    font-size: clamp(44px, 13vw, 58px);
    line-height: 0.95;
  }

  .fp-sale-fullwidth .fp-offer__old-price {
    grid-column: 2;
    align-self: end;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    padding-bottom: 4px;
    font-size: 14px;
    line-height: 1.1;
    white-space: normal;
  }

  .fp-sale-fullwidth .fp-offer__deadline {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    font-size: 16px;
    letter-spacing: 0.01em;
  }
}

/* Service offer below the generic price table (fp_table.php) */
.fp-table-offer {
	margin-top: 40px;
}

@media (max-width: 767px) {
	.fp-table-offer {
		margin-top: 28px;
	}

	.fp-table-offer .container {
		padding-right: 12px;
		padding-left: 12px;
	}

	.fp-table-offer .fp-text-ak__card {
		padding: 24px 18px 20px;
		border-radius: 20px;
	}

	.fp-table-offer .fp-offer {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 12px;
		align-items: center;
		justify-content: stretch;
		white-space: normal;
	}

	.fp-table-offer .fp-offer__title {
		grid-column: 1 / -1;
		color: #fff;
		font-size: clamp(23px, 7vw, 30px);
		line-height: 1.08;
		letter-spacing: -.035em;
		white-space: normal;
		text-wrap: balance;
	}

	.fp-table-offer .fp-offer__price {
		grid-column: 1 / -1;
		padding-left: 0;
		border-left: 0;
		font-size: clamp(42px, 13vw, 56px);
		line-height: .95;
	}

	.fp-table-offer .fp-offer__old-price {
		grid-column: 1;
		justify-self: start;
		color: rgba(255, 255, 255, .72);
		font-size: 14px;
		line-height: 1.25;
		white-space: normal;
	}

	.fp-table-offer .fp-offer__deadline {
		grid-column: 2;
		justify-self: end;
		min-height: 42px;
		padding: 11px 14px;
		font-size: 14px;
		line-height: 1.1;
	}
}

@media (max-width: 360px) {
	.fp-table-offer .fp-text-ak__card {
		padding: 22px 15px 18px;
	}

	.fp-table-offer .fp-offer {
		gap: 10px 8px;
	}

	.fp-table-offer .fp-offer__title {
		font-size: 22px;
	}

	.fp-table-offer .fp-offer__price {
		font-size: 42px;
	}

	.fp-table-offer .fp-offer__old-price {
		font-size: 12px;
	}

	.fp-table-offer .fp-offer__deadline {
		min-height: 40px;
		padding: 10px 12px;
		font-size: 13px;
	}
}
