/*
Theme Name: Krepost
Author: Antonio Korablev
Version: 1.0
*/

/* Подключаем Ubuntu Regular */
@font-face {
	font-family: 'Ubuntu';
	src: url('fonts/Ubuntu-Bold.woff2') format('woff2'),
	url('fonts/Ubuntu-Bold.woff') format('woff'),
	url('fonts/Ubuntu-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Ubuntu';
	src: url('fonts/Ubuntu-Medium.woff2') format('woff2'),
	url('fonts/Ubuntu-Medium.woff') format('woff'),
	url('fonts/Ubuntu-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Ubuntu';
	src: url('fonts/Ubuntu-MediumItalic.woff2') format('woff2'),
	url('fonts/Ubuntu-MediumItalic.woff') format('woff'),
	url('fonts/Ubuntu-MediumItalic.ttf') format('truetype');
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Ubuntu';
	src: url('fonts/Ubuntu-Regular.woff2') format('woff2'),
	url('fonts/Ubuntu-Regular.woff') format('woff'),
	url('fonts/Ubuntu-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Ubuntu';
	src: url('fonts/Ubuntu-Light.woff2') format('woff2'),
	url('fonts/Ubuntu-Light.woff') format('woff'),
	url('fonts/Ubuntu-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

:root {
	--font-family: "Ubuntu", sans-serif;
	--primary-purple: #7b61ff; /* Подбери точный HEX из InspectStyles */
	--dark-text: #333;
	--light-bg: #f5f5f5;
	--white: #ffffff;
	--dark: #1a1a1a;
	--accent: #ff6b00; 
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	outline: none;
}

html, body {
    margin: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

/* Если margin-top всё равно лезет, перебиваем его */
html {
	margin-top: 0 !important;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    height: 100%;
}

img {
	max-width: 100%;
	height: auto;
	display: inline-block;
	vertical-align: middle;
}

svg {
    display: block;
    flex-shrink: 0;
}

a {
	text-decoration: none;
}

input {
	font-family: inherit;
}

.wrapper {
	/*display: grid;*/
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

.main-section {
	flex: 1 1 auto;
}

/*@media (max-width: 991.98px) {
	.main-section {
		margin: 105px 0 0;
	}
}*/

@media (max-width: 767.98px) {
	.main-section {
		margin: 85px 0 0;
	}
}

@media (max-width: 575.98px) {
	.main-section {
		margin: 70px 0 0;
	}
}

.container {
	padding: 0 15px;
}

/* Media Min-Width */

/* 576 и выше (Малые девайсы - ландшафтные) */
@media (min-width: 576px) {
	.container {
		max-width: 540px;
		margin: 0 auto;
		padding: 0;
	}
}

/* 768 и выше (Средние девайсы - таблетки) */
@media (min-width: 768px) {
	.container {
		max-width: 720px;
	}
}

/* 992 и выше (Большие девайсы - десктопы) */
@media (min-width: 992px) {
	.container {
		max-width: 960px;
	}
}

/* 1200 и выше (Экстрабольшие девайсы - большие десктопы) */
@media (min-width: 1200px) {
	.container {
		max-width: 1140px;
	}
}

/* 1400 и выше (XX-Large devices (larger desktops)) Bootstrap 5 */
@media (min-width: 1400px) {
	.container {
		max-width: 1320px;
	}
}

.hero__title {
	font-size: 5rem; /* Около 80-90px для крупных заголовков */
	text-transform: uppercase;
	line-height: 1.1;
}

@media (max-width: 991.98px) {
	.site-header {
		display: flex;
		flex-direction: column;
	}
}

.top-bar {
	width: 100%;
	background: url('img/pattern-top.svg') no-repeat center;
	background-size: cover;
	padding: 5px;
}

@media (max-width: 991.98px) {
	.top-bar {
		order: 2;
	}
}

.promo-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 113%;
    text-align: center;
    color: #fff;
    gap: 36px;
    display: flex;
    align-items: center;
    text-wrap-style: balance;
}

@media (max-width: 1199.98px) {
	.promo-text {
		gap: 15px;
	}
}

@media (max-width: 575.98px) {
	.promo-text {
		flex-direction: column;
		margin: 0 0 10px;
	}
}

.promo-text a {
	transition: all 0.2s ease 0s;
}

.promo-text a:hover {
    background: #f3e2f3;
}

.promo-text .btn--white {
    position: relative;
    font-weight: 500;
    font-size: 13px;
    color: #262626;
    border-radius: 5px;
    width: 140px;
    height: 29px;
    border: none;
    flex-shrink: 0;
    padding: 0px;
}

.top-bar-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.hero-section h1 {
	font-weight: 700;
	font-size: 40px;
	line-height: 125%;
	color: #262626;
	margin: 0 0 22px;
}

@media (max-width: 991.98px) {
	.hero-section h1 {
		color: #fff;
	}
}

@media (max-width: 575.98px) {
	.hero-section h1 {
		font-size: 29px;
		text-align: center;
		line-height: 114%;
		margin: 0 0 14px;
	}
}

@media (max-width: 991.98px) {
	.hero-section:before {
		background: #00000063;
		content: '';
		display: block;
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		z-index: 0;
	}
}

.timer {
    display: flex;
    gap: 20px;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    line-height: 113%;
    text-align: center;
    color: #fff;
}

@media (max-width: 575.98px) {
	.timer {
		background: #74559a;
		border-radius: 5px;
		padding: 8px;
		width: 100%;
		justify-content: center;
	}
}

.main-navigation {
	background: linear-gradient(165deg, #dd7c7c 0%, #6672d8 100%);
}

@media (max-width: 991.98px) {
	.main-navigation {
		display: none;
	}
}

.user-menu {
	position: relative;
	border-radius: 5px;
	width: 200px;
	height: 38px;
	background: #fff;
	align-items: center;
	display: flex;
	justify-content: center;
	transition: all 0.2s ease 0s;
}

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

.user-menu:hover {
    background: #f5e0f5;
}

.user-menu-text {
	font-weight: 700;
	font-size: 13px;
	line-height: 208%;
	text-transform: uppercase;
	color: #262626;
}

.user-menu-icon-left {
	position: absolute;
	left: 13px;
	bottom: 0;
}

.user-menu-icon-right {
	position: absolute;
	right: 8px;
}

.max-icon {
    width: 31px;
    height: 30px;
}

.logo-text {
	font-weight: 700;
	font-size: 22px;
	line-height: 95%;
	color: #262626;
}

@media (max-width: 991.98px) {
	.logo-text {
		font-size: 20px;
	}
}

@media (max-width: 767.98px) {
	.logo-text {
		font-size: 18px;
	}
}

@media (max-width: 575.98px) {
	.logo-text {
		font-size: 16px;
		line-height: 88%;
	}
}

.logo {
	display: flex;
	align-items: center;
	gap: 20px;
}

@media (max-width: 575.98px) {
	.logo {
		gap: 10px;
	}
}

@media (max-width: 767.98px) {
	.logo img {
		width: 46px;
	}
}

@media (max-width: 767.98px) {
	.main-header {
		position: fixed;
		width: 100%;
		height: 105px;
		order: 1;
		z-index: 3;
		background: #fff;
	}
}

@media (max-width: 767.98px) {
	.main-header {
		height: 85px;
	}
}

@media (max-width: 575.98px) {
	.main-header {
		height: 70px;
	}
}

.main-header-group {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    position: relative;
    padding: 14px 0;
}

@media (max-width: 991.98px) {
	.main-header-group {
		align-items: center;
	}
}

@media (max-width: 575.98px) {
	.main-header-group {
		padding: 6px 0;
	}
}

.header-contacts {
	display: flex;
	align-items: center;
	gap: 60px;
}

@media (max-width: 1199.98px) {
	.header-contacts {
		gap: 30px;
	}
}

@media (max-width: 991.98px) {
	.header-contacts {
		gap: 20px;
	}
}

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

.header-contacts .soc-text {
	font-weight: 500;
	font-size: 16px;
	line-height: 169%;
	color: #262626;
}

@media (max-width: 1199.98px) {
	.header-contacts .soc-text {
		display: none;
	}
}

.btn-callback {
    display: inline-block;
    position: relative;
    background: linear-gradient(180deg, #9577b9 0%, #7d61a1 100%);
    border: none;
    border-radius: 5px;
    width: 202px;
    height: 38px;
    cursor: pointer;
    font-weight: 700;
    font-size: 12px;
    line-height: 38px;
    text-transform: uppercase;
    color: #fff;
    font-family: inherit;
    transition: all 0.2s ease 0s;
    text-align: center;
}

@media (max-width: 991.98px) {
	.btn-callback {
		display: none;
	}
}

.btn-callback:hover {
	opacity: .8;
}

.btn-callback .btn-icon {
	top: 8px;
}

.tel-inf {
	font-weight: 500;
	font-size: 13px;
	line-height: 108%;
	text-align: right;
	color: #948bae;
}

.soc-block {
	display: flex;
	align-items: center;
	gap: 10px;
	transition: all 0.2s ease 0s;
}

.soc-block:hover {
    opacity: .8;
}

.soc-item {
	transition: all 0.2s ease 0s;
}

.soc-item:hover {
	opacity: .8;
}

.logo-pod-text {
	font-weight: 500;
	font-size: 13px;
	line-height: 146%;
	color: #262626;
	margin: 0 0 2px;
}

@media (max-width: 575.98px) {
	.logo-pod-text {
		font-size: 10px;
	}
}

.btn-primary, .btn-secondary {
	background: linear-gradient(180deg, #9577b9 0%, #7d61a1 100%);
	border-radius: 5px;
	font-weight: 700;
	font-size: 17px;
	line-height: 147%;
	text-transform: uppercase;
	color: #fff;
	border-radius: 5px;
	width: 236px;

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	transition: all 0.2s ease 0s;
}

@media (max-width: 575.98px) {
	.btn-primary, .btn-secondary {
		font-size: 16px;
		height: 42px;
	}
}

.btn-primary:hover, .btn-secondary:hover {
	opacity: .8;
}

.btn-secondary {
	background: linear-gradient(180deg, #dd7c7c 0%, #a25d5d 100%);
	width: 281px;
}

@media (max-width: 991.98px) {
	.hero-info {
		position: relative;
		z-index: 0;
	}
}

.hero-info p {
	font-weight: 500;
	font-size: 24px;
	line-height: 129%;
	color: #262626;
}

@media (max-width: 991.98px) {
	.hero-info p {
		color: #fff;
	}
}

@media (max-width: 575.98px) {
	.hero-info p {
		font-size: 19px;
		text-align: center;
	}
}

.hero-buttons {
	display: flex;
	align-items: center;
	gap: 24px;
}

@media (max-width: 575.98px) {
	.hero-buttons {
		flex-direction: column;
		gap: 10px;
	}
}

.hero-desc {
	font-weight: 300;
	font-size: 10px;
	line-height: 120%;
	color: #948bae;
	margin: 7px 0 0;
	text-wrap-style: balance;
}

@media (max-width: 991.98px) {
	.hero-desc {
		color: #e4e1ee;
	}
}

.hero-section {
    position: relative;
    padding: 57px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

@media (max-width: 575.98px) {
	.hero-section {
		height: 422px;
		background-position: 74% 50%;
	}
}

.pos-header {
	font-weight: 300;
	font-size: 10px;
	line-height: 120%;
	text-align: center;
	color: #948bae;
	top: 7px;
	right: 0;
	position: absolute;
}

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

/*.main-header-group {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	padding: 20px 0;
}*/

.pos-header::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	height: 2px;
	background-color: rgba(149, 119, 185, 0.19);
	height: 1px;
	width: 100vw;
}

.btn-icon {
	position: absolute;
}

.btn-text {
	margin: 0 13px 0 -13px;
	line-height: 29px;
}

@media (max-width: 575.98px) {
	.btn-text {
		margin: 0px 4px 0px -17px;
	}
}

.promo-text .btn-icon {
	top: 2px;
}

.steps {
	background: rgba(149, 119, 185, 0.17);
}

.section-padding {
	position: relative;
	padding: 60px 0;
}

.section-title {
    font-weight: 700;
    font-size: 40px;
    line-height: 125%;
    text-transform: uppercase;
    text-align: center;
    color: #262626;
    text-wrap-style: balance; /* вроде надо */
}

@media (max-width: 1199.98px) {
	.section-title {
		font-size: 36px;
	}
}

@media (max-width: 991.98px) {
	.section-title {
		font-size: 32px;
	}
}

@media (max-width: 767.98px) {
	.section-title {
		font-size: 28px;
	}
}

@media (max-width: 575.98px) {
	.section-title {
		font-size: 25px;
	}
}

.section-subtitle {
	font-weight: 500;
	font-size: 27px;
	line-height: 185%;
	text-transform: lowercase;
	text-align: center;
	color: #816d99;
	margin: 0 0 40px;
}

@media (max-width: 575.98px) {
	.section-subtitle {
		font-size: 15px;
		line-height: 20px;
	}
}

.section-subtitle.s4 {
	font-weight: 700;
	font-size: 27px;
	line-height: 185%;
	text-transform: inherit;
	text-align: center;
	color: #262626;
	margin: 0 0 40px;
}

.section-subtitle.s2 {
    font-weight: 400;
    font-size: 20px;
    line-height: 135%;
    color: #816d99;
    max-width: 865px;
    text-align: center;
    margin: 10px auto 40px;
    text-transform: inherit;
    text-wrap-style: balance;
}

@media (max-width: 575.98px) {
	.section-subtitle.s2 {
		font-size: 15px;
	}
}

.section-subtitle.s3 {
    font-weight: 500;
    font-size: 20px;
    line-height: 135%;
    color: #816d99;
    text-align: center;
    margin: 10px auto 40px;
    text-transform: none;
    text-wrap-style: balance;
    width: 1250px;
    max-width: 100%;
}

@media (max-width: 575.98px) {
	.section-subtitle.s3 {
		font-size: 15px;
		line-height: 17px;
		margin: 10px auto 0;
	}
}

.benefits__item {
    box-shadow: 0 4px 18px 9px rgba(210, 202, 221, 0.4);
    background: #fff;
    border-radius: 5px;
    text-align: center;
    width: calc((100% - 105px) / 6);
    overflow: hidden;
}

@media (max-width: 1199.98px) {
	.benefits__item {
		width: calc((100% - 42px) / 3);
	}
}

@media (max-width: 767.98px) {
	.benefits__item {
		width: calc((100% - 21px) / 2);
	}
}

@media (max-width: 424.98px) {
	.benefits__item {
		display: flex;
		align-items: flex-start;
		gap: 15px;
		width: 100%;
	}
	.benefits__img {
		width: 116px;
		height: 100%;
		object-fit: cover;
		flex-shrink: 0;
	}
}

.steps__title {
	font-weight: 700;
	font-size: 50px;
	line-height: 100%;
	text-transform: uppercase;
	background: linear-gradient(90deg, #9b7ebf 0%, #dd7c7c 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
	margin: 0 0 32px;
}

.steps__subtitle {
	font-weight: 700;
	font-size: 20px;
	line-height: 100%;
	text-transform: uppercase;
	color: #262626;
	margin: 0 0 20px;
}

.steps__extra {
	font-weight: 500;
	font-size: 17px;
	line-height: 112%;
	color: #7d61a1;
	margin: 0 0 30px;
}

.steps__desc {
	font-weight: 400;
	font-size: 16px;
	line-height: 119%;
	color: #262626;
	margin: 0 0px 24px;
}

.btn--purple, .btn--red {
    background: linear-gradient(180deg,#9577b9 0%,#7d61a1 100%);
    border: none;
    border-radius: 5px;
    width: max-content;
    max-width: 100%;
    font-weight: 700;
    font-size: 17px;
    line-height: 147%;
    text-transform: uppercase;
    color: #fff;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    padding: 10px 25px;
    cursor: pointer;
    transition: all .2s ease 0s;
}

@media (max-width: 1399.98px) {
	.btn--purple, .btn--red {
		font-size: 16px;
	}
}

.btn--purple:hover, .btn--red:hover {
	opacity: .8;
}

.btn--red {
	background: linear-gradient(180deg, #dd7c7c 0%, #a25d5d 100%);
}

.features__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

@media (max-width: 767.98px) {
	.features__grid {
		gap: 20px;
	}
}

.features__item {
	box-shadow: 0 4px 18px 9px rgba(210, 202, 221, 0.4);
	background: #fff;
	border-radius: 5px;
	width: calc((100% - 90px) / 4);
	padding: 24px;
}

@media (max-width: 991.98px) {
	.features__item {
		width: calc((100% - 30px) / 2);
	}
}

@media (max-width: 575.98px) {
	.features__item {
		width: 100%;
	}
}

.features__icon img {
	width: 150px;
	height: 150px;
}

.features__icon {
	text-align: center;
	margin: 0 0 20px;
}

.features__title {
	font-weight: 700;
	font-size: 20px;
	line-height: 120%;
	text-transform: uppercase;
	text-align: center;
	color: #262626;
	margin: 0 0 14px;
}

.features__text {
	font-weight: 400;
	font-size: 15px;
	line-height: 127%;
	text-align: center;
	color: #262626;
}

.benefits__grid {
	display: flex;
	gap: 21px;
	flex-wrap: wrap;
}

.benefits__title {
	font-weight: 700;
	font-size: 20px;
	line-height: 120%;
	text-transform: uppercase;
	text-align: center;
	color: #262626;
	margin: 10px 10px 0;
}

.benefits__label {
	color: #262626;
	font-size: 20px;
	font-weight: 500;
	line-height: 95%;
	text-transform: lowercase;
	margin: 0 10px 10px;
}

.benefits__text {
	font-weight: 400;
	font-size: 15px;
	line-height: 127%;
	text-align: center;
	color: #262626;
	margin: 0 10px 10px;
}

.steps__item {
    border-radius: 5px;
    overflow: hidden;
    width: 1085px;
    max-width: 100%;
    box-shadow: 0 4px 18px 9px rgba(210,202,221,.4);
    background: #fff;
    display: flex;
    justify-content: space-between;
    margin: 0 0 56px;
}

@media (max-width: 767.98px) {
	.steps__item {
		flex-direction: column;
	}
}

.steps__item:last-child {
	margin-bottom: 0;
}

.steps__content {
	width: 100%;
	padding: 26px;
}

/*.steps__item--reverse {
	flex-direction: row-reverse;
	margin: 0 0 56px auto;
}*/

.steps__item:nth-child(2n) {
    flex-direction: row-reverse;
    margin: 0 0 56px auto;
}

@media (max-width: 767.98px) {
	.steps__item:nth-child(2n) {
		flex-direction: column;
	}
}

.steps__list {
	position: relative;
	margin: 50px 0 0;
}

.steps__list:before {
	content: '';
	border-left: 3px dashed rgba(125, 97, 161, 0.4);
	display: block;
	width: 0;
	height: calc(100% + 60px);
	/* transform: rotate(-90deg); */
	position: absolute;
	top: -30px;
	left: calc(50% - 1px);
	z-index: -1;
}

.steps__img-wrap {
	flex-shrink: 0;
}

@media (max-width: 991.98px) {
	.steps__img-wrap {
		flex-shrink: 1;
	}
}

.steps__img-wrap img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.lur {
	background: linear-gradient(90deg, rgba(221, 124, 124, 0.17) 0%, rgba(149, 119, 185, 0.17) 100%);
	width: 100%;
	height: 150px;
	position: absolute;
	left: 0;
	top: 50%;
	z-index: -1;
}

.cards {
	background: rgba(149, 119, 185, 0.17);
}

.cards__grid {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	margin: 0 0 50px;
}

.cards__item {
	border-radius: 5px;
	box-shadow: 0 4px 18px 9px rgba(210, 202, 221, 0.4);
	background: #fff;
	width: calc((100% - 60px) / 4);
	padding: 0 0px 20px;
}

@media (max-width: 991.98px) {
	.cards__item {
		width: calc((100% - 30px) / 2);
	}
}

@media (max-width: 575.98px) {
	.cards__item {
		width: 100%;
	}
}

.cards__img {
	width: 100%;
	object-fit: cover;
	margin: 0 0 20px;
}

.cards__title {
	font-weight: 700;
	font-size: 20px;
	line-height: 120%;
	text-transform: uppercase;
	text-align: center;
	color: #262626;
	max-width: 230px;
	margin: 0 auto 10px;
}

.cards__text {
	font-weight: 400;
	font-size: 15px;
	line-height: 127%;
	text-align: center;
	color: #262626;
	padding: 0 20px;
	text-wrap-style: balance;
}

.cards__footer {
	text-align: center;
}

.cards__footer .btn {
	margin: 40px auto 0;
}

.cards__note {
	font-weight: 700;
	font-size: 20px;
	line-height: 250%;
	text-transform: uppercase;
	text-align: center;
	color: #262626;
}

.cards__note2 {
	font-weight: 400;
	font-size: 20px;
	line-height: 135%;
	text-align: center;
	color: #816d99;
	max-width: 640px;
	margin: 0 auto;
}

.site-content {
    min-width: 0;
}

/* s6 */

.consultation-section {
	padding: 80px 0;
	background: #fff;
}

.steps-header {
	text-align: center;
	margin-bottom: 50px;
}

.steps-wrapper {
	position: relative;
	width: 1100px;
	max-width: 100%;
	margin: 0 auto;
	min-height: 400px;
}

/* Слой с SVG */
.steps-svg-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

/* Сетка для шагов */
.steps-grid {
	display: grid;
	/* grid-template-columns: 0.3fr 1.3fr 1.4fr 1fr 2fr 3fr 1fr 3fr 1fr; */
	grid-row-gap: 77px;
	position: relative;
	z-index: 2;
	padding-top: 0;
}

@media (max-width: 575.98px) {
	.steps-grid {
		display: flex;
		flex-direction: column;
		text-align: left;
		align-items: flex-start;
		gap: 30px;
	}
}

.step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

@media (max-width: 575.98px) {
	.step {
		flex-direction: row;
		gap: 20px;
	}
}

.s1 {
	grid-column: 2;
	grid-row: 1;
}
.s2 {
	grid-column: 4;
	grid-row: 1;
}

@media (max-width: 991.98px) {
	.s2 {
		grid-column: 3;
	}
}

.s3 {
	grid-column: 6;
	grid-row: 1;
}

@media (max-width: 991.98px) {
	.s3 {
		grid-column: 5;
	}
}

.s4 {
	grid-column: 8;
	grid-row: 1;
}

@media (max-width: 991.98px) {
	.s4 {
		grid-column: 7;
		grid-row: 1;
	}
}

.s5 {
	grid-column: 7;
	grid-row: 2;
}
.s6 {
	grid-column: 5;
	grid-row: 2;
}
.s7 {
	grid-column: 3;
	grid-row: 2;
}

.step-num {
	width: 40px;
	height: 40px;
	background: linear-gradient(90deg, #dd7c7c 0%, #b56767 100%);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	font-weight: bold;
	margin-bottom: 12px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.step-title {
	margin-bottom: 5px;
	max-width: 180px;
	font-weight: 700;
	font-size: 19px;
	line-height: 100%;
	text-transform: uppercase;
	text-align: center;
	color: #262626;
}

@media (max-width: 575.98px) {
	.step-title {
		text-align: left;
	}
}

.step-desc {
	max-width: 180px;
	font-weight: 400;
	font-size: 17px;
	line-height: 102%;
	text-align: center;
	color: #262626;
}

@media (max-width: 575.98px) {
	.step-desc {
		text-align: left;
		font-size: 16px;
	}
}

.steps-grid:before {
	content: '';
	display: block;
	width: 100%;
	height: 240px;
	position: absolute;
	top: 19px;
	left: 5%;
	border: 2px dashed rgba(149, 119, 185, 0.57);
	border-left: 0;
	border-top-right-radius: 160px;
	border-bottom-right-radius: 160px;
	margin: 0 auto;
	z-index: -1;
}

@media (max-width: 991.98px) {
	.steps-grid:before {
		height: 204px;
	}
}

@media (max-width: 767.98px) {
	.steps-grid:before {
		height: 242px;
	}
}

@media (max-width: 575.98px) {
	.steps-grid:before {
		height: 100%;
		width: 0px;
		margin: -35px -5px;
	}
}

.family-support-section {
	background: rgba(149, 119, 185, 0.17);
}

.family-block {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

@media (max-width: 1199.98px) {
	.family-block {
		gap: 10px;
	}
}

@media (max-width: 991.98px) {
	.family-block {
		gap: 20px;
		justify-content: center;
	}
}

.family-item {
    width: calc((100% - 60px) / 3);
    box-shadow: 0 4px 18px 9px rgba(210, 202, 221, 0.4);
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1199.98px) {
	.family-item {
		width: calc((100% - 20px) / 3);
		box-shadow: 0 4px 18px 9px rgba(210, 202, 221, 0.4);
		background: #fff;
		border-radius: 5px;
		overflow: hidden;
		display: flex;
		flex-direction: column;
	}
}

@media (max-width: 991.98px) {
	.family-item {
		width: calc((100% - 20px) / 2);
	}
}

@media (max-width: 767.98px) {
	.family-item {
		width: 100%;
	}
}

.family-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    text-align: center;
    color: #262626;
    padding: 25px 25px 20px;
    text-wrap-style: balance;
    flex-grow: 1;
    align-content: center;
}

.family-list {
	background: #f7f4f9;
	padding: 12px 0;
	margin: 0 25px 20px;
	border-radius: 5px;
}

.family-list2 {
    padding: 0px 25px;
    margin: 0 25px;
}

.family-list-item {
	position: relative;
	list-style: none;
	font-weight: 400;
	font-size: 15px;
	line-height: 157%;
	color: #262626;
	padding: 0px 10px 0px 25px;
}

.family-list-item:before {
	content: '';
	display: block;
	width: 4px;
	height: 9px;
	background: #9577b9;
	position: absolute;
	top: 7px;
	left: 0;
}

.family-list2-item {
	list-style: none;
	font-weight: 400;
	font-size: 14px;
	line-height: 150%;
	color: rgba(100, 77, 129, 0.82);
}

.family-item .btn {
	margin: 25px;
	width: calc(100% - 50px);
}

.family-img img {
	width: 100%;
	object-fit: cover;
	height: 207px;
}

.command-block-pos {
    margin: 0 0 60px;
}

@media (max-width: 575.98px) {
	.command-block {
		display: flex;
		gap: 15px;
		flex-wrap: wrap;
	}
}

.command-item {
    width: calc((100% - 75px) / 6);
    box-shadow: 0 4px 18px 9px rgba(210,202,221,.4);
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
}

@media (max-width: 575.98px) {
	.command-item {
		width: 100%;
	}
}

.command-title {
	font-weight: 700;
	font-size: 20px;
	line-height: 120%;
	text-align: center;
	color: #262626;
}

.command-prof {
    font-weight: 400;
    font-size: 14px;
    line-height: 107%;
    text-align: center;
    color: #5d5d5d;
    margin: 0 0 20px;
    flex: 0 1 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.command-cit {
    font-weight: 400;
    font-size: 14px;
    line-height: 107%;
    text-align: center;
    color: rgba(129, 109, 153, 0.81);
    background: #f7f4f9;
    border-radius: 5px;
    padding: 10px;
}

.command-group {
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.command-section,
.section-es4 {
    background: linear-gradient(90deg, rgba(149, 119, 185, 0.23) 0%, rgba(221, 124, 124, 0.23) 100%);
}

.command-section .line {
    width: 122px;
    height: 1px;
    background: #dad0e6;
    margin: 6px auto;
}

.command-section .btn {
    margin: 0 auto -84px;
    z-index: 1;
    position: relative;
}

.why-block {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.why-item {
    position: relative;
    width: calc((100% - 60px) / 3);
    background: #f7f5f9;
    padding: 50px 30px 30px 48px;
    border-radius: 5px;
    counter-increment: my-awesome-counter;
    line-height: 24px;
}

@media (max-width: 767.98px) {
	.why-item {
		width: 100%;
	}
}

.why-item:before {
    content: counter(my-awesome-counter);
    color: #fff;
    width: 70px;
    height: 73px;
    text-align: center;
    position: absolute;
    top: 7px;
    left: -21px;
    font-weight: 700;
    font-size: 90px;
    line-height: 76%;
    text-transform: uppercase;
    background: linear-gradient(185deg, #6672d8 0%, #dd7c7c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.41;
}

.why-title {
    position: relative;
    font-weight: 700;
    font-size: 23px;
    line-height: 104%;
    text-transform: uppercase;
    color: #262626;
    margin: 0 0 25px;
    width: max-content;
}

@media (max-width: 575.98px) {
	.why-title {
		font-size: 21px;
		width: auto;
		line-height: 114%;
	}
}

.why-title:after {
    content: '';
    width: calc(100% + 48px);
    height: 3px;
    background: linear-gradient(45deg, #9577B9, #DD7C7C);
    display: block;
    position: absolute;
    /* top: 70px; */
    left: -48px;
    opacity: 0.26;
}

.why-desc {
	font-weight: 400;
	font-size: 16px;
	line-height: 119%;
	color: #262626;
}

.why-support-header2 {
    position: relative;
    box-shadow: 0 4px 31px 19px rgba(87, 82, 119, 0.08);
    background: #fff;
    border-radius: 10px;
}

.section-title2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 125%;
    text-align: center;
    color: #262626;
    padding: 40px 20px 0;
    text-wrap-style: balance;
}

@media (max-width: 991.98px) {
	.section-title2 {
		font-size: 32px;
	}
}

@media (max-width: 767.98px) {
	.section-title2 {
		font-size: 28px;
		padding: 20px 20px 0;
	}
}

@media (max-width: 575.98px) {
	.section-title2 {
		font-size: 26px;
	}
}

.section-title2:after {
    content: '';
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, #9577B9, #DD7C7C);
    display: block;
    position: absolute;
    opacity: 0.46;
    margin: 6px 0;
    transform: translate(-20px, 0px);
}

.why-title2 {
    font-weight: 700;
    font-size: 28px;
    line-height: 129%;
    text-align: center;
    color: #262626;
    background: rgba(149, 119, 185, 0.23);
    clear: both;
    margin: 0 0 30px;
    border-radius: 5px;
    padding: 12px 0;
}

@media (max-width: 575.98px) {
	.why-title2 {
		font-size: 26px;
		line-height: 109%;
	}
}

.why-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 119%;
    color: #262626;
    padding: 0 0 20px 0;
}

.why-content-block {
    padding: 30px 20px 20px;
}

.why-content-block-inner {
    column-count: 2;
    gap: 40px;
}

@media (max-width: 991.98px) {
	.why-content-block-inner {
		column-count: 1;
	}
}

@media (max-width: 575.98px) {
	.why-content-block-inner {
		column-count: 1;
	}
}

.why-img {
    float: left;
    margin: 0 20px 20px 0;
}

@media (max-width: 460px) {
	.why-img {
		float: none;
	}
}

.why-sn {
    font-weight: 400;
    font-size: 14px;
    line-height: 136%;
    color: #816d99;
}

.faq-section {
	background: linear-gradient(90deg, rgba(149, 119, 185, 0.23) 0%, rgba(221, 124, 124, 0.23) 100%);
}

.faq-block {
    width: 1076px;
    max-width: 100%;
    margin: 0 auto;
}

.faq-item {
    margin: 0 0 17px;
}

.faq-q {
    background: #fff;
    border-radius: 10px;
    padding: 23px 23px 23px 30px;
    display: flex;
    gap: 13px;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 575.98px) {
	.faq-q {
		padding: 16px;
	}
}

.faq-q span {
    font-weight: 500;
    font-size: 19px;
    line-height: 100%;
    color: #262626;
    cursor: pointer;
}

@media (max-width: 575.98px) {
	.faq-q span {
		font-size: 16px;
	}
}

@media (max-width: 424.98px) {
	.faq-q span {
		font-size: 14px;
	}
}

.faq-a {
    background: rgba(220, 195, 228, 0.34);
    border-radius: 10px;
    padding: 32px 54px 22px;
    margin: -10px 15px 0;
    z-index: -1;
    position: relative;
}

@media (max-width: 575.98px) {
	.faq-a {
		padding: 32px 16px 22px;
	}
}

.faq-a-inner {
	font-weight: 400;
	font-size: 17px;
	line-height: 118%;
	color: #262626;
}

@media (max-width: 575.98px) {
	.faq-a-inner {
		font-size: 16px;
	}
}

@media (max-width: 424.98px) {
	.faq-a-inner {
		font-size: 14px;
	}
}

/* Дополнения к CSS */

.faq-a {
    /* Изменяем для анимации */
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -10px; /* Сохраняем ваш стиль */
    opacity: 0;
    overflow: hidden;
}

.faq-a-inner {
    min-height: 0; /* Обязательно для анимации grid */
}

/* Состояние при раскрытии */
.faq-item.active .faq-a {
    grid-template-rows: 1fr;
    padding-top: 32px;   /* Возвращаем ваши паддинги при открытии */
    padding-bottom: 22px;
    opacity: 1;
}

/* Поворот иконки */
.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: flex;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Убираем синее выделение текста при частом клике */
.faq-q {
    user-select: none;
    cursor: pointer;
}

.form-section {
	background: linear-gradient(90deg, rgba(149, 119, 185, 0.5) 0%, rgba(221, 124, 124, 0.5) 100%);
}

.form-block {
    box-shadow: 0 4px 31px 19px rgba(49, 42, 88, 0.08);
    background: #fff;
    border-radius: 10px;
    width: 1076px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.form-group {
    display: flex;
    align-items: center;
}

@media (max-width: 767.98px) {
	.form-group {
		flex-direction: column;
		padding: 16px 0;
	}
}

@media (max-width: 424.98px) {
	.form-group {
		padding-top: 0;
	}
}

.form-img {
    flex-shrink: 0;
    width: 306px;
    height: stretch;
}

@media (max-width: 767.98px) {
	.form-img {
		margin: 0 0 20px;
	}
}

@media (max-width: 424.98px) {
	.form-img {
		width: 100%;
	}
}

.form-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

@media (max-width: 424.98px) {
	.form-img img {
		border-radius: 0px;
	}
}

.form-text {
    width: calc(100% - 306px);
    padding: 16px 44px;
}

@media (max-width: 767.98px) {
	.form-text {
		width: 100%;
		padding: 0 24px;
	}
}

@media (max-width: 424.98px) {
	.form-text {
		padding: 0 13px;
	}
}

.section-title-pod {
    text-align: center;
    color: #262626;
    font-weight: 500;
    font-size: 21px;
    line-height: 133%;
}

@media (max-width: 575.98px) {
	.section-title-pod {
		font-size: 18px;
		line-height: 18px;
		text-wrap-style: balance;
	}
}

.fz15 {
    font-size: 15px !important;
}

.section-subtitle.s2.fz15 {
	max-width: 525px;
}

.single .section-subtitle.s2.fz15 {
    max-width: 100%;
    margin: 10px auto 30px;
}

/* Контейнер для строки с полями */
.inline-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Отступ между полями */
    margin-bottom: 15px;
}

/* Растягиваем текстовые поля, чтобы они занимали место */
.inline-form-row .wpcf7-form-control-wrap {
    flex: 1;
    min-width: 150px; /* Чтобы на мобилках не были слишком узкими */
}

/* Стили для кнопки */
.inline-form-row input[type="submit"] {
    height: fit-content;
    padding: 10px 25px;
}

/* Стили для чекбокса */
.checkbox-row {
    font-size: 14px;
    line-height: 1.2;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 600px) {
    .inline-form-row {
        flex-direction: column;
    }
}

.wpcf7-text {
    background: rgba(149, 119, 185, 0.09);
    border: 1px solid #cbc1d8;
    border-radius: 5px;
    width: 100%;
    height: 50px;
    padding: 12px;
}

.wpcf7-submit {
    width: 190px;
    height: 50px !important;
    background: linear-gradient(180deg, #9577b9 0%, #7d61a1 100%);
    border-radius: 5px;
    font-weight: 700;
    font-size: 17px;
    line-height: 147%;
    text-transform: uppercase;
    color: #fff;
    font-family: inherit;
    border: none;
    text-align: left;
    cursor: pointer;
}

@media (max-width: 767.98px) {
	.wpcf7-submit {
		width: 100%;
		text-align: center;
	}
}

.btn-submit {
    position: relative;
    height: 50px !important;
}

@media (max-width: 767.98px) {
	.btn-submit {
		width: 100%;
	}
}

.wpcf7-spinner {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translate(0, -50%);
    margin: 0;
    background: 0;
}

.btn-form-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(0px, -50%);
}

/* Для современных браузеров (Chrome, Firefox, Edge) */
.wpcf7-form-control::placeholder {
	font-weight: 400;
    font-size: 15px;
    line-height: 127%;
    color: rgba(129, 109, 153, 0.6);
    opacity: 1; /* Важно для Firefox, чтобы цвет не был бледнее */
}

/* Для Safari и iOS */
.wpcf7-form-control::-webkit-input-placeholder {
    font-weight: 400;
    font-size: 15px;
    line-height: 127%;
    color: rgba(129, 109, 153, 0.6);
}

/* Для Internet Explorer 10-11 */
.wpcf7-form-control:-ms-input-placeholder {
    font-weight: 400;
    font-size: 15px;
    line-height: 127%;
    color: rgba(129, 109, 153, 0.6);
}

.wpcf7-list-item-label {
    font-weight: 400;
    font-size: 12px;
    line-height: 118%;
    color: rgba(129, 109, 153, 0.6);
    max-width: 455px;
    display: inline-block;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wpcf7-list-item a {
    color: rgb(129 109 153 / 81%);
}

.wpcf7-acceptance input:before {
    content: "";
    margin-right: 10px;
    display: inline-block;
    width: 21px;
    height: 21px;
    background: #d5b7ca;
    border: 0;
    border-radius: 4px;
    margin-top: auto;
    transition: all .2s ease 0s;
    box-sizing: border-box;
}

.wpcf7-acceptance input:checked:before {
    background: #8266a3;
    border-color: #8266a3;
}

.wpcf7-acceptance input {
    position: relative;
    border: 2px solid #5a2b00;
    width: 21px;
    height: 21px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
}

/* Убираем стандартный вид чекбокса */
.checkbox-row input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 21px;
    height: 21px;
    border: none;
    background-color: rgba(129, 109, 153, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}

/* Как выглядит чекбокс, когда нажали (галочка) */
.checkbox-row input[type="checkbox"]:checked {
    background-color: rgba(129, 109, 153, 1);
}

/* Добавляем символ галочки при нажатии */
.checkbox-row input[type="checkbox"]:checked::after {
    content: '✔';
    position: absolute;
    color: white;
    font-size: 14px;
    left: 5px;
    top: 0px;
}

.wpcf7-list-item {
    margin: 0;
}

.wpcf7-not-valid-tip {
    font-size: 14px;
    margin: 4px 0 0;
    color: #931717;
}

.site-footer {
	position: relative;
}

.site-footer:before {
    content: '';
    display: block;
    background: linear-gradient(165deg, #dd7c7c 0%, #737fe6 100%), #9b7ebf;
    height: 3px;
    width: 100%;
    top: -3px;
    position: absolute;
}

footer .logo-text {
    margin: 0 0 9px;
}

footer .logo-pod-text2 {
    font-weight: 500;
    font-size: 13px;
    line-height: 108%;
    color: #948bae;
    max-width: 206px;
}

.copy {
    font-weight: 400;
    font-size: 12px;
    line-height: 167%;
    color: #aea8c2;
    margin: 12px 0 0 82px;
}

@media (max-width: 575.98px) {
	.copy {
		margin: 12px auto;
		text-align: center;
	}
}

.social-block {
    margin: 12px 0 0 82px;
    display: flex;
    gap: 10px;
    align-items: center;
}

@media (max-width: 767.98px) {
	.social-block {
		margin: 12px auto;
		justify-content: center;
	}
}

.fcol a {
    color: inherit;
    text-decoration: underline;
}

.pod-footer-group {
    padding: 25px 0;
    box-shadow: 0 6px 8px 0px #725b8d;
    z-index: 1;
    position: relative;
}

.pod-footer-group-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 575.98px) {
	.pod-footer-group-inner {
		flex-direction: column;
		align-items: center;
	}
}

.pod-footer-group2 {
    background: #876aab;
}

.f-line {
    width: 1px;
    background: rgba(149, 119, 185, 0.19);
}

@media (max-width: 991.98px) {
	.f-line {
		display: none;
	}
}

.pod-footer3 {
    display: flex;
    gap: 40px;
    align-items: center;
}

@media (max-width: 1199.98px) {
	.pod-footer3 {
		gap: 20px;
	}
}

.tel-block {
    margin: 0 0 10px;
}

@media (max-width: 991.98px) {
	.main-header .tel-block {
		margin-bottom: 0;
	}
}

.tel-block a {
    font-weight: 700;
    font-size: 25px;
    line-height: 108%;
    color: #262626;
}

@media (max-width: 1199.98px) {
	.tel-block a {
		font-size: 23px;
	}
}

.pod-footer3 .tel-inf {
    text-align: left;
    margin: 0 0 10px;
}

.ip-info {
    font-weight: 400;
    font-size: 12px;
    line-height: 125%;
    color: #a192b3;
    margin: 10px 0 0;
}

@media (max-width: 575.98px) {
	.ip-info {
		text-align: center;
	}
}

.pod-footer-group2 {
    background: #876aab;
    padding: 20px 0 14px;
}

.pod-footer-group2-inner {
    display: flex;
    gap: 30px;
}

@media (max-width: 575.98px) {
	.pod-footer-group2-inner {
		flex-direction: column;
		gap: 10px;
	}
}

.fcol {
    font-weight: 300;
    font-size: 10px;
    line-height: 120%;
    color: #c9bcef;
}

@media (max-width: 575.98px) {
	.fcol {
		font-size: 8px;
	}
}

.pod-footer3 .col-1 {
    display: flex;
    gap: 6px;
}

.pod-footer2 {
    column-count: 2;
    gap: 40px;
    list-style: none;
    align-content: center;
}

@media (max-width: 1399.98px) {
	.pod-footer2 {
		column-count: 1;
	}
}

@media (max-width: 991.98px) {
	.pod-footer2 {
		display: none;
	}
	.pod-footer3 .col-1 {
		display: none;
	}
}

.pod-footer2 li {
    padding: 4px 0;
}

#menu-primary {
    list-style: none;
    display: flex;
    margin: 0 -15px;
}

#menu-primary > li {
    position: relative;
}

#menu-primary > li > a {
    font-weight: 500;
    font-size: 16px;
    line-height: 113%;
    text-align: center;
    color: #fff;
    padding: 20px 15px;
    display: block;
}

@media (max-width: 1199.98px) {
	#menu-primary>li>a {
		padding: 20px 10px;
	}
}

#menu-primary > li.current-menu-parent, #menu-primary > li.current-menu-item > a {
    background: #79658f7a;
}

.breadcrumb-block {
    background: rgba(155, 126, 191, 0.15);
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 0;
}

.breadcrumb-home a, .breadcrumb-item {
    font-weight: 500;
    font-size: 13px;
    line-height: 108%;
    color: #948bae;
    display: block;
}

.breadcrumb-parent a {
    font-weight: 500;
    font-size: 13px;
    line-height: 108%;
    color: #948bae;
    display: block;
    text-wrap-mode: nowrap;
}

.breadcrumb-sep {
    flex-shrink: 0;
}

.articles {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0 30px;
}

.article-item {
    width: calc((100% - 60px) / 3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 31px 19px rgba(87, 82, 119, 0.08);
    background: #fff;
    transform: translateZ(0px);
}

@media (max-width: 991.98px) {
	.article-item {
		width: calc((100% - 30px) / 2);
	}
}

@media (max-width: 767.98px) {
	.article-item {
		width: 100%;
	}
}

.article-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-thumb {
    position: relative;
}

.post-date {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #fff;
    font-weight: 500;
    font-size: 13px;
    line-height: 108%;
    color: #948bae;
    padding: 7px 9px;
    border-radius: 5px;
}

.article-item h2 a {
    padding: 12px 18px 18px;
    font-weight: 700;
    font-size: 20px;
    line-height: 110%;
    color: #262626;
    display: block;
}

.article-excerpt p {
    font-weight: 400;
    font-size: 14px;
    line-height: 136%;
    color: #262626;
    padding: 0 18px 18px;
    word-break: break-word;
}

.section-video {
    background: rgba(149, 119, 185, 0.17);
}

.section-reviews {
    background: linear-gradient(90deg, rgba(149, 119, 185, 0.23) 0%, rgba(221, 124, 124, 0.23) 100%);
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0 0;
}

.video-item {
    width: calc((100% - 60px) / 3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 31px 19px rgba(87, 82, 119, 0.08);
    background: #fff;
    transform: translateZ(0px);
}

@media (max-width: 991.98px) {
	.video-item {
		width: calc((100% - 30px) / 2);
	}
}

@media (max-width: 767.98px) {
	.video-item {
		width: 100%;
	}
}

.video-preview {
    position: relative;
    display: block;
    line-height: 0;
    overflow: hidden;
}

.video-preview img {
    position: relative;
    width: 100%;
    height: 233px;
    object-fit: cover;
}

.video-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(69, 52, 89, 0.49); /* Ваш фон */
    pointer-events: none; /* Чтобы по картинке всё еще можно было кликнуть */
	background-image: url("data:image/svg+xml,%3Csvg width='86' height='86' viewBox='0 0 86 86' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='43' cy='43' r='34' fill='white' /%3E%3Cpath d='M42.9998 8.62016C33.8816 8.62016 25.138 12.2426 18.6897 18.6897C12.2425 25.1369 8.62012 33.881 8.62012 42.9998C8.62012 52.1173 12.2425 60.8616 18.6897 67.3083C25.1368 73.7561 33.8809 77.3778 42.9998 77.3778C52.1173 77.3778 60.8616 73.7561 67.3082 67.3083C73.756 60.8611 77.3778 52.117 77.3778 42.9998C77.3673 33.8848 73.7416 25.1464 67.297 18.7015C60.8519 12.2564 52.1134 8.63058 42.9986 8.62L42.9998 8.62016ZM57.7639 49.875L41.5687 59.2234V59.2241C39.9527 60.1565 38.0603 60.4904 36.2226 60.1656C34.3853 59.8415 32.7208 58.8796 31.5228 57.4499C30.3241 56.0202 29.6673 54.2138 29.6686 52.3479V33.6496C29.6673 31.7836 30.3241 29.9773 31.5228 28.5475C32.7209 27.1178 34.3855 26.156 36.2226 25.8318C38.0603 25.507 39.9527 25.841 41.5687 26.774L57.7639 36.1245C59.3826 37.0562 60.62 38.5291 61.2597 40.2838C61.8994 42.0382 61.8994 43.9626 61.2597 45.7172C60.6199 47.4716 59.3825 48.9447 57.7639 49.8764V49.875Z' fill='url(%23paint0_linear_706_1024)' /%3E%3Cpath d='M55.1187 40.7089L38.9241 31.3636C38.5278 31.1268 38.0758 31.0008 37.6152 30.9982C37.146 31.0014 36.6854 31.1261 36.2793 31.3603C35.8738 31.5887 35.5379 31.922 35.3049 32.3248C35.072 32.7277 34.9519 33.1857 34.9572 33.6509V52.3525V52.3519C34.9579 53.2967 35.4624 54.1686 36.2806 54.6404C37.0988 55.1123 38.1059 55.1115 38.9241 54.6398L55.1193 45.2913H55.1187C55.9368 44.8189 56.4408 43.9463 56.4408 43.0014C56.4408 42.0565 55.9368 41.1833 55.1187 40.7108L55.1187 40.7089Z' fill='url(%23paint1_linear_706_1024)' /%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_706_1024' x1='57.8152' y1='26.7394' x2='23.8488' y2='80.9411' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%239577B9' /%3E%3Cstop offset='1' stop-color='%23DD7C7C' /%3E%3C/linearGradient%3E%3ClinearGradient id='paint1_linear_706_1024' x1='50.3283' y1='37.3217' x2='37.9522' y2='55.0034' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%239577B9' /%3E%3Cstop offset='1' stop-color='%23DD7C7C' /%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");    background-repeat: no-repeat;
    background-position: center;
    
    transition: all 0.3s ease;
    opacity: 0.9;
}

.video-preview:hover::after {
    background-color: rgba(69, 52, 89, 0.3); /* Немного светлеет фон */
    opacity: 1;
}

.video-item h2 a {
    padding: 12px 18px 18px;
    font-weight: 700;
    font-size: 20px;
    line-height: 110%;
    color: #262626;
    display: block;
}

.library-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

@media (max-width: 767.98px) {
	.library-grid {
		gap: 20px;
	}
}

.book-item {
    width: calc((100% - 30px) / 2);
    box-shadow: 0 4px 31px 19px rgba(87,82,119,.08);
    background: #fff;
    border-radius: 10px;
    padding: 25px 25px 15px;
    transform: translateZ(0px);
    flex-direction: column;
    display: flex;
}

@media (max-width: 1199.98px) {
	.book-item {
		width: calc((100% - 20px) / 2);
	}
}

@media (max-width: 575.98px) {
	.book-item {
		width: 100%;
	}
}

.book-group {
    display: flex;
    gap: 30px;
    flex-grow: 1;
}

@media (max-width: 1199.98px) {
	.book-group {
		flex-direction: column;
		gap: 20px;
	}
}

.book-cover {
    flex-shrink: 0;
}

.book-group-2 h2 {
    font-weight: 700;
    font-size: 20px;
    line-height: 110%;
    color: #262626;
    margin: 0 0 30px;
}

@media (max-width: 1199.98px) {
	.book-group-2 h2 {
		margin: 0 0 20px;
	}
}

.book-group-2 a {
    color: inherit;
    transition: all 0.2s ease 0s;
}

.book-group-2 a:hover {
    color: #7f62a0;
}

a.btn-read {
    font-weight: 400;
    font-size: 14px;
    line-height: 136%;
    text-align: right;
    color: #9274b7;
    display: block;
    padding: 15px 0 0;
}

.btn-read-block {
    margin: 15px 0 0;
    border-top: 1px solid rgba(149, 119, 185, 0.42);
}

.section-bib .section-title {
    margin: 0 0 34px;
}

.category-tabs {
    background: rgba(149, 119, 185, 0.23);
    border-radius: 5px;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
    margin-bottom: 30px;
    overflow-x: auto; /* На случай, если категорий много */
}

.cat-tab {
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    padding: 5px 10px;
    transition: 0.3s;
    font-weight: 500;
    font-size: 14px;
    line-height: 136%;
    color: #262626;
    font-family: inherit;
}

.cat-tab.active, .cat-tab:hover {
    color: #9e85bd;
}

/* Анимация скрытия */
.book-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.book-item.is-hidden {
    display: none;
    opacity: 0;
}

.review-avatar img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card {
    position: relative;
    box-shadow: 0 4px 31px 19px rgba(87, 82, 119, 0.08);
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    width: calc((100% - 30px) / 2);
    transform: translateZ(0);
    overflow: hidden;
}

@media (max-width: 991.98px) {
	.section-reviews .review-card {
		width: calc((100% - 15px) / 2);
	}
}

@media (max-width: 575.98px) {
	.section-reviews .review-card {
		width: 100%;
		padding: 16px;
	}
}

@media (max-width: 575.98px) {
	.page-template-default .page-reviews .section-title {
		margin: 0 0 20px;
	}
}

@media (max-width: 575.98px) {
	.section-reviews.section-padding {
		padding: 20px 0;
	}
}

/*.reviews-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}*/

.section-reviews .section-title {
    margin: 0 0 30px;
}

.review-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 575.98px) {
	.review-header {
		align-items: flex-start;
	}
}

.review-date {
    text-align: right;
    right: 0;
    position: absolute;
    font-weight: 500;
    font-size: 13px;
    line-height: 108%;
    color: #948bae;
}

.review-author {
    font-weight: 700;
    font-size: 20px;
    line-height: 110%;
    color: #262626;
    max-width: calc(100% - 70px);
}

@media (max-width: 575.98px) {
	.review-author {
		font-size: 16px;
	}
}

.review-content > .par > p {
	font-weight: 400;
    font-size: 14px;
    line-height: 136%;
    color: #262626;
    margin: 20px 0 0;
}

@media (max-width: 575.98px) {
	.review-content > .par > p {
		margin: 12px 0 0;
	}
}

.review-content > .par {
    display: -webkit-box;
    -webkit-line-clamp: 5; /* количество строк */
    -webkit-box-orient: vertical;  
    overflow: hidden;
    transition: all 0.3s ease;
}

.review-content.is-open > .par {
    -webkit-line-clamp: unset;
    display: block;
}

.review-more-icon svg {
    transition: transform 0.3s ease;
}

.review-content.is-open .review-more-icon svg {
    transform: rotate(180deg);
}

.review-content a {
    font-weight: 400;
    font-size: 12px;
    line-height: 158%;
    color: #9274b7;
    transition: all .2s ease 0s;
    overflow-wrap: break-word;
    /* max-width: 50%; */
    /* overflow: hidden; */
    overflow-wrap: anywhere;
}

.review-content a:hover {
    color: #7040a7;
}

.btn-see {
    position: absolute;
    left: 50%;
    bottom: -25px;
    transform: translate(-50%, 0);
    z-index: 1;
    padding: 10px 0;
}

.page-template-page-polezno .btn-see {
    position: relative;
    margin: 36px auto 0;
    left: auto;
    bottom: auto;
    transform: none;
}

.article-item-single h2 {
    font-weight: 700;
    font-size: 38px;
    line-height: 95%;
    color: #262626;
    margin: 0 0 30px;
}

@media (max-width: 1399.98px) {
	.article-item-single h2 {
		font-size: 35px;
	}
}

@media (max-width: 1199.98px) {
	.article-item-single h2 {
		font-size: 32px;
	}
}

@media (max-width: 991.98px) {
	.article-item-single h2 {
		font-size: 29px;
	}
}

@media (max-width: 767.98px) {
	.article-item-single h2 {
		font-size: 25px;
	}
}

@media (max-width: 575.98px) {
	.article-item-single h2 {
		font-size: 22px;
	}
}

.sidebar-post {
    width: 415px;
    flex-shrink: 0;
    background: rgba(230, 223, 239, 0.53);
    border-radius: 5px;
    padding: 30px;
}

@media (max-width: 1199.98px) {
	.sidebar-post {
		width: 345px;
	}
}

@media (max-width: 991.98px) {
	.sidebar-post {
		width: 100%;
	}
}

.content-group {
    display: flex;
    gap: 30px;
}

@media (max-width: 991.98px) {
	.content-group {
		flex-direction: column;
	}
}

.article-content p {
    font-weight: 400;
    font-size: 16px;
    line-height: 119%;
    color: #262626;
    margin: 16px 0;
}

.sidebar-title {
    font-weight: 700;
    font-size: 25px;
    line-height: 196%;
    text-transform: uppercase;
    text-align: center;
    color: #262626;
    margin: 0 0 16px 0;
}

/* Meta */

.page .edit,
.single .edit,
.archive .edit,
.blog .edit {
    position: fixed;
    bottom: 0;
    right: 0;
    background: #fff;
    border-radius: 15px 0 0;
    box-shadow: 0 0 10px 0 #d1d1d1;
    opacity: 0.8;
    transition: all .2s ease;
    z-index: 2;
}

.page .edit:hover,
.single .edit:hover,
.archive .edit:hover,
.blog .edit:hover {
    opacity: 1;
}

.page .edit a,
.single .edit a,
.archive .edit a,
.blog .edit a {
    display: block;
    padding: 20px;
    color: #b4ad9e;
    transition: all .2s ease;
}

.edit a:hover {
    color: #009688;
}

.edit a svg {
    display: block;
}

.wp-block-list li {
    position: relative;
    font-weight: 400;
    font-size: 16px;
    line-height: 119%;
    color: #262626;
    padding: 10px 0;
    list-style: none;
    margin: 0 0 0 38px;
}

.wp-block-list li:before {
    content: '';
    width: 9px;
    height: 9px;
    background: #dd7c7c;
    border-radius: 50%;
    position: absolute;
    top: 14px;
    left: -25px;
}

.wp-block-image .alignleft {
    margin: 0 30px 24px 0;
}

.sidebar-post-item {
    box-shadow: 0 4px 31px 19px rgba(87, 82, 119, 0.08);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 0 24px;
}

.sidebar-post-content {
    padding: 16px;
}

.sidebar-post-thumb {
    position: relative;
}

@media (max-width: 991.98px) {
	.sidebar-post-thumb img {
		width: 100%;
	}
}

.sidebar-post-date {
    font-style: italic;
    font-weight: 500;
    font-size: 13px;
    line-height: 108%;
    color: #948bae;
    background: #fff;
    position: absolute;
    right: 10px;
    bottom: 10px;
    border-radius: 5px;
    padding: 5px 11px;
}

.sidebar-post-title a {
    font-weight: 700;
    font-size: 17px;
    line-height: 129%;
    color: #262626;
    margin: 0 0 8px;
    display: block;
}

.sidebar-post-desc p {
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #262626;
}

.section-reviews .btn-see, .single .section-video .btn-see {
    position: relative;
    bottom: auto;
    left: auto;
    transform: translate(0px, 0px);
    padding: 10px 0;
    margin: 40px auto 0;
}

.s1-k {
    box-shadow: 0 4px 31px 19px rgba(123, 109, 141, 0.12);
}

@media (max-width: 767.98px) {
	.s1-k {
		box-shadow: none;
	}
}

.s1-k-inner {
    display: flex;
    gap: 30px;
}

@media (max-width: 991.98px) {
	.s1-k-inner {
		flex-direction: column;
		gap: 0;
	}
}

.s2-k {
    padding: 30px 0;
}

.s1-desc-top {
    font-weight: 500;
    font-size: 16px;
    line-height: 124%;
    color: #948bae;
    margin: 20px 0;
    text-wrap-style: balance;
}

.s1-title {
    font-weight: 700;
    font-size: 45px;
    line-height: 104%;
    color: #262626;
    margin: 20px 0;
}

@media (max-width: 1199.98px) {
	.s1-title {
		font-size: 43px;
	}
}

@media (max-width: 991.98px) {
	.s1-title {
		font-size: 40px;
	}
}

@media (max-width: 767.98px) {
	.s1-title {
		font-size: 37px;
	}
}

@media (max-width: 575.98px) {
	.s1-title {
		font-size: 34px;
	}
}

@media (max-width: 424.98px) {
	.s1-title {
		font-size: 31px;
	}
}

@media (max-width: 360px) {
	.s1-title {
		font-size: 27px;
	}
}

.s1-desc {
    font-weight: 500;
    font-size: 21px;
    line-height: 124%;
    color: #262626;
    text-wrap-style: balance;
    margin: 20px 0 30px;
}

@media (max-width: 575.98px) {
	.s1-desc {
		font-size: 18px;
		line-height: 110%;
		margin: 20px 0 20px;
	}
}

.s1-k-2 {
    position: relative;
    flex-shrink: 0;
}

@media (max-width: 1399.98px) {
	.s1-k-2 {
		flex-shrink: 0;
		max-width: 570px;
	}
}

@media (max-width: 1199.98px) {
	.s1-k-2 {
		flex-shrink: 0;
		max-width: 470px;
	}
}

@media (max-width: 991.98px) {
	.s1-k-2 {
		max-width: 100%;
	}
}

@media (max-width: 1199.98px) and (min-width: 991.98px) {
	.single-program .s1-k-2 {
		flex-shrink: 0;
		max-width: 430px;
	}
}

.s1-desc-pod {
    font-weight: 300;
    font-size: 10px;
    line-height: 120%;
    color: #948bae;
    margin: 15px 0;
    text-wrap-style: balance;
}

.btn-consul {
    width: auto;
    max-width: 100%;
    padding: 10px 20px;
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
	.single-program .btn-consul {
		width: 100%;
		height: 50px;
	}
}

@media (max-width: 424.98px) {
	.single-program .btn-consul {
		height: auto;
		padding: 10px 25px;
	}
}

.zapis-block {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 1199.98px) {
	.zapis-block {
		justify-content: center;
	}
}

.zapis-item {
    background: #ede8f3;
    border-radius: 5px;
    width: calc((100% - 30px) / 3);
    display: flex;
    overflow: hidden;
}

@media (max-width: 1199.98px) {
	.zapis-item {
		width: calc((100% - 15px) / 2);
	}
}

@media (max-width: 767.98px) {
	.zapis-item {
		width: 100%;
	}
}

@media (max-width: 440px) {
	.zapis-item {
		flex-wrap: wrap;
		justify-content: space-between;
	}
}

.s2-img-block {
    flex-shrink: 0;
}

@media (max-width: 1399.98px) {
	.s2-img-block {
		width: 120px;
	}
}

@media (max-width: 1199.98px) {
	.s2-img-block {
		width: auto;
	}
}

@media (max-width: 991.98px) {
	.s2-img-block {
		width: 100px;
	}
}

@media (max-width: 767.98px) {
	.s2-img-block {
		width: auto;
	}
}

@media (max-width: 440px) {
	.s2-img-block {
		flex: 100px;
		padding: 15px 0 15px 15px;
	}
}

.s2-img-block img {
    object-fit: cover;
    height: 100%;
}

@media (max-width: 440px) {
	.s2-img-block img {
		max-width: 100px;
		max-height: 150px;
		border-radius: 4px;
	}
}

.s2-group {
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

@media (max-width: 440px) {
	.s2-group {
		flex: calc(100% - 130px);
		padding: 15px;
	}
}

.s2-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 106%;
    color: #262626;
    margin: 0 0 20px;
}

@media (max-width: 1399.98px) {
	.s2-title {
		font-size: 16px;
	}
}

.s2-desc {
    font-weight: 400;
    font-size: 15px;
    line-height: 133%;
    color: #262626;
    margin: 0px 0 20px;
    flex-grow: 1;
    align-content: center;
}

.s2-btn-link {
    background: linear-gradient(180deg, #d97a7a 0%, #b66868 100%), rgba(255, 255, 255, 0);
    border-radius: 5px;
    padding: 9px 16px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-transform: uppercase;
}

@media (max-width: 440px) {
	.s2-btn-link {
		margin: 0 15px 15px;
	}
}

.df {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(149, 119, 185, 0.22);
    margin: 14px 0;
}

.s3-k-filter {
    background: #ece7f2;
    border-radius: 10px;
    padding: 15px;
    width: 280px;
    height: 100%;
}

@media (max-width: 1199.98px) {
	.s3-k-filter {
		width: 100%;
	}
}

@media (max-width: 1199.98px) {
	.s3-k-filter-inner {
		display: flex;
		gap: 10px;
		flex-wrap: wrap;
		justify-content: center;
	}
}

@media (max-width: 575.98px) {
	.s3-k-filter-inner {
		gap: 5px;
		justify-content: flex-start;
		flex-direction: column;
	}
}

.filter-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 113%;
    text-transform: uppercase;
    text-align: center;
    color: #262626;
    margin: 0px 0 10px;
}

.filter-desc {
    font-weight: 400;
    font-size: 14px;
    line-height: 107%;
    text-align: center;
    color: #5d5d5d;
    margin: 0 0 20px;
}

.filter-consul-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 1199.98px) {
	.filter-consul-group {
		flex-direction: column;
	}
}

.consul-group {
    width: calc(100% - 280px - 20px);
}

@media (max-width: 1199.98px) {
	.consul-group {
		width: 100%;
	}
}

.custom-checkbox {
    border: 1px solid rgba(149, 119, 185, 0.5);
    border-radius: 5px;
    padding: 7px 7px 7px 12px;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

@media (max-width: 1199.98px) {
	.custom-checkbox {
		margin-bottom: 0;
		gap: 10px;
	}
}

.checkbox-box {
    font-weight: 500;
    font-size: 13px;
    line-height: 146%;
    text-transform: uppercase;
    color: #262626;
}

input.spec-checker {
    border-radius: 5px;
    width: 28px;
    height: 28px;
}

/* Скрываем стандартный инпут */
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Наш кастомный квадрат */
.checkbox-box {
    height: 28px;
    width: 28px;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 0 0 1px #eee;
}

@media (max-width: 1199.98px) {
	.checkbox-box {
		height: 18px;
		width: 18px;
	}
}

/* Состояние при наведении */
.custom-checkbox:hover input ~ .checkbox-box {
    background-color: #f9f9f9;
}

/* Рисуем галку (скрыта по умолчанию) */
.checkbox-box:after {
    content: "";
    position: absolute;
    display: none;
    left: 9px;
    top: 3px;
    width: 8px;
    height: 14px;
    border: solid #dd7c7c;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

@media (max-width: 1199.98px) {
	.checkbox-box:after {
		left: 5px;
		top: 1px;
		width: 5px;
		height: 10px;
		border-width: 0 3px 3px 0;
	}
}

/* Показываем галку при выборе */
.custom-checkbox input:checked ~ .checkbox-box:after {
    display: block;
}

/* Можно подсветить текст при выборе */
.custom-checkbox input:checked ~ .checkbox-text {
    color: #dd7c7c;
    font-weight: 500;
}

.checkbox-text {
    font-weight: 500;
    font-size: 13px;
    line-height: 146%;
    text-transform: uppercase;
    color: #262626;
}

@media (max-width: 1199.98px) {
	.checkbox-text {
		font-size: 11px;
	}
}

#reset-filters {
    font-weight: 500;
    font-size: 11px;
    line-height: 173%;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-decoration-color: #dddddd00;
    text-align: center;
    color: #262626;
    margin: 20px 0 10px;
}

.spec-item {
    border: 1px solid rgba(210, 198, 226, 0.45);
    border-radius: 10px;
    margin: 0 0 30px;
    box-shadow: 0 0 16px 14px rgba(217, 204, 233, 0.24);
    background: #fff;
}

@media (max-width: 1199.98px) {
	.spec-item {
		width: 100%;
	}
}

.spec-title-k {
    font-weight: 700;
    font-size: 28px;
    line-height: 116%;
    color: #262626;
    margin: 40px 0 20px;
}

@media (max-width: 991.98px) {
	.spec-title-k {
		font-size: 26px;
		line-height: 100%;
		text-align: center;
	}
}

@media (max-width: 991.98px) {
	.spec-title-k {
		font-size: 24px;
	}
}

.spec-group-k {
    overflow-y: auto;
    scrollbar-color: #9577b9 transparent;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
}

/* Стили для Chrome, Safari и мобильных браузеров */
.spec-group-k::-webkit-scrollbar {
    width: 6px; /* Ширина скролла */
}

.spec-group-k::-webkit-scrollbar-track {
    background: transparent;
}

.spec-group-k::-webkit-scrollbar-thumb {
    background-color: #9577b9;
    border-radius: 10px; /* Скругляем, чтобы выглядело аккуратно */
}

@media (max-width: 1199.98px) {
	.spec-group-k {
		overflow-y: auto;
		scrollbar-color: #9577b9 transparent;
		scrollbar-width: thin;
		max-height: 350px;
		will-change: max-height;
	}
}

@media (max-width: 991px) {
    .spec-group-k {
        position: relative;
        max-height: 150px;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    /* Создаем градиент */
    .spec-group-k::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px; /* Высота размытия */
        background: linear-gradient(to top, rgb(255, 255, 255) 20%, rgba(255, 255, 255, 0));
        pointer-events: none; /* Чтобы градиент не мешал кликать по ссылкам под ним */
        transition: opacity 0.3s ease;
        opacity: 1;
        z-index: 2;
    }
    /* Скрываем градиент, когда блок развернут */
    .spec-group-k.is-expanded::after {
        opacity: 0;
        visibility: hidden;
    }
    .spec-group-k.is-expanded {
        max-height: 2500px; /* С запасом */
    }
    .spec-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px; /* Отступ между текстом и иконкой */
        cursor: pointer;
        padding: 15px 10px;
    }
    .spec-toggle-btn span {
    	color: #9274b7;
    	font-weight: 400;
    	font-size: 18px;
    	line-height: 106%;
    	text-transform: uppercase;
    }

    .spec-toggle-btn svg {
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

    /* Поворачиваем иконку, когда блок раскрыт */
    .spec-toggle-btn.active svg {
        transform: rotate(180deg);
    }
}

/* Скрываем кнопку на больших экранах */
@media (min-width: 992px) {
    .spec-toggle-btn {
        display: none;
    }
}

/* Для Chrome, Edge и Safari */
.spec-group-k::-webkit-scrollbar {
    width: 8px; /* Ширина скроллбара */
}

.spec-group-k::-webkit-scrollbar-thumb {
    background-color: #9577b9; /* Цвет ползунка */
    border-radius: 10px;       /* Округление */
}

.spec-group-k::-webkit-scrollbar-track {
    background: transparent;    /* Цвет дорожки */
}

.spec-group-k-g {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid rgba(149,119,185,.42);
    padding: 0 20px 0 0;
    max-height: 360px;
    overflow: hidden;
    position: relative;
    transition: max-height 1.2s cubic-bezier(.4,0,.2,1);
    will-change: max-height;
    margin-bottom: 15px;
    transform: translateZ(0px);
}

@media (max-width: 991.98px) {
	.spec-group-k-g {
		flex-direction: column;
		max-height: none;
		padding: 0 20px;
		gap: 0;
	}
}

.spec-group-k-g.is-open {
    max-height: max-content; /*500px*/
}

.spec-thumb {
    flex-shrink: 0;
    align-items: flex-end;
    display: flex;
    max-width: 307px;
}

@media (max-width: 991.98px) {
	.spec-thumb {
		border-bottom: 1px solid rgba(210, 198, 226, .45);
		margin: 0 -20px;
		padding: 0 20px;
		justify-content: center;
	}
}

h2.wp-block-heading {
    font-weight: 500;
    font-size: 20px;
    line-height: 108%;
    color: #816d99;
    margin: 12px 0 12px;
}

.spec-content-k {
    margin: 30px 0 0;
}

.spec-content-k p {
    font-weight: 400;
    font-size: 15px;
    line-height: 114%;
    color: #262626;
    margin: 16px 0;
}

.spec-content-k .wp-block-list li {
    position: relative;
    padding: 10px 0;
    list-style: none;
    margin: 0 0 0 38px;
    font-weight: 400;
    font-size: 15px;
    line-height: 122%;
    color: #262626;
}

.spec-nap {
    background: #f7f4fd;
    border-radius: 5px;
    max-width: 360px;
    text-align: center;
    text-wrap-style: balance;
    padding: 6px;
    align-items: center;
    display: flex;
}

@media (max-width: 767.98px) {
	.spec-nap {
		max-width: 100%;
	}
}

.spec-nap span {
	font-weight: 400;
	font-size: 13px;
	line-height: 131%;
	text-align: center;
	color: #9183b9;
}

.spec-group-k-g2-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin: 0 8px;
}

@media (max-width: 1399.98px) {
    .spec-group-k-g2-inner {
        justify-content: center;
        margin: 0;
    }
}

@media (max-width: 767.98px) {
	.spec-group-k-g2-inner {
		gap: 10px;
	}
}

@media (max-width: 767.98px) {
	.spec-group-k-g2-inner .btn--purple, .spec-group-k-g2-inner .btn--red {
		width: 100%;
	}
}

.spec-group-k-g2 {
    padding: 20px;
}

.spec-prof-k {
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #5d5d5d;
}

@media (max-width: 991.98px) {
	.spec-prof-k {
		text-align: center;
	}
}

.spec-btn-see {
    text-align: right;
    margin: 0 0 20px;
}

.spec-btn-see span {
    font-weight: 400;
    font-size: 18px;
    line-height: 106%;
    text-transform: uppercase;
    text-align: center;
    color: #9274b7;
    cursor: pointer;
}

.address-name {
    font-size: 15px;
    line-height: 20px;
    color: #262626;
}

@media (max-width: 1199.98px) {
	.address-name {
		font-size: 14px;
	}
}

.address-group,
.telephone-group,
.mail-group,
.time-group {
	position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 767.98px) {
	.address-group, .telephone-group, .mail-group, .time-group {
		flex-direction: column-reverse;
	}
}

.address-nameC,
.telephone-name,
.mail-name,
.time-name {
    font-weight: 700;
    font-size: 18px;
    line-height: 106%;
    text-align: right;
    color: #262626;
    margin-bottom: 8px;
}

@media (max-width: 767.98px) {
	.address-nameC, .telephone-name, .mail-name, .time-name {
		text-align: center;
	}
}

.address-item,
.telephone-link a,
.mail-link a,
.time-rasp {
    font-weight: 400;
    font-size: 16px;
    line-height: 119%;
    text-align: right;
    color: #262626;
}

@media (max-width: 767.98px) {
	.address-item, .telephone-link a, .mail-link a, .time-rasp {
		text-align: center;
	}
}

.kon-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 45%;
    padding: 60px 40px 60px 15px;
}

@media (max-width: 767.98px) {
	.kon-info {
		width: 100%;
		align-items: center;
		padding: 30px 15px 30px 15px;
	}
}

.kon-info .icon {
    position: absolute;
    right: 0;
    top: 0;
}

@media (max-width: 767.98px) {
	.kon-info .icon {
		position: relative;
		top: auto;
		right: auto;
	}
}

.kon-info .icon:before {
    content: '';
    background: rgba(221, 203, 244, 0.4);
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: -11px;
    z-index: -1;
}

.kon-info-group {
    display: flex;
}

@media (max-width: 767.98px) {
	.kon-info-group {
		flex-direction: column;
	}
}

.map-wrapper {
    width: 55%;
    height: inherit;
}

@media (max-width: 767.98px) {
	.map-wrapper {
		width: 100%;
		height: 500px;
	}
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    /*filter: grayscale(0); /* от 0 до 1 */
    /*filter: hue-rotate(90deg);*/
}

.kontakty-section {
    box-shadow: 0 4px 31px 19px rgba(123, 109, 141, 0.12);
}

@media (max-width: 767.98px) {
	.kontakty-section {
		padding: 40px 0;
	}
}

@media (max-width: 575.98px) {
	.kontakty-section {
		padding: 30px 0;
	}
}

.kontakty-section .section-subtitle {
    margin: 10px auto 0px;
}

.address-group-inner,
.telephone-group-inner,
.mail-group-inner,
.time-group-inner {
    margin: 0 80px 0 0;
}

@media (max-width: 767.98px) {
	.address-group-inner, .telephone-group-inner, .mail-group-inner, .time-group-inner {
		margin: 0;
	}
}

.s1-list {
    background: #f7f0ff;
    border-radius: 5px;
    padding: 15px;
    width: 488px;
    max-width: 100%;
    flex-shrink: 0;
}

.s1-list-2 {
    background: #f7f0ff;
    border-radius: 5px;
    display: flex;
}

.s1-s2-group {
    display: flex;
    gap: 10px;
    margin: 0 0 30px;
}

.s1-list-2-img {
    flex-shrink: 0;
}

.s2v-group {
    padding: 15px;
}

.s2-tit {
    font-weight: 500;
    font-size: 16px;
    line-height: 113%;
    color: #262626;
    margin: 0 0 4px;
}

.s1-check-item {
    position: relative;
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    color: #262626;
    margin: 0 0 7px 0px;
    padding: 0 0 0 30px;
}

.s1-check-item:last-child {
    margin-bottom: 0;
}

.s1-check-item:before {
    content: "✔";
    display: block;
    color: #dd7c7c;
    font-weight: 900;
    font-size: 19px;
    position: absolute;
    top: 0px;
    left: 0;
}

.s2v-group .s2-desc {
    margin: 0;
}

.btn-pod {
    font-weight: 500;
    font-size: 16px;
    line-height: 123%;
    color: #948bae;
    flex-shrink: 0;
}

.btn-pod-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.s2v {
	background: linear-gradient(90deg, rgba(149, 119, 185, 0.23) 0%, rgba(221, 124, 124, 0.23) 100%);
}

.s2v-group-item {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.s2v-item {
    box-shadow: 0 4px 18px 9px rgba(210,202,221,.4);
    background: #fff;
    border-radius: 5px;
    width: calc((100% - 60px) / 4);
    display: flex;
    flex-direction: column;
}

@media (max-width: 991.98px) {
	.s2v-item {
		width: calc((100% - 30px) / 2);
	}
}

@media (max-width: 767.98px) {
	.s2v-item {
		width: calc((100% - 20px) / 2);
	}
}

@media (max-width: 424.98px) {
	.s2v-item {
		width: 100%;
	}
}

.s2v-item-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 138%;
    text-transform: uppercase;
    text-align: center;
    color: #262626;
    margin: 15px 0 15px;
    padding: 0 18px;
    flex-grow: 1;
    align-content: center;
}

.s2v-item-desc {
    font-weight: 400;
    font-size: 15px;
    line-height: 127%;
    text-align: center;
    color: #262626;
    margin: 0 0 20px;
    padding: 0px 18px;
}

.video-preview {
    position: relative;
}

/* Ваша иконка */
.video-preview::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(69, 52, 89, 0.49);
    background-image: url("data:image/svg+xml,%3Csvg width='86' height='86' viewBox='0 0 86 86' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='43' cy='43' r='34' fill='white' /%3E%3Cpath d='M42.9998 8.62016C33.8816 8.62016 25.138 12.2426 18.6897 18.6897C12.2425 25.1369 8.62012 33.881 8.62012 42.9998C8.62012 52.1173 12.2425 60.8616 18.6897 67.3083C25.1368 73.7561 33.8809 77.3778 42.9998 77.3778C52.1173 77.3778 60.8616 73.7561 67.3082 67.3083C73.756 60.8611 77.3778 52.117 77.3778 42.9998C77.3673 33.8848 73.7416 25.1464 67.297 18.7015C60.8519 12.2564 52.1134 8.63058 42.9986 8.62L42.9998 8.62016ZM57.7639 49.875L41.5687 59.2234V59.2241C39.9527 60.1565 38.0603 60.4904 36.2226 60.1656C34.3853 59.8415 32.7208 58.8796 31.5228 57.4499C30.3241 56.0202 29.6673 54.2138 29.6686 52.3479V33.6496C29.6673 31.7836 30.3241 29.9773 31.5228 28.5475C32.7209 27.1178 34.3855 26.156 36.2226 25.8318C38.0603 25.507 39.9527 25.841 41.5687 26.774L57.7639 36.1245C59.3826 37.0562 60.62 38.5291 61.2597 40.2838C61.8994 42.0382 61.8994 43.9626 61.2597 45.7172C60.6199 47.4716 59.3825 48.9447 57.7639 49.8764V49.875Z' fill='url(%23paint0_linear_706_1024)' /%3E%3Cpath d='M55.1187 40.7089L38.9241 31.3636C38.5278 31.1268 38.0758 31.0008 37.6152 30.9982C37.146 31.0014 36.6854 31.1261 36.2793 31.3603C35.8738 31.5887 35.5379 31.922 35.3049 32.3248C35.072 32.7277 34.9519 33.1857 34.9572 33.6509V52.3525V52.3519C34.9579 53.2967 35.4624 54.1686 36.2806 54.6404C37.0988 55.1123 38.1059 55.1115 38.9241 54.6398L55.1193 45.2913H55.1187C55.9368 44.8189 56.4408 43.9463 56.4408 43.0014C56.4408 42.0565 55.9368 41.1833 55.1187 40.7108L55.1187 40.7089Z' fill='url(%23paint1_linear_706_1024)' /%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_706_1024' x1='57.8152' y1='26.7394' x2='23.8488' y2='80.9411' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%239577B9' /%3E%3Cstop offset='1' stop-color='%23DD7C7C' /%3E%3C/linearGradient%3E%3ClinearGradient id='paint1_linear_706_1024' x1='50.3283' y1='37.3217' x2='37.9522' y2='55.0034' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%239577B9' /%3E%3Cstop offset='1' stop-color='%23DD7C7C' /%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");    background-repeat: no-repeat;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.4s ease;
    pointer-events: none; /* Важно: клик сразу пойдет в iframe */
    z-index: 2;
}

/* Скрываем при наведении на контейнер */
.video-preview:hover::after {
    opacity: 0;
}

.video-preview.is-playing::after, 
.video-preview.is-playing .video-click-handler {
    display: none !important;
}

/* Когда класс добавлен — иконка исчезает навсегда */
.video-preview.is-active::after {
    opacity: 0 !important;
}

.s2v-item img {
    width: 100%;
}

.s3v-group {
    display: flex;
    gap: 90px 40px;
    flex-wrap: wrap;
    margin: 100px 0 40px;
}

.s3v-item {
	counter-increment: my-awesome-counter;
    position: relative;
    background: #f7f0ff;
    border-radius: 5px;
    width: calc((100% - 80px) / 3);
    padding: 44px 30px 30px;
}

.s3v-item:before {
    content: counter(my-awesome-counter);
    display: block;
    font-weight: 700;
    font-size: 130px;
    line-height: 78%;
    text-transform: uppercase;
    background: linear-gradient(185deg, #6672d8 0%, #dd7c7c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translate(-50%, 0px);
    opacity: 0.6;
}

.s3v-name {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 21px;
    line-height: 124%;
    text-transform: uppercase;
    color: #262626;
    margin: 0 0 15px;
}

.s3v-item li {
    position: relative;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 119%;
    color: #262626;
    list-style: none;
    padding: 0 0 0 22px;
}

.s3v-item li:before {
    content: '';
    background: #dd7c7c;
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 0;
}

.s3v-num {
    font-weight: 700;
    font-size: 130px;
    line-height: 78%;
    text-transform: uppercase;
    background: linear-gradient(185deg, #6672d8 0%, #dd7c7c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translate(-50%, 0px);
    opacity: 0.6;
}

.fdc {
    flex-direction: column;
}

.s4v {
	background: linear-gradient(90deg, rgba(149, 119, 185, 0.23) 0%, rgba(221, 124, 124, 0.23) 100%);
}

.swiper-pos {
    max-width: 100vw;
}

@media (max-width: 575.98px) {
	.swiper-pos {
		max-width: 100%;
	}
}

/* Все слайды полупрозрачные */
.review-card.swiper-slide {
	opacity: 0.5;
	transition: opacity 0.3s ease; /* Плавный переход при свайпе */
}

/* Полностью видимые слайды (2 и 3 в вашем случае) становятся яркими */
.review-card.swiper-slide-fully-visible {
	opacity: 1;
}

.swiper-slide {
	width: 620px;
}

@media (max-width: 575.98px) {
	.swiper-slide {
		width: 100%;
	}
}

.swiper {
  overflow: visible; /* Чтобы видеть "кусочки" за пределами контейнера */
}

.home .command-img img {
    margin: 0 auto;
    display: flex;
}

.review-card.swiper-slide {
  /* 
     Например, 40%. Тогда 40% + 40% = 80% (два целых).
     Оставшиеся 20% экрана поделятся по 10% на левый и правый слайды.
  */
  width: 620px; 
  max-width: 100%;
  opacity: 0.5;
  transition: opacity 0.3s;
}

/* Яркими будут только те, что попали в центр внимания */
.review-card.swiper-slide-fully-visible {
  opacity: 1;
}

.s5v-group {
    display: flex;
    gap: 50px;
    align-items: center;
}

.s5v-img {
    flex-shrink: 0;
}

.s5v-name {
    font-weight: 700;
    font-size: 35px;
    line-height: 143%;
    text-transform: uppercase;
    color: #262626;
}

.s5v-pod-name {
    font-weight: 400;
    font-size: 16px;
    line-height: 169%;
    color: #816d99;
    margin: 0 0 25px;
}

.s5v-desc {
    font-weight: 400;
    font-size: 18px;
    line-height: 133%;
    color: #262626;
    margin: 0 0 40px;
}

.fz32 {
	font-size: 32px;
}

@media (max-width: 767.98px) {
	.fz32 {
		font-size: 22px;
	}
}

.twsb {
	text-wrap-style: balance;
}

.blg-1 {
	background: linear-gradient(0deg, rgba(149, 119, 185, 0.41) 0%, rgba(255, 255, 255, 0.41) 100%);
}

#menu-primary-1 .sub-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        max-height .3s ease,
        opacity .3s ease,
        transform .3s ease,
        visibility .3s ease;
    /*transition: all .3s ease-in-out;*/
    padding: 0 15px;
    /*padding: 10px;*/

    position: absolute;
    width: stretch;
    min-width: max-content;
    top: 100%;
    left: 0;
    z-index: 99;
    list-style: none;
    background: #f4effa;
    box-shadow: 0 0 15px 0 rgba(134,134,134,.52);
    border-radius: 0 0 5px 5px;
}

#menu-primary .sub-menu {
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: max-height .3s ease,
        opacity .3s ease,
        transform .3s ease,
        visibility .3s ease;
    /* transition: all .3s ease-in-out; */
    padding: 10px;
    position: absolute;
    width: stretch;
    min-width: max-content;
    top: 100%;
    left: 0;
    z-index: 99;
    list-style: none;
    background: #f4effa;
    box-shadow: 0 0 15px 0 rgba(134,134,134,.52);
    border-radius: 0 0 5px 5px;
}

/* Появление при наведении */
#menu-primary li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Возвращаем в исходную позицию */
}

/* Стили для ссылок внутри подменю */
#menu-primary .sub-menu li {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(206, 197, 217, 0.53);
}

#menu-primary .sub-menu li:last-child {
    border-bottom: none;
}

#menu-primary .sub-menu li a {
    display: block;
    padding: 8px 20px;
    text-decoration: none;
    line-height: 133%;
    color: #6e558d;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease 0s;
}

#menu-primary .sub-menu li a:hover {
    color: #dd7c7c;
}

.p1s {
    background: linear-gradient(90deg, rgba(149, 119, 185, 0.23) 0%, rgba(221, 124, 124, 0.23) 100%);
}

.bc-1 {
	background-color: #fff;
}

.prog-group-k-g {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    padding-bottom: 15px;
    height: 100%;
}

.prog-thumb {
    flex-shrink: 0;
    margin: 0 0 20px;
    background: #b8a1a7;
    flex-grow: 1;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.prog-title-k {
    font-weight: 700;
    font-size: 19px;
    line-height: 116%;
    text-align: center;
    color: #262626;
    padding: 0 15px;
    text-wrap-style: balance;
}

.prog-group {
    width: calc(100% - 280px - 20px);
}

@media (max-width: 1199.98px) {
	.prog-group {
		width: 100%;
	}
}

.prog-group-inner {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.prog-item {
    border: 1px solid rgba(210, 198, 226, 0.45);
    border-radius: 10px;
    width: calc((100% - 30px) / 3);
    box-shadow: 0 0 16px 14px rgba(217, 204, 233, 0.24);
    background: #fff;
    transform: translateZ(0px);
    overflow: hidden;
}

@media (max-width: 767.98px) {
	.prog-item {
		width: calc((100% - 15px) / 2);
	}
}

@media (max-width: 460.98px) {
	.prog-item {
		width: 100%;
	}
}

.prog-thumb img {
    width: 100%;
}

.btn-w100 {
	width: calc(100% - 30px);
	margin: 0 auto;
}

.fz14 {
	font-size: 14px;
}

.pad-1 {
	padding: 7px 25px;
}

.btn-kol-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

@media (max-width: 575.98px) {
	.btn-kol-group {
		flex-direction: column;
	}
}

.kol-mest {
    background: #e8e4ee;
    border-radius: 5px;
    font-weight: 400;
    font-size: 13px;
    line-height: 131%;
    text-align: center;
    color: #948bae;
    height: 50px;
    align-items: center;
    display: flex;
    justify-content: center;
    text-wrap-style: balance;
    width: 50%;
}

@media (max-width: 575.98px) {
	.kol-mest {
		width: 100%;
	}
}

.pom-group {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

@media (max-width: 991.98px) {
	.pom-group {
		flex-direction: column;
		gap: 10px;
	}
}

@media (max-width: 767.98px) {
	.pom-group {
		gap: 0;
	}
}

.pom-group .img-block {
    flex-shrink: 0;
}

.pom-content-group {
    display: flex;
    flex-direction: column;
    width: calc(50% - 40px);
}

@media (max-width: 991.98px) {
	.pom-content-group {
		width: 100%;
	}
}

.pom-content {
    flex-grow: 1;
    padding: 30px 0;
}

@media (max-width: 991.98px) {
	.pom-content {
		padding: 10px 0;
	}
}

.pom-content p {
    font-weight: 400;
    font-size: 18px;
    line-height: 133%;
    color: #262626;
    margin: 20px 0;
}

@media (max-width: 575.98px) {
	.pom-content p {
		font-size: 15px;
	}
}

.section-prich {
	background: rgba(149, 119, 185, 0.17);
}

.section-prich .section-title {
    margin: 0 0 100px 0;
}

.prich-list {
    display: flex;
    flex-wrap: wrap;
    gap: 85px 44px;
}

@media (max-width: 767.98px) {
	.prich-list {
		justify-content: center;
	}
}

.prich-item {
	counter-increment: my-awesome-counter;
	position: relative;
	width: calc((100% - 88px) / 3);
	box-shadow: 0 0 21px 2px rgba(60, 45, 78, 0.13);
	background: #fff;
	border-radius: 5px;
	padding: 44px 30px 30px;
}

@media (max-width: 991.98px) {
	.prich-item {
		width: calc((100% - 44px) / 2);
	}
}

@media (max-width: 767.98px) {
	.prich-item {
		width: calc((100% - 44px) / 2);
	}
}

@media (max-width: 424.98px) {
	.prich-item {
		width: 100%;
	}
}

.prich-title {
    position: relative;
    font-weight: 700;
    font-size: 23px;
    line-height: 114%;
    text-transform: uppercase;
    text-align: center;
    color: #262626;
    margin: 0 auto 30px;
    display: table;
}

@media (max-width: 991.98px) {
	.prich-title {
		font-size: 20px;
	}
}

.prich-title:before {
    content: '';
    background: linear-gradient(#9577b9,#dd7c7c);
    width: 70px;
    height: 2px;
    display: inline-block;
    bottom: -15px;
    position: absolute;
    opacity: .26;
    left: 50%;
    transform: translate(-50%, 0);
}

.prich-item:before {
    content: counter(my-awesome-counter);
    display: block;
    font-weight: 700;
    font-size: 130px;
    line-height: 78%;
    text-transform: uppercase;
    background: linear-gradient(185deg, #6672d8 0%, #dd7c7c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translate(-50%, 0px);
    opacity: 0.6;
}

.prich-desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 119%;
    text-align: center;
    color: #262626;
}

.command-block-pos {
    position: relative;
    max-width: 100vw;
}

.wp-block-separator {
    border-top: 1px solid rgba(149, 119, 185, 0.42);
    margin: 15px 0;
}

.kurs-group {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.kurs-item {
    background: #ede8f3;
    padding: 30px 40px;
    width: calc((100% - 30px) / 2);
    border-radius: 5px;
}

@media (max-width: 767.98px) {
	.kurs-item {
		width: 100%;
		padding: 20px;
	}
}

.kurs-title {
    font-weight: 700;
    font-size: 23px;
    line-height: 117%;
    color: #262626;
    margin: 0px 0 20px;
}

.kurs-list li {
    position: relative;
    list-style: none;
    padding: 0 0 0 22px;
    font-weight: 400;
    font-size: 15px;
    line-height: 153%;
    color: #262626;
}

.kurs-list li:before {
    content: '';
    background: #dd7c7c;
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 0;
}

.kurs-day {
    background: #DD7C7C;
    display: inline-block;
    border-radius: 5px;
    padding: 7px 16px;
    font-weight: 700;
    font-size: 13px;
    line-height: 185%;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 16px;
}

.kurs-group {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 0 40px;
}

.kurs-item {
	counter-increment: day-counter;
}

.kurs-day span::before {
	content: counter(day-counter);
}

.section-kurs .btn-group {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin: 20px 0 0;
}

@media (max-width: 767.98px) {
	.section-kurs .btn-group {
		flex-direction: column;
		gap: 10px;
	}
}

.btn--white {
    background: #fff;
    font-weight: 700;
    font-size: 17px;
    line-height: 147%;
    text-transform: uppercase;
    color: #a490be;
    width: auto;
    border: 1px solid #ad97c9;
    padding: 9px 16px;
}

.kurs-list-p {
    font-weight: 400;
    font-size: 15px;
    line-height: 153%;
    color: #262626;
}

.section-zapis {
	background: linear-gradient(90deg, rgba(149, 119, 185, 0.23) 0%, rgba(221, 124, 124, 0.23) 100%);
}

.section-zapis .section-title {
    margin: 0 0 30px;
}

.stoim-group {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.stoim-item {
    box-shadow: 0 4px 18px 9px rgba(210, 202, 221, 0.4);
    background: #fff;
    border-radius: 5px;
    width: calc((100% - 60px) / 3);
    padding: 20px;
    transition: all 0.2s ease 0s;
    flex-direction: column;
    display: flex;
}

@media (max-width: 991.98px) {
	.stoim-item {
		width: calc((100% - 30px) / 2);
	}
}

@media (max-width: 575.98px) {
	.stoim-item {
		width: 100%;
	}
}

.stoim-item:hover {
    background: #8964b9;
}

.stoim-item:hover .stoim-title,
.stoim-item:hover .stoim-price,
.stoim-item:hover .stoim-list li {
	color: #fff;
}

.stoim-item:hover .btn--purple {
    background: #b695df;
    transition: none;
}

.stoim-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    text-align: center;
    color: #262626;
    margin: 20px 0 30px;
}

.stoim-price {
    font-weight: 700;
    font-size: 40px;
    line-height: 60%;
    text-transform: uppercase;
    text-align: center;
    color: #9577b9;
    margin: 0 0 30px;
}

.stoim-list li {
    position: relative;
    list-style: none;
    padding: 0 0 0 22px;
    font-weight: 400;
    font-size: 15px;
    line-height: 153%;
    color: #262626;
}

.stoim-list li:before {
    content: '';
    background: #dd7c7c;
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 0;
}

.stoim-list {
    margin: 0 0 20px;
    flex-grow: 1;
}

.stoim-group .btn-primary {
    width: 100%;
}

@media (max-width: 767.98px) {
	.section-kurs .btn-primary {
		width: 100%;
		height: 50px;
	}
}

.section-stoim {
    background: rgba(149, 119, 185, 0.17);
}

.autTitle {
    font-weight: 700;
    font-size: 35px;
    line-height: 143%;
    text-transform: uppercase;
    color: #262626;
}

@media (max-width: 991.98px) {
	.autTitle {
		font-size: 32px;
	}
}

@media (max-width: 575.98px) {
	.autTitle {
		font-size: 28px;
	}
}

.autProf {
    font-weight: 400;
    font-size: 16px;
    line-height: 127%;
    color: #816d99;
    margin: 0 0 20px;
}

.autInfo {
    font-weight: 400;
    font-size: 18px;
    line-height: 133%;
    color: #262626;
}

@media (max-width: 767.98px) {
	.autInfo {
		font-size: 16px;
	}
}

@media (max-width: 575.98px) {
	.autInfo {
		font-size: 15px;
	}
}

.autInfo p {
    margin: 16px 0;
}

.pom-content li,
.autInfo li {
    position: relative;
    list-style: none;
    padding: 0 0 0 22px;
    font-weight: 400;
    font-size: 18px;
    line-height: 24.4px;
    color: #262626;
}

@media (max-width: 1199.98px) {
	.pom-content li,
	.autInfo li {
		font-size: 17px;
		line-height: 22px;
	}
}

@media (max-width: 767.98px) {
	.pom-content li,
	.autInfo li {
		font-size: 16px;
		line-height: 21px;
	}
}

@media (max-width: 575.98px) {
	.pom-content li,
	.autInfo li {
		font-size: 15px;
		line-height: 20px;
	}
}

.pom-content li:before,
.autInfo li:before {
    content: '';
    background: #dd7c7c;
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 0;
}

.kursAut-block {
    display: flex;
    align-items: center;
    gap: 40px;
}

@media (max-width: 991.98px) {
	.kursAut-block {
		flex-direction: column;
		align-items: flex-start;
	}
}


.kursAut-block {
    margin-top: 30px;
}

.col-1 {
    flex-shrink: 0;
}

.single-program .kursAut-block .col-1 img {
    max-width: inherit;
    max-height: inherit;
}

.kursAut-block .col-1 {
    max-width: 520px;
    max-height: 520px;
    border-radius: 3px;
    overflow: hidden;
}

@media (max-width: 1399.98px) {
	.kursAut-block .col-1 {
		max-width: 470px;
	}
}
@media (max-width: 991.98px) {
	.kursAut-block .col-1 {
		max-width: 100%;
	}
}

@media (max-width: 575.98px) {
	.kursAut-block .col-1 {
		max-width: calc(100% + 30px);
		margin: 0 -15px;
	}
}

.single-program .s1-img img {
    max-height: 492px;
    max-width: 578px;
}

@media (max-width: 575.98px) {
	.single-program .s1-img img {
		height: auto;
	}
}

.section-podtitle {
    font-weight: 700;
    font-size: 32px;
    line-height: 156%;
    text-transform: uppercase;
    text-align: center;
    color: #dd7c7c;
    margin: 0 0 40px;
}

.skid-block {
    display: flex;
    gap: 40px;
    align-items: center;
}

@media (max-width: 767.98px) {
	.skid-block {
		flex-direction: column;
	}
}

.skid-block li {
    position: relative;
    list-style: none;
    padding: 0 0 0 38px;
    font-weight: 400;
    font-size: 25px;
    line-height: 128%;
    color: #262626;
    margin: 0 0 20px;
}

@media (max-width: 1399.98px) {
	.skid-block li {
		font-size: 21px;
	}
}

@media (max-width: 1199.98px) {
	.skid-block li {
		font-size: 19px;
	}
}

@media (max-width: 767.98px) {
	.skid-block li {
		font-size: 18px;
	}
}

.skid-block li:before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='18' viewBox='0 0 24 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 8.1825L3.2002 4.9095L9.59985 11.4548L20.7998 0L24 3.273L9.60059 18L0 8.1825Z' fill='%23DD7C7C' /%3E%3C/svg%3E");
    display: block;
    width: 24px;
    height: 18px;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 0;
    background-size: 24px;
    background-repeat: no-repeat;
}

.sres-3 h2.wp-block-heading {
    font-weight: 700;
    font-size: 38px;
    line-height: 103%;
    color: #262626;
    margin: 0 0 32px;
}

@media (max-width: 575.98px) {
	.sres-3 h2.wp-block-heading {
		font-size: 23px;
		line-height: 27px;
		margin: 0 0 23px;
	}
}

.sres-3 p {
    font-weight: 400;
    font-size: 16px;
    line-height: 144%;
    color: #262626;
}

.sres-3-group {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 0 30px;
}

.sres-3-item {
    background: #f7f4f9;
    padding: 20px;
    width: calc((100% - 30px) / 2);
    border-radius: 5px;
}

@media (max-width: 767.98px) {
	.sres-3-item {
		width: 100%;
	}
}

.sres-3-item .title {
    font-weight: 700;
    font-size: 28px;
    line-height: 96%;
    color: #262626;
    margin: 0 0 20px 22px;
}

@media (max-width: 575.98px) {
	.sres-3-item .title {
		font-size: 23px;
		line-height: 27px;
	}
}

.sres-3-item .list li {
    position: relative;
    list-style: none;
    padding: 0 0 0 22px;
    font-weight: 400;
    font-size: 15px;
    line-height: 153%;
    color: #262626;
    margin: 0 0 10px;
}

.sres-3-item .list li:before {
    content: '';
    background: #dd7c7c;
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 0;
}

.sres-3 .content {
    margin: 0 0 30px;
}

.prop-block {
    background: #5c6c9f;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    border-radius: 5px;
    gap: 30px;
}

@media (max-width: 575.98px) {
	.prop-block {
		flex-direction: column;
	}
}

.prop-title {
    font-weight: 700;
    font-size: 32px;
    line-height: 113%;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0px 13px;
}

@media (max-width: 767.98px) {
	.prop-title {
		font-size: 18px;
	}
}

@media (max-width: 575.98px) {
	.prop-title {
		font-size: 25px;
	}
}

@media (max-width: 575.98px) {
	.prop-tit-desc-group {
		margin: 0 20px 20px;
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}

.prop-desc {
    font-weight: 400;
    font-size: 15px;
    line-height: 127%;
    color: #e8dafa;
    margin: 0 0 20px;
}

.prop-block .img-block {
    flex-shrink: 0;
}

.login-btn {
    justify-content: center;
    display: flex;
    align-items: center;
}

.page-reviews .reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

@media (max-width: 991.98px) {
	.page-reviews .reviews-container {
		gap: 15px;
	}
}

.page-template-page-program .p1s .edit {
    top: 0px;
    bottom: auto;
    border-radius: 0 0 0 15px;
}

.skid-block .btn-primary {
    width: 400px;
}

@media (max-width: 991.98px) {
	.skid-block .btn-primary {
		width: 100%;
	}
}

.skid-block ul {
    margin: 0 0 50px;
}

@media (max-width: 991.98px) {
	.skid-block ul {
		margin: 0 0 30px;
	}
}

.prog-content-k {
    font-weight: 400;
    font-size: 14px;
    line-height: 107%;
    text-align: center;
    color: #262626;
    padding: 20px;
}

.section-sz2,
.section-sz4 {
    background: linear-gradient(90deg, rgba(149, 119, 185, 0.23) 0%, rgba(221, 124, 124, 0.23) 100%);
}

.section-sz6 {
    background: rgba(149, 119, 185, 0.17);
}

.sz2-group {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin: 0 0 50px;
}

@media (max-width: 991.98px) {
	.sz2-group {
		gap: 20px;
		margin: 0 0 25px;
	}
}

.sz2-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    text-align: center;
    color: #262626;
    margin: 30px;
    text-wrap-style: balance;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991.98px) {
	.sz2-title {
		font-size: 16px;
		margin: 15px 15px;
	}
}

.sz2-item {
    width: calc((100% - 100px) / 3);
    box-shadow: 0 4px 18px 9px rgba(210,202,221,.4);
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    flex-direction: column;
    display: flex;
    cursor: pointer;
    transition: all 0.2s ease 0s;
}

@media (max-width: 991.98px) {
	.sz2-item {
		width: calc((100% - 40px) / 3);
	}
}

@media (max-width: 575.98px) {
	.sz2-item {
		width: 100%;
	}
}

.sz2-item:hover {
    background: #7d61a1;
}

.sz2-item:hover .sz2-title {
    color: #fff;
}

.section-sz6 .section-title,
.section-es2 .section-title,
.section-es3 .section-title,
.section-es4 .section-title {
    margin: 0 0 50px;
}

.sz4-group {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

@media (max-width: 575.98px) {
	.sz4-group {
		gap: 15px;
	}
}

.sz4-item {
    width: calc((100% - 75px) / 4);
    box-shadow: 0 4px 18px 9px rgba(210, 202, 221, 0.4);
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (max-width: 991.98px) {
	.sz4-item {
		width: calc((100% - 25px) / 2);
	}
}

@media (max-width: 575.98px) {
	.sz4-item {
		width: calc((100% - 15px) / 2);
	}
}

@media (max-width: 424.98px) {
	.sz4-item {
		width: 100%;
	}
}

.sz2-img img,
.sz4-img img,
.sz6-img img {
    width: 100%;
}

.sz4-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 138%;
    text-transform: uppercase;
    text-align: center;
    color: #262626;
    text-wrap-style: balance;
    margin: 30px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991.98px) {
	.sz4-title {
		margin: 15px;
	}
}

.sz5-item {
    position: relative;
    box-shadow: 0 4px 18px 9px rgba(210, 202, 221, 0.4);
    background: #fff;
    border-radius: 5px;
    width: calc((100% - 120px) / 4);
    padding: 20px;
}

@media (max-width: 991.98px) {
	.sz5-item {
		width: calc((100% - 40px) / 2);
	}
}

@media (max-width: 575.98px) {
	.sz5-item {
		width: calc((100% - 20px) / 2);
	}
}

@media (max-width: 424.98px) {
	.sz5-item {
		width: 100%;
	}
}

.sz5-group {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

@media (max-width: 991.98px) {
	.sz5-group {
		gap: 50px 40px;
	}
}

@media (max-width: 575.98px) {
	.sz5-group {
		gap: 50px 20px;
	}
}

.sz5-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    text-align: center;
    color: #262626;
    padding: 40px 0 10px;
}

@media (max-width: 991.98px) {
	.sz5-title {
		font-size: 16px;
	}
}

@media (max-width: 424.98px) {
	.sz5-title {
		font-size: 18px;
	}
}

.svg-icon {
    position: absolute;
    top: -37px;
    left: 50%;
    transform: translate(-50%, 0px);
}

.section-sz5 .section-title {
    margin: 0 0 70px;
}

.sz6-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.sz6-item {
    width: calc((100% - 75px) / 6);
    box-shadow: 0 4px 18px 9px rgba(210, 202, 221, 0.4);
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1199.98px) {
	.sz6-item {
		width: calc((100% - 30px) / 3);
	}
}

@media (max-width: 575.98px) {
	.sz6-item {
		width: calc((100% - 15px) / 2);
	}
}

@media (max-width: 424.98px) {
	.sz6-item {
		width: 100%;
	}
}

.sz6-title {
    font-weight: 700;
    font-size: 17px;
    line-height: 141%;
    text-transform: uppercase;
    text-align: center;
    color: #262626;
    margin: 15px 15px;
    text-wrap-style: balance;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sz3-group {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

@media (max-width: 991.98px) {
	.sz3-group {
		gap: 80px 30px;
		justify-content: center;
	}
}

.sz3-item {
    position: relative;
    counter-increment: my-awesome-counter;
    width: calc((100% - 60px) / 3);
    background: #f7f0ff;
    border-radius: 5px;
    padding: 55px 25px 25px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 991.98px) {
	.sz3-item {
		width: calc((100% - 30px) / 2);
	}
}

@media (max-width: 767.98px) {
	.sz3-item {
		width: 100%;
	}
}

.section-sz3 .section-title {
    margin: 0 0 100px;
}

.sz3-title {
    font-weight: 700;
    font-size: 21px;
    line-height: 114%;
    text-transform: uppercase;
    color: #262626;
    margin: 0 0 16px;
}

.sz3-desc {
    font-weight: 400;
    font-size: 15px;
    line-height: 127%;
    color: #262626;
    margin: 0 0 20px;
    flex-grow: 1;
}

.sz3-list li {
    color: #262626;
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
    position: relative;
    list-style: none;
    padding: 0 0 0 22px;
    margin: 0 0 10px;
}

.sz3-list li:before {
    content: '';
    background: #dd7c7c;
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 0;
}

.sz3-list li:last-child {
    margin-bottom: 0;
}

.sz3-list {
    margin: 0 0 30px;
}

.sz3-item .btn--purple {
    width: 100%;
}

.sz3-item:before {
    content: counter(my-awesome-counter);
    display: block;
    font-weight: 700;
    font-size: 130px;
    line-height: 78%;
    text-transform: uppercase;
    background: linear-gradient(185deg, #6672d8 0%, #dd7c7c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translate(-50%, 0px);
    opacity: 0.6;
}

.sz7-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.section-sz7 .btn--purple {
    font-size: 15px;
    font-weight: 500;
    width: 100%;
    text-align: center;
}

.sz7-item {
    flex-grow: 1;
}

.sz2-pod-block {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.sz2-pod-item {
    border-radius: 5px;
    padding: 11px 16px;
    font-weight: 500;
    font-size: 13px;
    line-height: 146%;
    text-transform: uppercase;
    color: rgba(149,119,185,.5);
    cursor: pointer;
}

@media (max-width: 991.98px) {
	.sz2-pod-item {
		font-size: 10px;
	}
}

/* Делаем соседей черно-белыми */
.section-sz2.has-active .sz2-item:not(.is-active),
.section-sz3.has-active .sz3-item:not(.is-active) {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* Активная карточка всегда цветная */
.sz2-item.is-active, .sz3-item.is-active {
    filter: grayscale(0%);
    opacity: 1;
}

/* Мобильное меню */

.nav-mobile {
    display: none;
}

.nav-mobile ul li a.active {
    color: #f8dcbf;
}

@media (min-width: 992px) {
    .header__burger {
        display: none;
    }
}

@media (max-width: 991.98px) {
    html.lock, body.lock {
        overflow: hidden;
        touch-action: none;
    }
    .header__row {
        height: 50px;
    }
    .header__burger {
    	display: block;
    	position: relative;
    	width: 33px;
    	height: 32px;
    	z-index: 3;
    	cursor: pointer;
    	border: 1px solid #9a7dbb;
    	background: #9a7dbb;
    	border-radius: 4px;
    	box-sizing: border-box;
    }
    .header__burger span {
        background-color: #fff;
        position: absolute;
        width: 49%;
        height: 2px;
        left: 8px;
        top: 14px;
        transition: all .3s ease 0s;
    }
    .header__burger:before, .header__burger:after {
        content: '';
        background-color: #fff;
        position: absolute;
        width: 49%;
        height: 2px;
        left: 8px;
        transition: all .3s ease 0s;
    }
    .header__burger:before {
        top: 9px;
    }
    .header__burger:after {
        bottom: 9px;
    }
    .header__burger.active span {
        transform: scale(0);
    }
    .header__burger.active:before {
        transform: rotate(45deg);
        top: 14px;
    }
    .header__burger.active:after {
        transform: rotate(-45deg);
        bottom: 14px;
    }

    .nav-mobile.active {
        top: 0;
    }
    .nav-mobile {
    	position: fixed;
    	left: 0;
    	top: -100%;
    	width: 100%;
    	height: 100vh;
    	overflow-y: auto; /*надо*/
    	overflow-x: hidden; /*надо*/
    	-webkit-overflow-scrolling: touch;
    	transition: all .3s ease 0s;
    	background: linear-gradient(165deg, #dd7c7c 0%, #737fe6 100%), linear-gradient(
    		63deg, rgba(149, 119, 185, 0.7) 0%, #9b7ebf 100%);
    	display: block;
    	z-index: 2;
    }
    .mobile-nav {
    	display: flex;
    	flex-direction: column;
    	padding: 90px 0px 10px;
    }
    .sub-menu {
    	justify-content: flex-start;
    	align-items: flex-start;
    	padding: 90px 0px 10px;
        margin: 0 -15px;
    }
    .nav-mobile ul > li > a {
    	color: #fff;
    	font-size: 15px;
    	font-weight: 500;
    	padding: 11px 15px 11px 15px;
    	flex: 1;
    	display: block;
    }
}

@media (max-width: 575.98px) {
	.nav-mobile > ul {
		padding: 100px 0 0;
	}
}

@media (max-width: 991.98px) {
	span.nach {
		display: none;
	}
}

.timer .day, 
.timer .hour, 
.timer .min, 
.timer .sec {
    display: flex;
    flex-direction: column;
}

.timer .tg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.timer .rt {
    font-weight: 500;
    font-size: 9px;
    line-height: 110%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    margin: 4px 0 0;
}

.timer .day span:before,
.timer .hour span:before,
.timer .min span:before,
.timer .sec span:before {
    content: '';
    background: linear-gradient(180deg,#fffdfd 0%,#e5e5e5 100%);
    width: 23px;
    height: 14px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.timer .day span:after,
.timer .hour span:after,
.timer .min span:after,
.timer .sec span:after {
    content: '';
    background: linear-gradient(180deg,#fffdfd 0%,#e5e5e5 100%);
    width: 23px;
    height: 14px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.timer .day span, 
.timer .hour span,
.timer .min span,
.timer .sec span {
    position: relative;
    width: 23px;
    height: 28px;
    font-weight: 500;
    font-size: 19px;
    line-height: 95%;
    color: #262e33;
    z-index: 0;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 575.98px) {
	.timer .day span, .timer .hour span, .timer .min span, .timer .sec span {
		width: 19px;
		height: 23px;
		font-size: 15px;
	}
}

.timer-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 575.98px) {
	.timer-item {
		gap: 10px;
	}
}

.btn--white.mobile {
	display: none;
}

@media (max-width: 575.98px) {
	.btn--white.desktop {
		display: none;
	}
	.btn--white.mobile {
		display: block;
		position: relative;
		font-weight: 500;
		font-size: 10px;
		color: #262626;
		border-radius: 5px;
		width: 99px;
		height: 25px;
		border: none;
		padding: 0px;
	}
}

@media (max-width: 575.98px) {
	.top-bar-group {
		flex-direction: column;
	}
}

@media (max-width: 575.98px) {
	.btn--white.mobile .btn-icon {
		position: absolute;
		top: 0px;
		right: 0;
	}
}

.section-es2 {
    background: rgba(149, 119, 185, 0.17);
}

.pom-item {
    width: calc((100% - 80px) / 3);
    border-top: 8px solid #9577b9;
    box-shadow: 0 4px 18px 9px rgba(210,202,221,.4);
    background: #fff;
    border-radius: 5px;
    padding: 25px;
}

@media (max-width: 575.98px) {
	.pom-item {
		width: 100%;
	}
}

.pom-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    text-align: center;
    color: #262626;
    margin: 0 0 15px;
}

.pom-title span {
	color: #dd7c7c;
}

.pom-list {
    position: relative;
    background: #f3edfa;
    opacity: .91;
    padding: 8px 20px 8px 0;
    list-style: none;
    border-radius: 5px;
}

.pom-list li {
    position: relative;
    list-style: none;
    font-weight: 400;
    font-size: 15px;
    line-height: 132%;
    color: #262626;
    padding: 0 10px 8px 25px;
}

.pom-list li:before {
    content: '';
    display: block;
    width: 4px;
    height: 9px;
    background: #9577b9;
    position: absolute;
    top: 7px;
    left: 0;
}

.w-100 {
	width: 100%;
}

.telephone-group svg,
.mail-group svg,
.time-group svg {
    width: 40px;
    height: 40px;
}

.address-group svg {
    width: 40px;
    height: 48px;
}

.telephone-group svg path {
    stroke: #9577B9;
}

.mail-group svg path,
.time-group svg path,
.address-group svg path {
    fill: #9577B9;
}

/* Обесцвечиваем соседей в секции 2 */
.section-es2.has-active .s2v-item:not(.is-active) {
    filter: grayscale(100%);
    opacity: 0.5;
}

/* В секции 4 скрываем те, что не подходят по фильтру */
.section-es4.is-filtered .prog-item:not(.is-visible) {
    display: none; /* или filter: grayscale(100%); если нужно просто покрасить */
}

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

@media (max-width: 767.98px) {
	.top-bar.mobile {
		display: block;
	}
	.top-bar {
		display: none;
	}
}

.single .wp-block-heading {
    font-weight: 700;
    font-size: 28px;
    line-height: 104%;
    text-align: center;
    color: #262626;
    background: rgba(149, 119, 185, 0.23);
    border-radius: 5px;
    padding: 12px;
    margin: 30px 0;
}

@media (max-width: 1399.98px) {
	.s1-k-2 img {
		height: 100%;
		object-fit: cover;
	}
	.page-template-page-konsultaczii .s1-img {
		height: 100%;
		margin-bottom: 20px;
	}
}

@media (max-width: 575.98px) {
	.page-template-page-konsultaczii .s1-img {
		margin-left: -15px;
		margin-right: -15px;
	}
}

/*.single-program .s1-img {
    position: absolute;
    bottom: 0;
}*/

@media (max-width: 991.98px) {
	.single-program .s1-img {
		margin-bottom: 20px;
	}
}

@media (max-width: 575.98px) {
	.single-program .s1-img {
		margin-left: -15px;
		margin-right: -15px;
	}
}

.single-program .img-block {
    width: 100%;
}

@media (max-width: 991.98px) {
	.single-program .img-block {
		width: 100%;
	}
}

@media (max-width: 1199.98px) {
	.skid-block .col-1 {
		width: 50%;
	}
}

@media (max-width: 767.98px) {
	.skid-block .col-1 {
		width: 100%;
	}
}

.section-pom .img-block {
    width: 50%;
}

@media (max-width: 991.98px) {
	.section-pom .img-block {
		width: 100%;
	}
}

@media (max-width: 575.98px) {
	.section-pom .img-block {
		width: calc(100% + 30px);
		margin: 0 -15px;
	}
}

@media (max-width: 991.98px) {
	.nav-mobile .arrow-down {
		position: absolute;
		right: 0;
		top: 0;
		width: 40px;
		height: 40px;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		z-index: 2;
	}
	.down {
		width: 8px;
		height: 8px;
		border-top: 2px solid #000;
		border-right: 2px solid #000;
		transform: rotate(45deg);
		transition: transform .3s ease;
		display: block;
	}
	.nav-mobile .children {
		max-height: 0;
		overflow: hidden;
		transition: max-height .4s ease;
		padding-left: 0;
		align-items: center;
		background: #2e2e2e;
		border-radius: 10px;
	}
}

.pod-footer2 li a {
    color: inherit;
}

@media (max-width: 1199.98px) {
	.pod-footer2 li a {
		font-size: 14px;
	}
}

#gc-modal-wrapper div {
    max-width: 720px !important;
}


.popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
}
.popup-content {
    background: #fff;
    padding: 30px;
    position: relative;
    max-width: 400px;
    width: 90%;
    border-radius: 8px;
}
.popup-close {
    position: absolute;
    top: 10px; right: 10px;
    cursor: pointer;
    background: none; border: none; font-size: 24px;
}

.popup-content .popup-title {
    font-size: 28px;
    margin: 0 0 20px;
    text-align: center;
}

.popup-content .inline-form-row {
    flex-direction: column;
}

.popup-content .wpcf7-submit {
    width: 100%;
    text-align: center;
}

.book-item .edit {
    bottom: auto;
    top: 0;
    border-radius: 0 0 0 15px;
}

.book-content p {
    margin: 16px 0;
}

.content p {
    font-size: 18px;
    line-height: 24px;
    margin: 20px 0;
}

@media (max-width: 575.98px) {
	.content p {
		font-size: 15px;
		line-height: 19px;
	}
}

.page-template-default .section-title {
    margin: 0 0 50px;
}

@media (max-width: 575.98px) {
	.page-template-default .section-title {
		margin: 0 0 8px;
	}
}

.kurs-item-c {
    background: #ede8f3;
    padding: 30px 40px;
    width: 840px;
    max-width: 100%;
    border-radius: 5px;
    margin: 0 auto 40px;
}

.kurs-item-c p,
.kurs-item-c ul,
.kurs-item-c ol {
	margin: 16px 0;
}

.kurs-item-c ul li {
    position: relative;
    list-style: none;
    padding: 0 0 0 22px;
    font-weight: 400;
    font-size: 15px;
    line-height: 153%;
    color: #262626;
}

.kurs-item-c ul li:before {
    content: '';
    background: #dd7c7c;
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 0;
}

.kurs-item-c ol li {
    counter-increment: my-awesome-counter;
    position: relative;
    list-style: none;
    padding: 0 0 0 32px;
    font-weight: 400;
    font-size: 15px;
    line-height: 187%;
    color: #262626;
}

.kurs-item-c ol li:before {
    content: counter(my-awesome-counter);
    background: #9173b2;
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    position: absolute;
    top: 3px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 2px;
}

.section-pom .video-preview {
    width: 50%;
    height: 100%;
}

@media (max-width: 991.98px) {
	.section-pom .video-preview {
		width: 100%;
	}
}

.section-kursAut {
    padding-bottom: 0;
}

.prog-group-k {
    height: 100%;
}

.s1-k .s1-desc li {
	position: relative;
    list-style: none;
    padding: 0 0 0 22px;
    font-weight: 400;
    font-size: 15px;
    line-height: 153%;
    color: #262626;
}

.s1-k .s1-desc li::before {
    content: '';
    background: #dd7c7c;
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 0;
}

.s1-k .s1-desc h2 {
    font-size: 30px;
    line-height: 36px;
    margin: 16px 0;
}

#gc-dynamic-modal {
    overflow-y: auto;
}

.skid-block p {
    font-weight: 400;
    font-size: 25px;
    line-height: 128%;
    color: #262626;
    margin: 0 0 20px;
}

.review-social-more-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

@media (max-width: 1199px) {
	.review-social-more-group {
		flex-direction: column;
	}
}

.review-more {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-more span {
    font-weight: 400;
    font-size: 14px;
    line-height: 136%;
    text-align: center;
    color: #9274b7;
}

.single-program .review-card .edit {
    top: 0;
    bottom: auto;
    border-radius: 0 10px 0;
    opacity: 0;
}

.single-program .review-card:hover .edit {
    opacity: 1;
}

.review-social {
    width: calc(100% - 155px);
}

@media (max-width: 1199px) {
	.review-social {
		width: auto;
	}
	.review-social p {
		flex-wrap: wrap;
		display: inline-flex;
		align-items: baseline;
	}
}

.kursAut-block .col-2 {
    display: flex;
    gap: 20px;
}

@media (max-width: 767.98px) {
	.kursAut-block .col-2 {
		flex-direction: column;
	}
}

.kursAut-block .col-2-inner {
    flex: 1 1 100%;
}




/* открыто */
#menu-primary-1 .menu-item-has-children.open > .sub-menu {
	max-height: 100%; /* или больше */
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
    padding: 15px;
    /*padding: 0 15px;*/

    position: relative;
    display: block;
    box-shadow: 0 0 15px 0 rgba(134,134,134,.52);
    background: #f4effa;
    border-radius: 0;
    margin: 0 -15px;
    min-width: 100%;
}

#menu-primary-1 .menu-item-has-children.open > .sub-menu > li > a {
    font-weight: 500;
    font-size: 14px;
    line-height: 138%;
    color: #6e558d;
}

/* анимация стрелки */
.menu-item-has-children.open .submenu-toggle svg {
  transform: rotate(180deg);
}

.submenu-toggle svg {
  transition: transform 0.3s ease;
}

.menu-item-191.open {
    position: relative;
}

@media (max-width: 991.98px) {
	.menu-item {
		position: relative;
		width: 100%;
		display: flex;
		align-items: center;
		flex-wrap: wrap;
	}
	.sub-menu li {
		border-bottom: 1px solid rgba(206,197,217,.53);
	}
	.sub-menu li:last-child {
		border-bottom: 0;
	}
	.submenu-toggle {
		background: 0 0;
		border: none;
		cursor: pointer;
		position: absolute;
		top: 0;
		right: 0;
		padding: 11px 15px;
		flex-shrink: 0;
	}
}

.page-template-page-steps .steps__img-wrap img {
    max-width: 307px;
}

.kurs-hidden {
	display: none;
}

.kurs-more-wrap {
    display: flex;
    justify-content: center;
}

.kurs-more-btn svg {
    transform: rotate(90deg);
}

.kurs-item-ajax.hidden {
	display: none;
}

.kurs-more-btn .btn__icon {
	transition: transform 0.3s ease;
}

.kurs-more-btn.is-open .btn__icon {
    transform: rotate(270deg);
}

.review-content.no-expand .par > p {
    -webkit-line-clamp: unset;
}

@media (max-width: 767.98px) {
    .breadcrumb-scroll {
        position: relative;
    }
    .breadcrumb-inner {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #9a7db8 rgba(255, 255, 255, 0.1);
    }
    .breadcrumb-home,
    .breadcrumb-parent,
    .breadcrumb-item,
    .breadcrumb-sep {
        flex-shrink: 0;
    }
    /* Chrome / Safari */
    .breadcrumb-inner::-webkit-scrollbar {
        height: 4px;
    }
    .breadcrumb-inner::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.1);
        border-radius: 20px;
    }
    .breadcrumb-inner::-webkit-scrollbar-thumb {
        background: #c5a46d;
        border-radius: 20px;
    }
    /* Fade справа */
    .breadcrumb-scroll.has-scroll::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 48px;
        height: calc(100% - 8px);
        pointer-events: none;
        background: linear-gradient(
            to right,
            rgba(255,255,255,0),
            #f0ecf5
        );
        transition: opacity .2s ease;
    }
    /* Когда дошли до конца */
    .breadcrumb-scroll.scroll-end::after {
        opacity: 0;
    }
}

@media (max-width: 575.98px) {
	.steps__content .btn-link a {
		height: auto;
		gap: 10px;
	}
}

@media (max-width: 424.98px) {
	.skid-block a {
		height: auto;
	}
}

.command-section .container-s {
    margin: 0 15px;
}

/*pagination*/
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid #ccc6cf;
    border-radius: 3px;
    text-decoration: none;
    color: #222;
    transition: all 0.1s ease 0s;
}

.pagination .page-numbers:hover {
	background: #444;
    color: #fff;
}

.pagination .current {
    background: #333;
    color: #fff;
}