/* Вёрстка блоков по макетам maket/main-page/*.png
   Базовые утилиты — в ../../../style.css */

.mp-page .container {
	max-width: 1600px;
}

/* —— Meta —— */
.mp-meta {
	margin-bottom: 25px;
}

.mp-bracket-num {
	margin-bottom: 16px;
}

/* —— Hero (hero_mainpage.png) —— */
.mp-hero__card {
	position: relative;
	align-items: stretch;
	min-height: 800px;
	height: 800px;
	background: var(--surface);
}

.mp-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	border-radius: inherit;
}

.mp-hero__media-gradient {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(97.82deg, var(--surface) 0%, #dff4b8 100%);
}

.mp-hero__vector {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	width: auto;
	height: auto;
	max-width: 42%;
	max-height: 100%;
	opacity: 1;
	object-fit: contain;
	object-position: right top;
}

.mp-hero__man,
.mp-hero__vector {
	border-radius: 0;
}

.mp-hero__man {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 2;
	height: 100%;
	width: auto;
	max-width: none;
	object-fit: contain;
	object-position: right bottom;
}

.mp-hero__left {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 800px;
	height: 100%;
	box-sizing: border-box;
}

.mp-hero__aside {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	min-height: 800px;
	height: 100%;
	padding: 50px;
	box-sizing: border-box;
	pointer-events: none;
}

.mp-hero__title {
	padding: 0;
	margin: 0;
}

.mp-hero__subtitle {
	margin: 0;
	padding: 16px 0 0;
	max-width: 420px;
	font-size: 28px;
}

.mp-hero__intro {
	flex: 0 0 auto;
	margin-bottom: 32px;
}

.mp-hero__footer {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-end;
	width: 100%;
	margin-top: 0;
	padding-top: 0;
	gap: var(--gap, 20px);
}

.mp-hero__tags {
	align-items: flex-start;
}

.mp-hero__tag {
	display: inline-block;
	padding: 5px 10px;
	border: 1px solid var(--light-gray);
	border-radius: 30px;
	background: #fff;
}

.mp-hero__cta,
.mp-page .mp-hero__cta,
.page-front .mp-hero__cta,
.page-flexible .mp-hero__cta {
	flex-shrink: 0;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 140px;
	height: 140px;
	margin: 0 0 0 50px;
	padding: 20px;
	border: 0;
	border-radius: 100%;
	background: var(--main-green-light);
	color: var(--primary-text-color);
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	line-height: 130%;
	font-weight: 450;
	box-sizing: border-box;
}

.mp-hero__cta:hover,
.mp-page .mp-hero__cta:hover,
.page-front .mp-hero__cta:hover,
.page-flexible .mp-hero__cta:hover {
	background: var(--main-green);
	color: #fff;
}

.mp-hero__slogan {
	position: static;
	max-width: 160px;
	margin: 0;
	text-align: right;
	white-space: normal;
}

/* —— Services (services-screen.png) —— */
.mp-services__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	margin-bottom: 40px;
	align-items: start;
}

.mp-services__title {
	padding: 0;
	margin: 0;
}

.mp-services__intro {
	margin: 0;
	padding: 0;
	max-width: 520px;
}

.mp-services__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 20px;
}

.mp-services__card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 220px;
	overflow: hidden;
}

.mp-services__card-top {
	flex: 0 0 auto;
}

.mp-services__card-bottom {
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
}

.mp-services__card--wide {
	grid-column: span 2;
}

.mp-services__card--photo {
	color: #fff;
}

.mp-services__card--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .55) 100%);
	z-index: 1;
}

.mp-services__card--photo .mp-services__card-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.mp-services__card--photo .mp-services__card-top,
.mp-services__card--photo .mp-services__card-bottom {
	position: relative;
	z-index: 2;
}

.mp-services__card--photo .mp-services__card-title,
.mp-services__card--photo .mp-services__link {
	color: #fff;
}

.mp-services__card-title {
	padding: 0 0 16px;
	margin: 0;
}

.mp-services__link {
	font-size: 15px;
	font-weight: 450;
	text-decoration: none;
}

.mp-services__link:hover {
	text-decoration: underline;
}

.mp-services__brand {
	
	min-height: 220px;
}

.mp-services__brand-top {
	width: 100%;
	gap: 16px;
}

.mp-services__brand-name {
	flex: 0 1 auto;
	max-width: 48%;
	padding: 0;
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 120%;
}

.mp-services__brand-slogan {
	flex: 0 1 auto;
	max-width: 48%;
	margin: 0;
	padding: 0;
	text-align: right;
	line-height: 130%;
}

/* —— About (about clinic.png) —— */
.mp-about__top {
	align-items: stretch;
}

.mp-about__top .image_wrapper {
	min-height: 360px;
}

.mp-about__top .image_wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mp-about__title {
	padding: 0;
	margin: 0;
}

.mp-about .mp-bracket-num {
	margin-bottom: 80px;
}

.mp-about__bottom {
	align-items: stretch;
}

.mp-about__col {
	display: flex;
	flex-direction: column;
}

.mp-about__col--split {
	flex-direction: row;
	gap: 20px;
}

.mp-about__col--split .image_wrapper {
	flex: 0 0 48%;
	min-height: 200px;
}

.mp-about__col--split .image_wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mp-about__col-text {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.mp-about__text {
	margin: 0;
	padding: 0;
}

/* —— Clinic / advantages (clinic.png) —— */
.mp-clinic__title {
	padding: 0;
}

.mp-clinic .mp-bracket-num {
	margin-bottom: 40px;
}

.mp-clinic__list {
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.mp-clinic__row:nth-child(even) {
	flex-direction: row-reverse;
}



.mp-clinic__row .left {
	padding-right: 20px;
}

.mp-clinic__row:nth-child(even) .left {
	padding-right: 0;
	padding-left: 100px;
}


.mp-clinic__row .image_wrapper {
	min-height: 280px;
}

.mp-clinic__row .image_wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mp-clinic__row-title {
	padding: 0;
	margin: 0 0 16px;
}

.mp-clinic__row-text {
	margin: 0;
	padding: 0;
}

/* —— Quote (quote.png) —— */
.mp-quote__card {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px;
	align-items: center;
}

.mp-quote__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 24px;
}

.mp-quote__title {
	padding: 0;
	margin: 0;
}

.mp-quote__since {
	margin: 0;
	padding: 0;
	white-space: nowrap;
	text-align: right;
}

.mp-quote__text p {
	padding-bottom: 16px;
}

.mp-quote__text p:last-child {
	padding-bottom: 0;
}

.mp-quote__footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #1416161F;
}

.mp-quote__name {
	padding: 0 0 6px;
	margin: 0;
}

.mp-quote__role {
	margin: 0;
	padding: 0;
}

.mp-quote__photo {
	width: 100%;
	
}

.mp-quote__photo img {
	width: 100%;
	height: auto;
	display: block;
}

/* —— FAQ (faq.png) —— */
.mp-faq__title {
	padding: 0 0 30px;
	margin: 0;
}

.mp-faq .faq_block .question {
	padding: 20px 0;
	cursor: pointer;
	border-top: 1px solid #1416161F;
	flex-wrap: nowrap;
	gap: 16px;
}

.mp-faq .faq_block:first-child .question {
	border-top: 0;
}

.mp-faq .faq_block.accordion.opened .mp-faq__arrow {
	transform: rotate(180deg);
}

.mp-faq__question {
	padding: 0;
	margin: 0;
	font-weight: 500;
	flex: 1 1 auto;
	min-width: 0;
}

.mp-faq .faq_block .mp-faq__arrow {
	position: relative;
	right: auto;
	top: auto;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border-radius: 40px;
	background: var(--surface);
	transform: none;
}

.mp-faq .faq_block .answer {
	padding: 0 0 20px;
}

.mp-faq .faq_block .answer p {
	padding-bottom: 12px;
}

.mp-faq__expert {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	margin-top: 24px;
}

.mp-faq__expert-label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
}

.mp-faq__expert-person,
.mp-faq__expert-link {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mp-faq__expert-link {
	color: inherit;
	text-decoration: none;
}

.mp-faq__expert-link:hover {
	color: inherit;
}

.mp-faq__expert-link:hover .mp-faq__expert-name {
	color: var(--main-green);
}

.mp-faq__expert-photo {
	width: 94px;
	height: 94px;
	border-radius: 100%;
	overflow: hidden;
	flex-shrink: 0;
}

.mp-faq__expert-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mp-faq__expert-name {
	padding: 0 0 4px;
	margin: 0;
	font-size: 20px;
	line-height: 130%;
	font-weight: 450;
}

.mp-faq__expert-role {
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 130%;
	font-weight: 450;
}

/* —— Blog (blog.png) —— */
.mp-blog__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	margin-bottom: 40px;
	align-items: start;
}

.mp-blog__title {
	padding: 0;
	margin: 0;
}

.mp-blog__intro {
	margin: 0;
	padding: 0;
	max-width: 520px;
}

.mp-blog__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 20px;
}

.mp-blog__card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.mp-blog__card-link:hover .mp-blog__card-title {
	color: var(--main-green);
}

.mp-blog__tags {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mp-blog__card-photo {
	position: relative;
	margin-bottom: 20px;
}

.mp-blog__card-photo .image_wrapper {
	aspect-ratio: 4 / 3;
}

.mp-blog__card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mp-blog__card-title {
	padding: 0 0 8px;
	margin: 0;
}

.mp-blog__card-text {
	padding: 0 0 12px;
	margin: 0;
}

.mp-blog__card-date {
	margin: 0;
	padding: 0;
}

/* —— Reviews (review-block.png) —— */
.mp-reviews__head {
	margin-bottom: 40px;
}

.mp-reviews__title {
	padding: 0;
	margin: 0;
}

.mp-reviews__intro {
	margin: 12px 0 0;
	padding: 0;
	max-width: 520px;
}

.mp-reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 40px;
}

.mp-review-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 320px;
	padding: 40px;
}

.mp-review-card__text {
	flex: 1;
	margin: 0 0 24px;
	padding: 0;
}

.mp-review-card__author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.mp-review-card__avatar {
	width: 38px;
	height: 38px;
	border-radius: 100%;
	background: var(--main-green);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
}

.mp-review-card__name {
	font-size: 18px;
	font-weight: 500;
}

.mp-review-card__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.mp-review-card__stars {
	color: #f5a623;
	font-size: 20px;
	letter-spacing: 2px;
	line-height: 1;
}

.mp-review-card__source {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--add-font2);
}

.mp-review-card__source a {
	color: inherit;
	text-decoration: none;
}

.mp-review-card__source-icon {
	width: 18px;
	height: 18px;
	border-radius: 100%;
	background: #fc3f1d;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.mp-reviews__ratings {
	margin-top: 48px;
	margin-bottom: 20px;
}

.mp-reviews__ratings-title {
	margin: 0 0 36px;
	padding: 0;
	max-width: 420px;
}

.mp-reviews__platforms {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px 40px;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.mp-reviews__platform {
	flex: 1 1 0;
	min-width: 0;
}

.mp-reviews__platform-link {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	color: inherit;
	text-decoration: none;
}

.mp-reviews__platform-rating {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 32px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.03em;
}

.mp-reviews__platform-star {
	color: #f5a623;
	font-size: 20px;
	line-height: 1;
}

.mp-reviews__platform-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 28px;
}

.mp-reviews__platform-logo {
	display: inline-flex;
	align-items: center;
	max-height: 28px;
}

.mp-reviews__platform-logo img {
	display: block;
	max-height: 28px;
	width: auto;
	border-radius: 0;
}

.mp-reviews__platform-name {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.mp-reviews__platform-mark {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	line-height: 1;
}

.mp-reviews__platform-yandex-ya {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 100%;
	background: #fc3f1d;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.mp-reviews__platform-yandex-pin {
	display: block;
	flex-shrink: 0;
}

.mp-reviews__platform-mark--prodoctorov {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.mp-reviews__platform-pro-pro {
	color: #2f6fed;
}

.mp-reviews__platform-pro-doc,
.mp-reviews__platform-pro-rest {
	color: #e53935;
}

.mp-reviews__platform-mark--napopravku {
	padding: 7px 12px;
	border-radius: 4px;
	background: #f5c518;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.mp-reviews__platform-mark--google svg {
	display: block;
	flex-shrink: 0;
}

/* —— Events / promotions (events.png) —— */
.mp-events__head {
	margin-bottom: 40px;
}

.mp-events__title {
	padding: 0;
	margin: 0;
}

.mp-events__intro {
	margin: 12px 0 0;
	padding: 0;
	max-width: 520px;
}

.mp-events__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 20px;
}

.mp-events__card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.mp-events__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	margin: 0;
}

.mp-events__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mp-events__badge {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 2;
	background: #fff;
	padding: 10px 20px;
	border-radius: 999px;
	font-size: 14px;
	line-height: 1.2;
}

.mp-events__arrow {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 100%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
}

.mp-events__card:hover .mp-events__arrow {
	background: var(--main-green);
}

.mp-events__body {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 20px;
	z-index: 2;
	background: #fff;
	padding: 28px 32px;
}

.mp-events__card-title {
	margin: 0 0 8px;
	padding: 0;
}

.mp-events__card-text {
	margin: 0;
	padding: 0;
}

/* —— Contacts (contacts.png) —— */
.mp-contacts__shell {
	align-items: stretch;
	min-height: 768px;
	background: #dff4b8;
}

.mp-contacts__shell .tabs.left.mp-contacts__visual {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-height: 768px;
	background: #dff4b8;
	height: 100%;
}

.mp-contacts__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	border-radius: inherit;
}

.mp-contacts__media-gradient {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: #dff4b8;
}

.mp-contacts__vector {
	position: absolute;
	right: -18%;
	bottom: -2%;
	top: auto;
	left: auto;
	z-index: 1;
	width: 78%;
	max-width: none;
	height: auto;
	max-height: none;
	opacity: 1;
	object-fit: contain;
	object-position: right bottom;
	border-radius: 0;
}

.mp-contacts__copy {
	position: relative;
	z-index: 2;
	flex: 1 1 auto;
	flex-wrap: nowrap;
	gap: 0;
	min-height: 100%;
	height: 100%;
	width: 100%;
	max-width: none;
}

.mp-contacts__top,
.mp-contacts__bottom {
	width: 100%;
}

.mp-contacts__top {
	margin-bottom: 100px;
}

.mp-contacts__title {
	padding: 0 0 24px;
	margin: 0;
	max-width: none;
}

.mp-contacts__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.mp-contacts__tab {
	padding: 10px 18px;
	border: 0;
	border-radius: 30px;
	background: transparent;
	font-family: var(--text-font-family);
	font-size: 14px;
	line-height: 130%;
	cursor: pointer;
	color: var(--primary-text-color);
}

.mp-contacts__tab.is-active {
	background: #fff;
}

.mp-contacts__label {
	padding: 0 0 8px;
	margin: 0;
}

.mp-contacts__address {
	padding: 0 0 8px;
	margin: 0;
}

.mp-contacts__metro {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	font-size: 14px;
}

.mp-contacts__metro-icon {
	width: 12px;
	height: 12px;
	border-radius: 2px;
	background: var(--main-green);
	flex-shrink: 0;
}

.mp-contacts__hours {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 32px;
}

.mp-contacts__hour {
	padding: 8px 16px;
	border: 1px solid #1416161F;
	border-radius: 30px;
	font-size: 14px;
	line-height: 130%;
}

.mp-contacts__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 32px;
}

.mp-contacts__value {
	margin: 0;
	padding: 0;
	text-decoration: underline;
	font-weight: 500;
}

.mp-contacts .toall {
	margin-top: 0;
	background: #fff;
	border: 0;
}

.mp-contacts__map {
	min-height: 768px;
	background: #e8e8e8;
}

.mp-contacts__map-embed,
.mp-contacts__map-embed iframe,
.mp-contacts__map-embed script + div,
.mp-contacts__map-embed > div {
	width: 100%;
	height: 100%;
	min-height: 768px;
}

.mp-contacts__map-embed iframe {
	border: 0;
	display: block;
}

.mp-contacts__map img {
	width: 100%;
	height: 100%;
	min-height: 768px;
	object-fit: cover;
	display: block;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
	.mp-quote__card,
	.mp-services__head,
	.mp-blog__head,
	.mp-about__bottom,
	.mp-blog__grid,
	.mp-reviews__grid,
	.mp-events__grid,
	.mp-services__grid,
	.mp-contacts__shell {
		grid-template-columns: 1fr;
		flex-direction: column;
	}

	.mp-reviews__platforms {
		gap: 24px;
		flex-wrap: wrap;
	}

	.mp-reviews__platform {
		flex: 1 1 calc(50% - 12px);
	}

	.mp-clinic__row,
	.mp-clinic__row:nth-child(even) {
		flex-direction: column;
	}

	.mp-clinic__row .left,
	.mp-clinic__row .right,
	.mp-clinic__row:nth-child(even) .left,
	.mp-clinic__row:nth-child(even) .right {
		width: 100%;
		flex: 1 1 100%;
		padding: 0;
	}

	.mp-hero__card {
		flex-direction: column;
		min-height: auto;
		height: auto;
	}

	.mp-hero__media-gradient {
		inset: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(97.82deg, var(--surface) 0%, #dff4b8 100%);
	}

	.mp-hero__vector {
		top: 0;
		right: 0;
		max-width: 60%;
		max-height: 45%;
		opacity: 1;
		transform: none;
	}

	.mp-hero__man {
		height: 55%;
		right: 0;
	}

	.mp-hero__left,
	.mp-hero__aside {
		width: 100%;
		flex: 1 1 100%;
		min-height: auto;
		height: auto;
	}

	.mp-hero__aside {
		padding: 20px 50px 50px;
	}

	.mp-hero__footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
	}

	.mp-hero__slogan {
		max-width: 200px;
		margin: 0 0 0 auto;
		text-align: right;
	}

	.mp-services__card--wide {
		grid-column: auto;
	}

	.mp-about__col--split {
		flex-direction: column;
	}

	.mp-about__col--split .image_wrapper {
		flex: none;
		width: 100%;
	}

	.mp-quote__card {
		display: flex;
		flex-direction: column;
	}

	.mp-faq__expert {
		flex-direction: column;
		align-items: flex-start;
	}

	.mp-contacts__shell .tabs.left.mp-contacts__visual,
	.mp-contacts__shell .right {
		width: 100%;
		flex: 1 1 100%;
	}

	.mp-contacts__shell,
	.mp-contacts__shell .tabs.left.mp-contacts__visual,
	.mp-contacts__map,
	.mp-contacts__map img,
	.mp-contacts__map-embed,
	.mp-contacts__map-embed iframe,
	.mp-contacts__map-embed script + div,
	.mp-contacts__map-embed > div {
		min-height: 560px;
	}

	.mp-lead-form__shell {
		flex-direction: column;
	}

	.mp-lead-form.block_form_consult .mp-lead-form__visual.left,
	.mp-lead-form__form.right {
		width: 100%;
		flex: 1 1 100%;
	}

	.mp-contacts__vector,
	.mp-lead-form__vector {
		right: -30%;
		bottom: 0;
		top: auto;
		width: 100%;
		max-width: none;
		max-height: none;
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 768px) {
	.mp-hero__left.p_50,
	.mp-quote__card.p_50,
	.mp-contacts__shell .tabs.left.p_50 {
		padding: 30px 20px;
	}

	.mp-contacts__grid {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-bottom: 28px;
	}

	.mp-reviews__platforms {
		flex-direction: column;
		gap: 28px;
	}

	.mp-reviews__platform {
		flex: 1 1 auto;
		width: 100%;
	}

	.mp-contacts__shell,
	.mp-contacts__shell .tabs.left.mp-contacts__visual,
	.mp-contacts__map,
	.mp-contacts__map img,
	.mp-contacts__map-embed,
	.mp-contacts__map-embed iframe,
	.mp-contacts__map-embed script + div,
	.mp-contacts__map-embed > div {
		min-height: 420px;
	}

	.mp-services__card,
	.mp-services__brand {
		min-height: 180px;
	}
}

/* —— Doctors (doctors.png) —— */
.sp-doctors__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	margin-bottom: 40px;
	align-items: start;
}

.sp-doctors__title {
	padding: 0;
	margin: 0;
}

.sp-doctors__intro {
	margin: 0;
	padding: 0;
}

.sp-doctors .gallery.card_wrapper {
	flex-wrap: wrap;
	gap: 10px;
}

.sp-doctors .gallery.card_wrapper > .specialist_card {
	flex: 1 1 calc((100% - 20px) / 3);
	min-width: min(100%, 280px);
}

@media (max-width: 1024px) {
	.sp-doctors__head,
	.sp-doctors .gallery.card_wrapper {
		grid-template-columns: 1fr;
		flex-direction: column;
	}
	.mp-hero__cta{
		margin-left: 0;
	}
	.mp-hero__tags{
		flex-direction: row;
	}
	.sp-doctors .gallery.card_wrapper > .specialist_card {
		flex: 1 1 100%;
	}
}

/* —— Lead form (form_consult.php) —— */
.mp-lead-form__shell {
	align-items: stretch;
	min-height: auto !important;
}

.mp-lead-form.block_form_consult .mp-lead-form__visual.left {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	min-height: 420px !important;
	background: var(--surface);
}

.mp-lead-form__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	border-radius: inherit;
}

.mp-lead-form__media-gradient {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(97.82deg, var(--surface) 0%, #dff4b8 100%);
}

.mp-lead-form__vector {
	position: absolute;
	right: -30%;
	bottom: 0;
	top: auto;
	left: auto;
	z-index: 1;
	width: 100%;
	max-width: none;
	height: auto;
	max-height: none;
	opacity: 1;
	object-fit: contain;
	object-position: right bottom;
	border-radius: 0;
}

.mp-lead-form__copy {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1 1 auto;
	min-height: 100%;
	max-width: none;
	width: 100%;
}

.mp-lead-form__title {
	padding: 0;
	margin: 0;
	max-width: none;
}

.mp-lead-form__footer {
	margin: auto 0 0;
	padding: 0;
	max-width: 320px;
}

.mp-lead-form__form {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	min-height: 420px;
}

.mp-lead-form__form > .sp-cta__form,
.mp-lead-form__form > form {
	width: 100%;
}
