
/* --- Снятие ограничений шаблона на этой странице --- */
body:has(.fig-page) {
	background-color: #F9F9F9;
	overflow-x: hidden; /* подвал раскрывается на всю ширину через 100vw */
}
#content:has(.fig-page) {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	display: block;
}
/* /specialists/index.php оборачивает и список, и страницу врача в #main со своим
   h1 «Наши специалисты». На странице врача в редизайне свой h1 с ФИО — общий прячем */
#main:has(.fig-page) {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}
#main:has(.fig-page) > h1 {
	display: none;
}
/* Штатный подвал шаблона заменён подвалом из макета */

.fig-page {
	--fig-teal: #0099A3;
	--fig-teal-2: #03AAB5;
	--fig-link: #56C1C8;
	--fig-navy: #35415E;
	--fig-text: #444D65;
	--fig-text-2: #576485;
	--fig-muted: #667089;
	--fig-muted-2: #74809C;
	--fig-muted-3: #8D8CA0;
	--fig-footer-link: #6A738C;
	--fig-radius: 20px;
	--fig-shadow: 0 4px 12.8px rgba(136, 157, 187, 0.08);

	font-family: "Roboto", sans-serif;
	color: var(--fig-text);
	background-color: #F9F9F9;
	text-align: left;
	box-sizing: border-box;
}
.fig-page *,
.fig-page *::before,
.fig-page *::after {
	box-sizing: border-box;
}
.fig-page p,
.fig-page ul,
.fig-page li,
.fig-page h1,
.fig-page h2 {
	margin: 0;
	padding: 0;
}
.fig-page img {
	max-width: 100%;
}
.fig-page a {
	text-decoration: none;
	color: inherit;
}

.fig-container {
	width: 100%;
	max-width: 1636px;
	margin: 0 auto;
}

.fig-section {
	margin-top: 140px;
}

/* --- Заголовок секции --- */
.fig-title {
	font-family: "Oswald", sans-serif;
	font-weight: 700;
	font-size: 64px;
	line-height: 1.2;
	color: var(--fig-teal);
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 50px !important;
}

/* --- Кнопка --- */
.fig-btn {
	display: inline-flex;
	align-items: center;
	gap: 70px;
	height: 72px;
	padding: 0 11px 0 40px;
	border-radius: 100px;
	background-color: var(--fig-teal);
	color: #FFFFFF;
	cursor: pointer;
	transition: background-color .2s ease;
}
.fig-btn:hover {
	background-color: #007F88;
	text-decoration: none;
}
.fig-btn__text {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 1;
	text-transform: uppercase;
	color: #FFFFFF;
	white-space: nowrap;
}
.fig-btn__icon {
	display: block;
	flex: 0 0 50px;
	width: 50px;
	height: 50px;
	line-height: 0;
}
.fig-btn__icon img {
	display: block;
	width: 50px;
	height: 50px;
}
/* Кнопка без стрелки */
a.fig-btn--plain {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	height: 64px;
	padding: 0 20px;
	border-radius: 50px;
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 1;
	text-transform: uppercase;
	text-align: center;
	color: #FFFFFF;
}

.fig-section__action {
	margin-top: 51px;
	text-align: center;
}

/* --- Ссылка «подробнее» --- */
a.fig-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: "Sofia Sans", sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 1;
	color: var(--fig-teal);
}
.fig-link img {
	display: block;
	width: 41px;
	height: 8px;
}
.fig-link:hover {
	text-decoration: none;
	opacity: .75;
}

/* =========================================================================
   1. Первый экран
   ========================================================================= */
.fig-hero {
	margin-top: 30px;
}
.fig-hero__card {
	position: relative;
	display: flex;
	min-height: 880px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-hero__content {
	flex: 1 1 auto;
	padding: 60px 48px 60px 60px;
	display: flex;
	flex-direction: column;
}
.fig-hero__media {
	position: relative;
	flex: 0 0 49.63%;
	max-width: 49.63%;
}
.fig-hero__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--fig-radius);
}

/* Плашка с адресом */
.fig-pill {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	align-self: flex-start;
	padding: 22px 30px;
	border: 1px solid rgba(124, 142, 185, 0.2);
	border-radius: 60px;
}
.fig-pill img {
	display: block;
	width: 34px;
	height: 23px;
}
.fig-pill span {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 22px;
	line-height: 20px;
	color: var(--fig-muted);
	white-space: nowrap;
}

.fig-hero__title {
	margin-top: 60px !important;
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 72px;
	line-height: 1.2;
	color: var(--fig-navy);
	text-transform: none;
}
.fig-hero__subtitle {
	margin-top: 40px !important;
	max-width: 716px;
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 26px;
	line-height: 1.2;
	color: var(--fig-teal);
}
.fig-hero__list {
	margin-top: 40px !important;
	padding-left: 36px !important;
	max-width: 598px;
	list-style: disc;
}
.fig-hero__list li {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 1.1;
	color: var(--fig-muted);
}
.fig-hero__list li + li {
	margin-top: 10px;
}
.fig-hero__content .fig-btn {
	margin-top: auto;
	align-self: flex-start;
}

/* Плашка «лечим не семьи, а поколения» */
.fig-hero__badge {
	position: absolute;
	left: 50%;
	bottom: 40px;
	transform: translateX(-50%);
	width: 495px;
	max-width: calc(100% - 40px);
	min-height: 186px;
	padding: 40px 30px;
	background-color: #FFFFFF;
	border-radius: 10px;
	box-shadow: 2px 4px 4px rgba(177, 177, 177, 0.25);
	text-align: center;
}
.fig-hero__badge-bar {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 147px;
	height: 12px;
	background-color: var(--fig-teal);
	border-radius: 0 0 10px 10px;
}
.fig-hero__badge p {
	font-family: "Oswald", sans-serif;
	font-weight: 700;
	font-size: 40px;
	line-height: 53px;
	color: var(--fig-navy);
	text-transform: uppercase;
}

/* Точки-индикаторы под первым экраном */
.fig-dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 50px;
}
.fig-dots__item {
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background-color: #C4ECEE;
}
.fig-dots__item--active {
	background-color: var(--fig-text);
}

/* Owl-слайдер первого экрана (компонент bitrix:slider, шаблон slider_figma) */
.fig-hero__slider .owl-stage-outer {
	/* Запас снизу, чтобы overflow: hidden не срезал тень карточки.
	   По бокам отступов быть не должно: они расширяют видимую область
	   и из-под краёв контейнера показываются соседние слайды. */
	padding-bottom: 14px;
	margin-bottom: -14px;
}
.fig-hero__slider .owl-item .fig-hero__card {
	height: 100%;
}

.fig-hero__slider .owl-item .fig-hero__photo {
	width: 100%;
}
/* Точки Owl оформляем так же, как статичные .fig-dots */
.fig-hero__slider .owl-dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	/* 50px по макету + 14px, съеденные отрицательным margin у .owl-stage-outer */
	margin-top: 64px;
}
.fig-hero__slider .owl-dots .owl-dot {
	margin: 0;
}
.fig-hero__slider .owl-dots .owl-dot span {
	display: block;
	width: 18px;
	height: 18px;
	margin: 0;
	border-radius: 50%;
	background-color: #C4ECEE;
}
.fig-hero__slider .owl-dots .owl-dot.active span,
.fig-hero__slider .owl-dots .owl-dot:hover span {
	background-color: var(--fig-text);
}

/* HTML-текст слайда из инфоблока: первый абзац — подзаголовок, список — преимущества */
.fig-hero__text {
	margin-top: 40px;
}
.fig-hero__text p {
	max-width: 716px;
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 26px;
	line-height: 1.2;
	color: var(--fig-teal);
}
.fig-hero__text p + p {
	margin-top: 20px !important;
}
.fig-hero__text ul {
	margin-top: 40px !important;
	padding-left: 36px !important;
	max-width: 598px;
	list-style: disc;
}
.fig-hero__text ul li {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 1.1;
	color: var(--fig-muted);
}
.fig-hero__text ul li + li {
	margin-top: 10px;
}

/* =========================================================================
   2. Услуги
   ========================================================================= */
.fig-services__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.fig-service {
	display: flex;
	flex-direction: column;
	min-height: 468px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-service__img {
	display: block;
	width: 100%;
	aspect-ratio: 397 / 291;
	object-fit: cover;
	border-radius: var(--fig-radius);
}
.fig-service__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 30px 30px 37px;
}
.fig-service__title {
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 38px;
	color: var(--fig-text-2);
	text-transform: uppercase;
}
.fig-service__body .fig-link {
	margin-top: auto;
	padding-top: 20px;
}

/* =========================================================================
   3. Акции
   ========================================================================= */
.fig-promo__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}
.fig-promo-card {
	display: flex;
	min-height: 395px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-promo-card__img {
	display: block;
	flex: 0 0 48.6%;
	width: 48.6%;
	min-width: 0;
	max-width: 48.6%;
	object-fit: cover;
	border-radius: var(--fig-radius);
}
.fig-promo-card__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 30px 30px 30px 34px;
}
.fig-promo-card__title {
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 38px;
	color: var(--fig-text-2);
}
.fig-promo-card__price {
	margin-top: 30px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.1;
	color: var(--fig-muted);
}
.fig-promo-card__note,
.fig-promo-card__list {
	margin-top: 19px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 20px;
	color: var(--fig-muted);
}
.fig-promo-card__list {
	padding-left: 27px !important;
	list-style: disc;
}
.fig-promo-card__list li + li {
	margin-top: 5px;
}
.fig-promo-card__link {
	margin-top: auto;
	padding-top: 20px;
}
/* Картинка обёрнута ссылкой — размеры колонки задаём обёртке */
.fig-promo-card__imglink {
	flex: 0 0 48.6%;
	width: 48.6%;
	min-width: 0;
	max-width: 48.6%;
	line-height: 0;
}
.fig-promo-card__imglink .fig-promo-card__img {
	flex: none;
	width: 100%;
	max-width: 100%;
	height: 100%;
}
/* Анонс акции приходит из инфоблока одним HTML-полем */
.fig-promo-card__text p {
	margin-top: 30px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.1;
	color: var(--fig-muted);
}
.fig-promo-card__text p ~ p {
	margin-top: 19px !important;
	font-weight: 400;
	font-size: 18px;
	line-height: 20px;
}
.fig-promo-card__text ul {
	margin-top: 19px !important;
	padding-left: 27px !important;
	list-style: disc;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 20px;
	color: var(--fig-muted);
}
.fig-promo-card__text ul li + li {
	margin-top: 5px;
}

/* =========================================================================
   4. Блок «Обратный звонок»
   ========================================================================= */
.fig-cta {
	margin-top: 69px;
}
.fig-cta__wrap {
	position: relative;
	min-height: 779px;
}
.fig-cta__card {
	position: absolute;
	left: 0;
	top: 132px;
	width: 100%;
	min-height: 647px;
	padding: 60px 60px 60px 0;
	display: flex;
	justify-content: flex-end;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-cta__text {
	width: 642px;
	max-width: 100%;
}
.fig-cta__title {
	font-family: "Oswald", sans-serif;
	font-weight: 700;
	font-size: 64px;
	line-height: 80px;
	color: var(--fig-teal);
	text-transform: uppercase;
}
.fig-cta__lead {
	margin-top: 60px !important;
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 38px;
	color: var(--fig-text-2);
}
.fig-cta__sub {
	margin-top: 16px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 22px;
	line-height: 1.2;
	color: var(--fig-muted);
}
.fig-cta__text .fig-btn {
	margin-top: 95px;
}
.fig-cta__photo {
	position: absolute;
	left: -189px;
	top: 0;
	width: 1169px;
	max-width: none;
	height: 779px;
	object-fit: contain;
	object-position: left bottom;
	pointer-events: none;
}

/* Плашки-преимущества поверх фото */
.fig-fact {
	position: absolute;
	width: 297px;
	padding: 22px 20px 20px;
	background-color: rgba(255, 255, 255, 0.96);
	-webkit-backdrop-filter: blur(4.4px);
	backdrop-filter: blur(4.4px);
	border-radius: 10px;
	box-shadow: 2px 4px 4px rgba(177, 177, 177, 0.25), inset 1px 1px 6.3px #D8E4E8;
}
.fig-fact--a { left: -20px; top: 428px; }
.fig-fact--b { left: 588px; top: 456px; }
.fig-fact--c { left: 267px; top: 596px; }
.fig-fact__bar {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 88px;
	height: 7px;
	background-color: var(--fig-teal);
	border-radius: 0 0 10px 10px;
	box-shadow: 0 1px 1px rgba(155, 148, 158, 0.25);
}
.fig-fact__bar--wide {
	width: 108px;
}
.fig-fact__icon {
	position: absolute;
	top: 11px;
	right: 11px;
	display: block;
	width: 30px;
	height: 30px;
	object-fit: contain;
}
.fig-fact__title {
	padding-right: 40px;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 19px;
	color: var(--fig-text);
}
.fig-fact__text {
	margin-top: 12px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 19px;
	color: var(--fig-text);
}

/* =========================================================================
   5. Специалисты
   ========================================================================= */
.fig-doctors__grid {
	display: grid;
	/* minmax(0, 1fr): без него колонка не сжимается ниже min-content карточки
	   (фото + неразрывные слова) и сетка вылезает за контейнер */
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 35px;
}
.fig-doctor {
	display: flex;
	flex-direction: column;
	min-height: 883px;
	padding: 50px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-doctor__top {
	display: flex;
	gap: 20px;
}
.fig-doctor__photo {
	display: block;
	flex: 0 0 272px;
	width: 272px;
	height: 338px;
	object-fit: cover;
	object-position: top center;
	border-radius: 10px;
}
.fig-doctor__info {
	flex: 1 1 auto;
	/* min-width: 0 — иначе длинные ФИО и специализации распирают карточку */
	min-width: 0;
	display: flex;
	flex-direction: column;
}
.fig-doctor__name {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 33px;
	line-height: 1.2;
	color: var(--fig-teal);
	overflow-wrap: break-word;
}
.fig-doctor__spec {
	margin-top: 15px !important;
	overflow-wrap: break-word;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 22px;
	line-height: 1.2;
	color: var(--fig-muted-3);
	text-transform: lowercase;
}
.fig-doctor__rank {
	margin-top: auto !important;
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 1.1;
	color: var(--fig-muted);
}
.fig-doctor__exp {
	margin-top: 14px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 1.1;
	color: var(--fig-muted);
	text-transform: lowercase;
}
.fig-doctor__review {
	display: flex;
	flex-direction: column;
	width: calc(100% + 20px);
	min-height: 301px;
	margin: 30px -10px 0;
	padding: 40px 20px 30px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-doctor__review-label {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 1.1;
	color: var(--fig-teal-2);
}
.fig-doctor__review-text {
	margin-top: 13px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 20px;
	line-height: 30px;
	color: var(--fig-text);
}
.fig-review-link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 12px;
	margin-top: auto;
	padding-top: 20px;
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 1.1;
	color: var(--fig-link);
	text-decoration: underline;
}
.fig-review-link img {
	display: block;
	width: 41px;
	height: 8px;
}
.fig-review-link:hover {
	opacity: .75;
}
.fig-doctor__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	margin: 20px -10px 0;
}
.fig-doctor__place {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: 12px;
}
.fig-doctor__place > img {
	display: block;
	flex: 0 0 24px;
	width: 24px;
	height: 29px;
}
.fig-doctor__place-label,
.fig-doctor__place-value {
	display: block;
}
.fig-doctor__place-label {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.2;
	color: var(--fig-teal);
}
.fig-doctor__place-value {
	margin-top: 12px;
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 20px;
	line-height: 1.1;
	color: var(--fig-text);
}
.fig-doctor__certs {
	display: flex;
	gap: 8px;
}
.fig-doctor__certs a {
	display: block;
	line-height: 0;
}
.fig-doctor__certs img {
	display: block;
	width: 90px;
	height: 108px;
	object-fit: cover;
	border: 2px solid var(--fig-muted-2);
	border-radius: 6px;
}
/* Фото и имя обёрнуты ссылкой на страницу врача */
.fig-doctor__photolink {
	flex: 0 0 272px;
	width: 272px;
	line-height: 0;
}
.fig-doctor__photolink .fig-doctor__photo {
	flex: none;
	width: 100%;
}
.fig-doctor__info > a {
	display: block;
}
/* Врач может принимать в нескольких клиниках */
.fig-doctor__place-value + .fig-doctor__place-value {
	margin-top: 4px;
}

/* =========================================================================
   6. Отзывы
   ========================================================================= */
.fig-reviews__grid {
	display: grid;
	grid-template-columns: 1044fr 562fr;
	gap: 30px;
	align-items: stretch;
}
.fig-reviews__col {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.fig-review {
	display: flex;
	flex-direction: column;
	padding: 50px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-reviews__col > .fig-review {
	flex: 1 1 auto;
}
.fig-review__title {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 32px;
	line-height: 1.2;
	color: var(--fig-teal);
}
.fig-review__text {
	margin-top: 29px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 22px;
	line-height: 33px;
	color: var(--fig-text-2);
}
.fig-review__foot {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: auto;
	padding-top: 50px;
}
.fig-review__author {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 1.2;
	color: var(--fig-text);
}
.fig-stars {
	display: inline-flex;
	gap: 10px;
}
.fig-stars img {
	display: block;
	width: 24px;
	height: 24px;
}
/* Тёмно-бирюзовая плашка «Все отзывы» */
.fig-reviews__all {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 191px;
	padding: 0 50px 37px;
	align-items: flex-end;
	background-color: var(--fig-teal);
	border-radius: var(--fig-radius);
	box-shadow: 2px 4px 4px rgba(134, 134, 134, 0.25), inset 0 2px 14.6px rgba(73, 198, 205, 0.32);
	transition: background-color .2s ease;
}
.fig-reviews__all:hover {
	background-color: #007F88;
	text-decoration: none;
}
.fig-reviews__all-logo {
	position: absolute;
	top: 20px;
	right: 20px;
	display: block;
	width: 70px;
	height: 70px;
	object-fit: contain;
}

/* =========================================================================
   7. Новости
   ========================================================================= */
.fig-news__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
.fig-news-card {
	display: flex;
	flex-direction: column;
	min-height: 478px;
	padding: 30px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
	transition: box-shadow .2s ease;
}
.fig-news-card:hover {
	box-shadow: 0 8px 24px rgba(136, 157, 187, 0.18);
	text-decoration: none;
}
.fig-news-card__img {
	display: block;
	width: 100%;
	aspect-ratio: 465 / 271;
	object-fit: cover;
	border-radius: 10px;
}
.fig-news-card__title {
	margin-top: 30px !important;
	font-family: "Oswald", sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 1.3;
	color: var(--fig-text);
	text-transform: uppercase;
}
.fig-news-card__date {
	margin-top: auto !important;
	padding-top: 20px;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 24px;
	line-height: 1.1;
	color: var(--fig-teal-2);
}

/* =========================================================================
   8. Контакты
   ========================================================================= */
.fig-contacts__map {
	position: relative;
	min-height: 868px;
	padding: 40px;
	background-color: #E8EEF2;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	border-radius: var(--fig-radius);
	overflow: hidden;
}
/* Контейнер карты Яндекса: конструктор подставляет сюда свой iframe */
.fig-contacts__frame {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}
.fig-contacts__frame iframe {
	display: block;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}
.fig-contacts__card {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: 568px;
	max-width: 100%;
	min-height: 788px;
	padding: 80px 60px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
}
.fig-contacts__title {
	font-family: "Oswald", sans-serif;
	font-weight: 700;
	font-size: 64px;
	line-height: 1;
	color: var(--fig-teal);
	text-transform: uppercase;
}
.fig-contacts__list {
	position: relative;
	margin-top: 60px;
}
/* Группа строк одной клиники: адрес, телефон, режим работы */
.fig-contacts__group + .fig-contacts__group {
	margin-top: 40px;
}
.fig-contacts__item {
	display: flex;
	align-items: center;
	gap: 20px;
}
.fig-contacts__item > img {
	display: block;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	object-fit: contain;
}
.fig-contacts__item p {
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 41px;
	color: var(--fig-muted-3);
}
.fig-contacts__item a {
	color: var(--fig-muted-3);
}
.fig-contacts__item a:hover {
	color: var(--fig-teal);
	text-decoration: none;
}
.fig-contacts__card .fig-btn--plain {
	width: 448px;
	max-width: 100%;
	margin-top: auto;
}

/* =========================================================================
   9. Подвал (по макету)
   ========================================================================= */
.fig-footer {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-top: 140px;
	padding: 80px 0 50px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-footer__logo img {
	display: block;
	width: 466px;
	max-width: 100%;
	height: auto;
}
.fig-footer__cols {
	position: relative;
	display: flex;
	justify-content: space-between;
	gap: 30px;
	margin-top: 80px;
	padding-bottom: 90px;
}
.fig-footer__col {
	display: flex;
	flex-direction: column;
}
.fig-footer__head {
	margin-bottom: 59px !important;
	font-family: "Oswald", sans-serif;
	font-weight: 700;
	font-size: 26px;
	line-height: 1.2;
	color: var(--fig-teal);
}
.fig-footer__col a,
.fig-footer__col > p:not(.fig-footer__head) {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 20px;
	line-height: 20px;
	letter-spacing: 0.6px;
	color: var(--fig-footer-link);
	margin-bottom: 24px;
	white-space: nowrap;
}
.fig-footer__col a:hover {
	color: var(--fig-teal);
	text-decoration: none;
}
.fig-footer__socials {
	display: flex;
	gap: 20px;
	margin-top: 20px;
}
.fig-footer__socials a {
	margin-bottom: 0;
}
.fig-footer__socials img {
	display: block;
	width: 46px;
	height: 46px;
}
.fig-footer__btn {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 428px;
	margin-bottom: 0 !important;
	white-space: normal;
}
.fig-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	padding-top: 40px;
	border-top: 1px solid #D1DBF3;
}
.fig-footer__bottom-col p,
.fig-footer__bottom-col a {
	display: block;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 28px;
	color: var(--fig-muted-2);
}
.fig-footer__bottom-col p + p,
.fig-footer__bottom-col a + p,
.fig-footer__bottom-col p + a,
.fig-footer__bottom-col a + a {
	margin-top: 10px;
}
.fig-footer__bottom-col--right {
	text-align: right;
}
.fig-footer__bottom-col--right a {
	text-decoration: underline;
}

/* =========================================================================
   Отличия отдельных страниц

   Правила ниже специфичнее одноимённых правил выше, поэтому перебивают их
   на любой ширине — в том числе внутри медиазапросов. Значит, если страница
   переопределяет свойство, она обязана задать его и на всех брейкпоинтах,
   где базовое значение меняется. См. хвост каждого блока адаптива.
   ========================================================================= */

/* --- Услуги, /services/test.php (макет node 976-2108) ---
   Сетка в три колонки, картинка шире и ниже, заголовок карточки набран
   Roboto без капса, ссылка «подробнее» — тоже Roboto, а не Sofia Sans.
   Блоки «Обратный звонок» и «Контакты» совпадают с главной и берутся выше. */
.fig-page--services .fig-title {
	line-height: 1.48;
	margin-bottom: 67px !important;
}
/* В макете 80px от низа шапки до строки заголовка */
.fig-page--services .fig-services {
	margin-top: 80px;
}
/* grid-auto-rows выравнивает высоту всех карточек, как в макете */
.fig-page--services .fig-services__grid {
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 1fr;
	gap: 20px;
}
.fig-page--services .fig-service {
	min-height: 0;
}
.fig-page--services .fig-service__img {
	aspect-ratio: 532 / 280;
}
.fig-page--services .fig-service__title {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 34px;
	line-height: 1.2;
	text-transform: none;
}
.fig-page--services .fig-link {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	gap: 8px;
}

/* --- Страница клиники, /komendantskaya_ploschad_8/test.php (макет node 976-2942) ---
   Первый экран собран на базовых .fig-hero*: карточка ниже, чем на главной,
   вместо слайдера — одно фото, вместо списка преимуществ — адрес.
   Блоки «Контакты» и «Обратный звонок» совпадают с главной и берутся выше.
   Между секциями по макету 160px против 140px на главной. */
.fig-page--clinic .fig-section {
	margin-top: 160px;
}
.fig-page--clinic .fig-hero {
	margin-top: 20px;
}
.fig-page--clinic .fig-hero__card {
	min-height: 677px;
}
.fig-page--clinic .fig-hero__content {
	padding: 72px 40px 80px 60px;
}
.fig-page--clinic .fig-pill img {
	width: 30px;
	height: 20px;
}
.fig-page--clinic .fig-pill span {
	font-size: 20px;
}
.fig-page--clinic .fig-hero__title {
	margin-top: 75px !important;
	font-size: 64px;
	line-height: 74px;
}
.fig-clinic__address {
	margin-top: 24px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 30px;
	color: var(--fig-muted);
}
/* Комендантский пр., 34: фото на первом экране шире (869px против 812px),
   а адрес длиннее и по макету набран мельче — иначе не встаёт в одну строку */
.fig-page--clinic .fig-hero__media--wide {
	flex: 0 0 53.1%;
	max-width: 53.1%;
}
.fig-clinic__address--long {
	font-size: 24px;
}

/* Оценки клиники в агрегаторах. Ширины карточек в макете разные (290/343),
   поэтому колонки заданы долями, а не repeat(5, 1fr) */
.fig-rating {
	margin-top: 20px;
}
.fig-rating__grid {
	display: grid;
	grid-template-columns: 290fr 343fr 290fr 343fr 290fr;
	gap: 20px;
}
.fig-rating__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 98px;
	padding: 0 24px 0 30px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-rating__logo {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 40px;
	/* У картинки во флексе min-width: auto, поэтому широкий логотип (ПроДокторов,
	   НаПоправку) не даёт себя ужать и распирает карточку на узких экранах.
	   min-width: 0 разрешает сжатие, object-fit оставляет пропорции */
	min-width: 0;
	object-fit: contain;
	object-position: left center;
}
/* Оценка узкая и не переносится — пусть место отбирает логотип, а не она */
.fig-rating__score {
	flex: 0 0 auto;
}
.fig-rating__score {
	display: inline-flex;
	align-items: flex-start;
	gap: 2px;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 27px;
	line-height: 1.2;
	color: var(--fig-navy);
	white-space: nowrap;
}
.fig-rating__score img {
	display: block;
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	margin-top: 2px;
}

/* Логотип ПроДокторов шире остальных — на страницах клиник он четвёртый в ряду.
   Правило намеренно ограничено клиниками: на главной порядок карточек другой */
.fig-page--clinic .fig-rating__grid .fig-rating__item:nth-child(4) img{
	max-width: 180px;
}

/* --- Главная: те же карточки, но пять равных колонок и две строки ---------
   У 2ГИС, Яндекса и Google по макету карточка занимает обе строки: сверху
   логотип с оценкой, снизу подпись о премии. В крайних колонках вместо одной
   высокой — две коротких карточки, они встают туда автораскладкой грида */
/* minmax(0, …) обязателен: у голого fr минимум равен min-content, и широкий
   логотип в первой колонке растягивает её, ломая пропорции макета */
.fig-rating--main .fig-rating__grid {
	grid-template-columns: minmax(0, 350fr) minmax(0, 315fr) minmax(0, 315fr) minmax(0, 288fr) minmax(0, 288fr);
}
.fig-rating--main .fig-rating__item {
	padding: 0 28px 0 30px;
}
/* Логотип Яндекса в макете на 2px выше остальных */
.fig-rating--main .fig-rating__logo {
	max-height: 42px;
}
/* Логотип и оценка вынесены в отдельную строку, чтобы под ними поместилась подпись */
.fig-rating--main .fig-rating__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex: 1 1 auto;
	width: 100%;
}
.fig-rating--main .fig-rating__item--tall {
	grid-row: span 2;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 0;
}
.fig-rating--main .fig-rating__item:nth-child(6) img{
	max-width: 180px;
}


/* Шапка занимает ровно высоту одной строки сетки — тогда логотип с оценкой
   стоят на одной линии с соседними короткими карточками. min-height: inherit
   берёт значение с самой карточки, поэтому правило работает на всех брейкпоинтах */
.fig-rating--main .fig-rating__item--tall .fig-rating__head {
	flex: 0 0 auto;
	min-height: inherit;
}
.fig-rating__note {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 24px;
	line-height: 1.2;
	color: var(--fig-muted-2);
}

/* Виртуальный тур: панорама Google в пропорциях макета */
.fig-tour__frame {
	position: relative;
	aspect-ratio: 1636 / 692;
	background-color: #E8EEF2;
	border-radius: var(--fig-radius);
	overflow: hidden;
}
.fig-tour__frame iframe {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Фото клиники и врачей: средний снимок крупнее боковых и центрирован по ним */
.fig-gallery {
	display: grid;
	grid-template-columns: 483fr 610fr 483fr;
	align-items: center;
	gap: 30px;
}
.fig-gallery__img {
	display: block;
	width: 100%;
	aspect-ratio: 483 / 340;
	object-fit: cover;
	border-radius: 10px;
}
.fig-gallery__img--wide {
	aspect-ratio: 610 / 480;
}

/* Акции: карточка вертикальная (на главной — картинка слева), заголовок
   набран Roboto без капса, ссылка «подробнее» — тоже Roboto */
.fig-page--clinic .fig-promo__grid {
	gap: 20px;
}
.fig-page--clinic .fig-promo-card {
	flex-direction: column;
	min-height: 0;
}
.fig-page--clinic .fig-promo-card__imglink {
	flex: 0 0 auto;
	width: 100%;
	max-width: 100%;
}
.fig-page--clinic .fig-promo-card__img,
.fig-page--clinic .fig-promo-card__imglink .fig-promo-card__img {
	flex: 0 0 auto;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 808 / 450;
}
.fig-page--clinic .fig-promo-card__body {
	padding: 40px 50px 50px;
}
.fig-page--clinic .fig-promo-card__title {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 34px;
	line-height: 41px;
	color: var(--fig-text-2);
	text-transform: none;
}
.fig-page--clinic .fig-promo-card__link {
	padding-top: 30px;
}
.fig-page--clinic .fig-link {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	gap: 8px;
}

/* --- Страница «Контакты», /contacts/test.php (макет node 976-2698) ---
   Первый экран тот же, что у страниц клиник (модификатор --clinic на обёртке),
   ниже — две карточки клиник, блок «Обратный звонок» и карта. */
.fig-page--contacts .fig-hero__content {
	padding: 60px 40px 60px 60px;
}
.fig-page--contacts .fig-hero__title {
	margin-top: 40px !important;
	font-size: 62px;
}
.fig-page--contacts .fig-hero__media {
	flex: 0 0 48.53%;
	max-width: 48.53%;
}
/* Подзаголовок первого экрана: не адрес клиники, а район города */
.fig-page--contacts .fig-clinic__address {
	margin-top: 30px !important;
	font-size: 24px;
	line-height: 26px;
	color: var(--fig-text-2);
}

/* Карточка клиники */
.fig-clinics__list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.fig-clinic-card {
	display: flex;
	min-height: 596px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-clinic-card__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding: 50px;
}
.fig-clinic-card__title {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 34px;
	line-height: 41px;
	color: var(--fig-navy);
}
.fig-clinic-card__metro {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 40px;
}
.fig-clinic-card__metro img {
	display: block;
	flex: 0 0 24px;
	width: 24px;
	height: 16px;
}
.fig-clinic-card__metro span {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 22px;
	color: var(--fig-muted);
}
.fig-clinic-card__list {
	margin-top: 24px;
}
.fig-clinic-card__item {
	display: flex;
	align-items: center;
	gap: 13px;
}
.fig-clinic-card__item img {
	display: block;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	object-fit: contain;
}
.fig-clinic-card__item p {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 22px;
	line-height: 41px;
	color: var(--fig-muted);
}
.fig-clinic-card__item a {
	color: var(--fig-muted);
}
.fig-clinic-card__item a:hover {
	color: var(--fig-teal);
	text-decoration: none;
}
.fig-clinic-card__text {
	max-width: 709px;
	margin-top: 30px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 26px;
	color: var(--fig-muted);
}
.fig-clinic-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin-top: auto;
	padding-top: 40px;
}
.fig-clinic-card__photo {
	display: block;
	flex: 0 0 48.53%;
	width: 48.53%;
	max-width: 48.53%;
	object-fit: cover;
	border-radius: var(--fig-radius);
}

/* --- Страница «Акции клиники», /aktsii/test.php (макет node 976-2358) ---
   Развёрнутая карточка акции (в отличие от короткой .fig-promo-card на главной),
   блок рассрочки, пакеты и врачи-ортопеды. */
.fig-page--aktsii .fig-section {
	margin-top: 160px;
}
/* В макете 80px от низа шапки до первой строки заголовка */
.fig-aktsii {
	margin-top: 80px;
}
/* Заголовок страницы набран в две строки и ограничен по ширине */
.fig-title--wide {
	max-width: 1429px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.25;
}

.fig-aktsii__list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.fig-promo-full {
	display: flex;
	min-height: 580px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-promo-full__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding: 50px;
}
.fig-promo-full__title {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 34px;
	line-height: 41px;
	color: var(--fig-navy);
}
/* Левая колонка — анонс из инфоблока, правая — клиники, где действует акция */
.fig-promo-full__cols {
	display: grid;
	grid-template-columns: 444fr 325fr;
	gap: 30px;
	margin-top: 30px;
}
.fig-promo-full__col {
	min-width: 0;
}
.fig-promo-full__text p {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 26px;
	color: var(--fig-muted);
}
.fig-promo-full__text p ~ p {
	margin-top: 14px !important;
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
}
.fig-promo-full__text ul {
	margin-top: 14px !important;
	padding-left: 0 !important;
	list-style: none;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
	color: var(--fig-muted);
}
.fig-promo-full__text li + li {
	margin-top: 6px;
}
.fig-promo-full__label {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 26px;
	color: var(--fig-teal);
}
.fig-promo-full__clinic {
	margin-top: 14px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
	color: var(--fig-muted);
}
.fig-promo-full__clinic a:hover {
	color: var(--fig-teal);
	text-decoration: none;
}
.fig-promo-full__note {
	max-width: 740px;
	margin-top: auto !important;
	padding-top: 20px;
	border-top: 1px solid #DFE1E7;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
	color: var(--fig-muted);
}
/* Кнопки стоят под своими колонками */
.fig-promo-full__actions {
	display: grid;
	grid-template-columns: 444fr 325fr;
	justify-items: start;
	gap: 30px;
	margin-top: 52px;
}
.fig-promo-full__imglink {
	flex: 0 0 41.44%;
	width: 41.44%;
	max-width: 41.44%;
	line-height: 0;
}
.fig-promo-full__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--fig-radius);
}

/* Рассрочка */
.fig-instal__card {
	padding: 50px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-instal__title {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 34px;
	line-height: 41px;
	color: var(--fig-navy);
}
.fig-instal__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 60px;
	margin-top: 30px;
}
.fig-instal__col {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.fig-instal__lead {
	max-width: 624px;
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 26px;
	color: var(--fig-teal);
}
.fig-instal__facts {
	margin-top: 32px !important;
	padding-left: 0 !important;
	list-style: none;
}
.fig-instal__facts li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 26px;
	color: var(--fig-muted);
}
.fig-instal__facts li + li {
	margin-top: 19px;
}
/* Галочка в рамке нарисована бордюрами, отдельной картинки в макете нет */
.fig-instal__check {
	position: relative;
	flex: 0 0 25px;
	width: 25px;
	height: 25px;
	border: 2px solid var(--fig-muted);
	border-radius: 5px;
}
.fig-instal__check::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 3px;
	width: 6px;
	height: 11px;
	border: solid var(--fig-muted);
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}
.fig-instal__steps {
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.fig-instal__steps p {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 22px;
	line-height: 28px;
	color: var(--fig-muted);
}
.fig-instal__btn {
	width: 476px;
	max-width: 100%;
	/*margin-top: auto !important;*/
	margin-top: 50px;
}
.fig-instal__col > .fig-instal__btn {
	margin-top: auto;
}
.fig-instal__facts + .fig-instal__btn,
.fig-instal__steps + .fig-instal__btn {
	margin-top: 40px;
}

/* Пакеты рассрочки */
.fig-packages .fig-title {
	margin-bottom: 20px !important;
}
.fig-packages__lead {
	max-width: 1496px;
	margin: 0 auto 50px !important;
	text-align: center;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 24px;
	line-height: 30px;
	color: var(--fig-muted);
}
.fig-packages__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
}
.fig-package {
	display: flex;
	flex-direction: column;
	min-height: 392px;
	padding: 50px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-package__title {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 34px;
	line-height: 41px;
	color: var(--fig-text-2);
}
.fig-package__cols,
.fig-package__clinics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
}
.fig-package__cols {
	margin-top: 30px;
}
.fig-package__name {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 26px;
	color: var(--fig-teal);
}
.fig-package__value,
.fig-package__clinics p {
	margin-top: 18px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 22px;
	line-height: 33px;
	color: var(--fig-muted);
}
.fig-package__clinics p {
	margin-top: 0 !important;
}
.fig-package__clinics a:hover {
	color: var(--fig-teal);
	text-decoration: none;
}
.fig-package__note {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 22px;
	line-height: 28px;
	color: var(--fig-muted);
}
.fig-package__label {
	margin-top: auto !important;
	padding-top: 40px;
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 26px;
	color: var(--fig-teal);
}
.fig-package__clinics {
	margin-top: 16px;
}
.fig-package__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	justify-items: start;
	gap: 30px;
	margin-top: auto;
	padding-top: 40px;
}

/* Врачи-стоматологи-ортопеды. Карточки листает Owl (slider_js/aktsii_sliders.js),
   до инициализации это обычная сетка в три колонки */
.fig-ortoped__slider {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}
.fig-ortoped__slider.owl-loaded {
	display: block;
}
/* Запас снизу, чтобы overflow: hidden не срезал тень карточек */
.fig-ortoped__slider .owl-stage-outer {
	padding-bottom: 14px;
	margin-bottom: -14px;
}
/* Карточки в ряду одной высоты */
.fig-ortoped__slider .owl-stage {
	display: flex;
}
.fig-ortoped__slider .owl-item {
	display: flex;
}
.fig-ortoped__slider .owl-item .fig-ortoped-card {
	width: 100%;
}
/* Круглые стрелки по краям ряда, наполовину вынесены за контейнер */
.fig-ortoped__slider .owl-nav.disabled {
	display: none;
}
.fig-ortoped__slider .owl-nav button.owl-prev,
.fig-ortoped__slider .owl-nav button.owl-next {
	position: absolute;
	top: 50%;
	width: 80px;
	height: 80px;
	margin: -40px 0 0;
	padding: 0;
	border-radius: 50%;
	background-color: var(--fig-teal);
	transition: background-color .2s ease;
}
.fig-ortoped__slider .owl-nav button.owl-prev,
.fig-ortoped__slider .owl-nav button.owl-next {
	background-color: #007F88 !important;
}
.fig-ortoped__slider .owl-nav button.owl-prev:hover,
.fig-ortoped__slider .owl-nav button.owl-next:hover {
	background-color: #007F88;
}
.fig-ortoped__slider .owl-nav button.owl-prev { left: -40px; }
.fig-ortoped__slider .owl-nav button.owl-next { right: -40px; }
/* Сама стрелка — уголок из бордюров, отдельной картинки в макете нет */
.fig-ortoped__slider .owl-nav button.owl-prev::before,
.fig-ortoped__slider .owl-nav button.owl-next::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	border: solid #FFFFFF;
	border-width: 2px 2px 0 0;
}
.fig-ortoped__slider .owl-nav button.owl-prev::before {
	transform: translate(-30%, -50%) rotate(-135deg);
}
.fig-ortoped__slider .owl-nav button.owl-next::before {
	transform: translate(-70%, -50%) rotate(45deg);
}
.fig-ortoped-card {
	display: flex;
	flex-direction: column;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
	overflow: hidden;
}
.fig-ortoped-card__photo {
	display: block;
	width: 100%;
	aspect-ratio: 525 / 614;
	object-fit: cover;
	object-position: top center;
}
.fig-ortoped-card__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 40px 30px 30px;
}
.fig-ortoped-card__name {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 26px;
	line-height: 31px;
	color: var(--fig-teal);
}
.fig-ortoped-card__spec {
	margin-top: 14px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
	color: var(--fig-text-2);
}
.fig-ortoped-card__meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding: 40px 0 12px;
	border-bottom: 1px solid #DFE1E7;
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 22px;
	line-height: 26px;
}
.fig-ortoped-card__rank {
	color: var(--fig-text-2);
}
.fig-ortoped-card__exp {
	color: var(--fig-muted);
	white-space: nowrap;
}
a.fig-ortoped-card__btn {
	width: 100%;
	margin-top: 30px;
}

/* Кнопки-пилюли из макетов «Контакты» и «Акции клиники» */
a.fig-btn--sm {
	height: 57px;
	padding: 0 24px;
	font-weight: 500;
	font-size: 18px;
}
a.fig-btn--lg {
	height: 70px;
	padding: 0 30px;
	border-radius: 100px;
	font-weight: 600;
	font-size: 24px;
}
a.fig-btn--outline {
	background-color: #FFFFFF;
	border: 3px solid var(--fig-teal);
	color: var(--fig-teal);
}
a.fig-btn--outline:hover {
	background-color: var(--fig-teal);
	color: #FFFFFF;
}

/* --- Страницы услуг: /services/lechenie-kariesa/test.php (node 1072-328),
   /services/udalenie_zubov/test.php (node 1073-775),
   /services/implantatsiya-zubov/test.php (node 1066-1109) ---
   Три страницы собраны из одних блоков: первый экран на базовых .fig-hero*,
   карточки с номером .fig-card, карточка «текст + фото» .fig-split, фото врачей
   за работой, врачи (шаблон ortoped_figma), работы «до/после», таблица цен
   и блок «Обратный звонок» с главной. */
.fig-page--service .fig-hero {
	margin-top: 20px;
}
.fig-page--service .fig-hero__card {
	min-height: 682px;
}
.fig-page--service .fig-hero__title {
	margin-top: 0 !important;
	text-transform: uppercase;
	text-align: left !important;
}
/* Ширина фото на первом экране в макетах разная: 803px, 761px и 741px из 1636 */
.fig-page--service .fig-hero__media {
	flex: 0 0 49.08%;
	max-width: 49.08%;
}
.fig-page--service .fig-hero__media--md {
	flex: 0 0 46.52%;
	max-width: 46.52%;
}
.fig-page--service .fig-hero__media--sm {
	flex: 0 0 45.29%;
	max-width: 45.29%;
}
/* Высота первого экрана у всех трёх страниц услуг одинаковая и задана min-height
   карточки. Фото вынимаем из потока: исходники разных пропорций (у имплантации
   он вообще вертикальный) иначе растягивают карточку по своей высоте */
.fig-page--service .fig-hero__media {
	overflow: hidden;
	border-radius: var(--fig-radius);
}
.fig-page--service .fig-hero__photo {
	position: absolute;
	top: 0;
	left: 0;
}
.fig-svc-hero__intro {
	max-width: 740px;
	margin-top: 40px;
}
.fig-svc-hero__lead {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 22px;
	line-height: 1.2;
	color: var(--fig-muted);
}
.fig-svc-hero__subtitle {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 26px;
	line-height: 1.2;
	color: var(--fig-navy);
}
.fig-svc-hero__lead + .fig-svc-hero__subtitle {
	margin-top: 30px !important;
}
.fig-svc-hero__text {
	margin-top: 16px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 24px;
	line-height: 1.2;
	color: var(--fig-muted);
}
.fig-svc-hero__intro > .fig-svc-hero__text:first-child {
	margin-top: 0 !important;
}
/* Кнопка прижата к низу карточки (margin-top: auto в базе), но не ближе 40px к тексту */
.fig-svc-hero__intro {
	margin-bottom: 40px;
}
a.fig-svc-hero__link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	margin-top: 30px;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 24px;
	line-height: 1.2;
	color: var(--fig-teal);
}
a.fig-svc-hero__link:hover {
	opacity: .75;
	text-decoration: none;
}
.fig-svc-hero__link img {
	display: block;
	width: 24px;
	height: 24px;
}

/* Заголовок секции с подзаголовком: между ними 24px, под подзаголовком 50px */
.fig-title.fig-title--lead {
	margin-bottom: 24px !important;
}
.fig-svc-lead {
	max-width: 1170px;
	margin: 0 auto 50px !important;
	text-align: center;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 22px;
	line-height: 28px;
	color: var(--fig-muted);
}
.fig-svc-lead--lg {
	max-width: 1496px;
	font-size: 24px;
	line-height: 30px;
}

/* Карточки с номером (виды лечения, этапы, причины, преимущества) */
.fig-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}
.fig-cards--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.fig-card {
	display: flex;
	flex-direction: column;
	padding: 30px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}
.fig-card__num {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
	color: #4A5162;
}
.fig-card__icon {
	display: block;
	flex: 0 0 66px;
	width: 66px;
	height: 66px;
}
.fig-card__title {
	margin-top: 80px !important;
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 1.2;
	color: var(--fig-text-2);
}
/* В части макетов между номером и заголовком 100px, а не 80px */
.fig-cards--tall .fig-card__title {
	margin-top: 100px !important;
}
.fig-card__text {
	margin-top: 27px;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
	color: var(--fig-muted);
}
.fig-card__text p + p {
	margin-top: 8px !important;
}
/* Длинный текст методик имплантации стоит ближе к заголовку */
.fig-cards--long .fig-card__text {
	margin-top: 20px;
}
a.fig-card__btn {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	height: 50px;
	margin-top: 24px;
	padding: 0 40px;
	border: 1px solid var(--fig-teal);
	border-radius: 100px;
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 1;
	color: var(--fig-teal);
	transition: background-color .2s ease, color .2s ease;
}
a.fig-card__btn:hover {
	background-color: var(--fig-teal);
	color: #FFFFFF;
	text-decoration: none;
}
/* Карточка-иллюстрация: фото вместо номера и заголовка */
.fig-card__photo {
	display: block;
	width: 100%;
	aspect-ratio: 465 / 261;
	object-fit: cover;
	border-radius: var(--fig-radius);
}
.fig-card__photo + .fig-card__text {
	margin-top: 20px;
}

/* Советы под этапами лечения */
.fig-tips {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 20px;
}
/* Селектор с .fig-page: совет — это <p>, а ресет .fig-page p задаёт padding: 0
   и специфичнее одного класса — без этого карточка схлопывается по тексту */
.fig-page .fig-tip {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: 1px 2px 7px rgba(177, 177, 177, 0.1);
	text-align: center;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
	color: var(--fig-muted);
}

/* Карточка «текст слева, фото справа» (лечение под микроскопом) */
.fig-split {
	display: flex;
	min-height: 640px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-split__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding: 60px;
}
.fig-split__title {
	font-family: "Oswald", sans-serif;
	font-weight: 700;
	font-size: 64px;
	line-height: 1.1;
	color: var(--fig-teal);
	text-transform: uppercase;
}
/* Отдельным правилом с id: старое #content h2 центрирует заголовок, а по макету
   он прижат к левому краю карточки. Размеры остаются в правиле выше,
   иначе вес с id перебил бы font-size из медиазапросов */
#content .fig-split__title {
	text-align: left;
}
.fig-split__lead {
	max-width: 540px;
	margin-top: 40px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 1.17;
	color: var(--fig-muted);
}
.fig-split__text {
	max-width: 630px;
	margin-top: 24px;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
	color: var(--fig-muted);
}
.fig-split__text p + p {
	margin-top: 8px !important;
}
.fig-split__body .fig-btn {
	align-self: flex-start;
	margin-top: auto;
}
.fig-split__text + .fig-btn {
	margin-top: 40px;
}
.fig-split__photo {
	display: block;
	flex: 0 0 49.08%;
	width: 49.08%;
	max-width: 49.08%;
	object-fit: cover;
	border-radius: var(--fig-radius);
}

/* Врачи за работой: три одинаковых вертикальных фото */
.fig-gallery--even {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.fig-gallery--even .fig-gallery__img {
	aspect-ratio: 525 / 614;
}

/* Врачи: те же карточки, что на странице акций, но кнопка залитая,
   а специализация и ранг набраны светлее */
.fig-page--service .fig-ortoped-card__spec,
.fig-page--service .fig-ortoped-card__rank {
	color: var(--fig-muted-2);
}
.fig-page--service a.fig-ortoped-card__btn {
	background-color: var(--fig-teal);
	border-color: var(--fig-teal);
	color: #FFFFFF;
}
.fig-page--service a.fig-ortoped-card__btn:hover {
	background-color: #007F88;
	border-color: #007F88;
}

/* Работы «до/после»: снимок «после» лежит снизу, «до» обрезается по позиции
   ползунка. Позицию хранит переменная --pos, её меняет range-инпут поверх
   картинки (slider_js/service_sliders.js) — он же даёт управление с клавиатуры */
.fig-works {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
}
.fig-compare {
	--pos: 50%;
	position: relative;
	aspect-ratio: 803 / 520;
	overflow: hidden;
	border-radius: 16px;
	background-color: #E8EEF2;
	-webkit-user-select: none;
	user-select: none;
}
.fig-compare__img {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fig-compare__img--before {
	clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.fig-compare__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--pos);
	width: 2px;
	margin-left: -1px;
	background-color: #FFFFFF;
	pointer-events: none;
}
/* Уголки по обе стороны от линии, как в макете */
.fig-compare__handle::before,
.fig-compare__handle::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 10px;
	height: 10px;
	border: solid #FFFFFF;
	border-width: 2px 2px 0 0;
}
.fig-compare__handle::before {
	right: 16px;
	transform: translateY(-50%) rotate(-135deg);
}
.fig-compare__handle::after {
	left: 16px;
	transform: translateY(-50%) rotate(45deg);
}
.fig-compare__range {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	-webkit-appearance: none;
	appearance: none;
}
.fig-compare__range:focus-visible + .fig-compare__handle {
	box-shadow: 0 0 0 3px rgba(0, 153, 163, 0.6);
}

/* Цены */
.fig-prices {
	padding: 60px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-prices__table {
	width: 100%;
	border-collapse: collapse;
	border: 0;
}
.fig-prices__table th,
.fig-prices__table td {
	padding: 30px 30px 31px 0;
	border: 0;
	text-align: left;
	vertical-align: middle;
	background: none;
}
.fig-prices__table th {
	padding-top: 0;
	padding-bottom: 16px;
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 1.2;
	color: var(--fig-text-2);
}
.fig-prices__table td {
	border-top: 1px solid #E6E7EA;
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 22px;
	line-height: 1.17;
	color: var(--fig-muted);
}
/* Колонка цены отделена вертикальной линией */
.fig-prices__table th:last-child,
.fig-prices__table td:last-child {
	width: 174px;
	padding-left: 30px;
	padding-right: 0;
	border-left: 1px solid #E6E7EA;
	white-space: nowrap;
}
.fig-prices__table tr:last-child td {
	padding-bottom: 0;
}
.fig-prices--bold .fig-prices__table td {
	font-weight: 600;
}
/* Удаление: строки крупнее */
.fig-prices--lg .fig-prices__table th {
	padding-bottom: 12px;
}
.fig-prices--lg .fig-prices__table td {
	padding-top: 32px;
	padding-bottom: 32px;
	font-weight: 600;
	font-size: 26px;
	line-height: 1.2;
}
.fig-prices--lg .fig-prices__table tr:last-child td {
	padding-bottom: 0;
}

/* Имплантация в сравнении с протезированием: два столбца текста и видео VK */
.fig-video {
	padding: 60px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-video__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 60px;
}
.fig-video__cols p {
	max-width: 715px;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
	color: var(--fig-muted);
}
.fig-video__frame {
	position: relative;
	margin-top: 40px;
	aspect-ratio: 1516 / 753;
	overflow: hidden;
	border-radius: 10px;
	background-color: #000000;
}
.fig-video__frame iframe {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Системы имплантации: пять логотипов, три в первом ряду и два по центру во втором */
.fig-brands {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}
.fig-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 calc((100% - 40px) / 3);
	min-height: 200px;
	padding: 30px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-brand img {
	display: block;
	width: auto;
	height: auto;
	max-height: 107px;
}

/* --- Страницы услуг, вторая партия (файл Figma g1pTTq9qaRQQSt8gxjDsw7):
   протезирование (node 1143-476), профгигиена (1143-853), детская (1143-1184),
   исправление прикуса (1143-1532), ночная (1143-2032), элайнеры (1143-2275),
   All-on-4 (1143-2695). Живут в /services/<код>/index.php, собраны из блоков
   выше плюс новые: карточка-панель с заголовком по центру .fig-panel,
   виды брекетов .fig-type, ряд фото .fig-pics, карточки «текст + фото + кнопка»
   .fig-offer, карточка «текст + фото с двумя кнопками» .fig-info,
   карточки со списками .fig-lists, вопросы и ответы .fig-faq. */

/* Карточки в две колонки (виды протезов на All-on-4) */
.fig-cards--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* Карточка без заголовка: текст стоит ниже номера («Что важно знать заранее»).
   Селектор из двух классов перебивает .fig-card__text в медиазапросах,
   поэтому отступ задан на каждом брейкпоинте */
.fig-card__num + .fig-card__text {
	margin-top: 80px;
}
/* Предметное фото на белом фоне над заголовком (съёмные протезы) — вписываем, не обрезаем */
.fig-card__pic {
	display: block;
	width: 100%;
	aspect-ratio: 465 / 330;
	object-fit: contain;
}
.fig-card__pic + .fig-card__title {
	margin-top: 40px !important;
}
/* Карточка с фото во всю ширину сверху (виды протезов на All-on-4).
   Два класса: .fig-card в медиазапросах меняет padding */
.fig-card.fig-card--media {
	padding: 0;
	overflow: hidden;
}
.fig-card--media .fig-card__photo {
	aspect-ratio: 802 / 410;
	border-radius: 0;
}
.fig-card__body {
	padding: 30px 30px 40px;
}
.fig-card__body .fig-card__title {
	margin-top: 0 !important;
}
.fig-card__body .fig-card__text {
	margin-top: 16px;
}
/* Залитая кнопка в карточке */
a.fig-card__btn--fill {
	background-color: var(--fig-teal);
	color: #FFFFFF;
}
a.fig-card__btn--fill:hover {
	background-color: #007F88;
	border-color: #007F88;
}

/* Белая карточка с заголовком и подзаголовком по центру: «текст + два фото»,
   «текст + до/после», виды брекетов */
.fig-panel {
	padding: 60px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-panel__title {
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 1.2;
	color: var(--fig-text-2);
	text-align: center;
}
.fig-panel__lead {
	max-width: 1070px;
	margin: 16px auto 0 !important;
	text-align: center;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 22px;
	line-height: 28px;
	color: var(--fig-muted);
}
.fig-panel__cols {
	display: grid;
	grid-template-columns: minmax(0, 630fr) minmax(0, 820fr);
	gap: 66px;
	align-items: center;
	margin-top: 50px;
}
.fig-panel__subtitle {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 1.25;
	color: var(--fig-teal);
}
.fig-panel__subtitle--oswald {
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 1.2;
}
.fig-panel__text {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 22px;
	color: var(--fig-muted);
}
.fig-panel__text p + p {
	margin-top: 14px !important;
}
.fig-panel__subtitle + .fig-panel__text {
	margin-top: 20px;
}
.fig-panel__text + .fig-panel__subtitle {
	margin-top: 40px !important;
}
.fig-panel__photos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 42px;
}
.fig-panel__photo {
	display: block;
	width: 100%;
	aspect-ratio: 389 / 290;
	object-fit: cover;
	border-radius: 16px;
}
/* До/после внутри панели — шире и ниже, чем в блоке работ */
.fig-panel .fig-compare {
	aspect-ratio: 820 / 354;
}
.fig-panel__note {
	max-width: 1000px;
	margin: 30px auto 0 !important;
	text-align: center;
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 24px;
	color: var(--fig-muted);
}

/* Виды брекетов: три карточки с рамкой внутри панели */
.fig-types {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	margin-top: 40px;
}
.fig-type {
	padding: 30px;
	border: 1px solid var(--fig-teal);
	border-radius: var(--fig-radius);
}
.fig-type__title {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 1.2;
	color: var(--fig-teal);
}
.fig-type__text {
	margin-top: 20px;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 22px;
	line-height: 29px;
	color: var(--fig-muted);
}
.fig-type__text p + p {
	margin-top: 10px !important;
}
.fig-type__sep {
	margin-top: 30px;
	padding-top: 30px;
	border-top: 1px solid #E6E7EA;
}
.fig-type__label {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 22px;
	line-height: 29px;
	color: var(--fig-teal);
}
.fig-type__label + .fig-type__text {
	margin-top: 8px;
}

/* Ряд из двух фото: поровну или широкое + узкое */
.fig-pics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
}
.fig-pics__img {
	display: block;
	width: 100%;
	aspect-ratio: 809 / 600;
	object-fit: cover;
	border-radius: var(--fig-radius);
}
.fig-pics--wide {
	grid-template-columns: minmax(0, 1075fr) minmax(0, 532fr);
}
.fig-pics--wide .fig-pics__img {
	aspect-ratio: 1075 / 562;
}
/* Узкое фото тянется по высоте широкого */
.fig-pics--wide .fig-pics__img + .fig-pics__img {
	height: 100%;
	aspect-ratio: auto;
}

/* Карточки «текст + кнопка слева, фото справа» (профгигиена) */
.fig-offers {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px;
}
.fig-offer {
	display: flex;
	gap: 40px;
	padding: 30px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-offer__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.fig-offer__title {
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 1.2;
	color: var(--fig-text-2);
}
.fig-offer__text {
	margin: 12px 0 30px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
	color: var(--fig-muted);
}
.fig-offer__body .fig-card__btn {
	margin-top: auto;
}
.fig-offer__photo {
	display: block;
	flex: 0 0 317px;
	width: 317px;
	aspect-ratio: 317 / 353;
	object-fit: cover;
	border-radius: 16px;
}

/* Карточка «заголовок, подзаголовок, текст, две кнопки + фото» (детская).
   Вариант --cols: вместо фото вторая колонка текста, заголовок на всю ширину */
.fig-info {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 655px);
	column-gap: 108px;
	padding: 60px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-info + .fig-info {
	margin-top: 30px;
}
.fig-info__head {
	grid-column: 1 / -1;
	margin-bottom: 40px !important;
}
.fig-info__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.fig-info__title {
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 1.2;
	color: var(--fig-text-2);
}
.fig-info__subtitle {
	margin-top: 40px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 1.33;
	color: var(--fig-teal);
}
.fig-info__body > .fig-info__subtitle:first-child,
.fig-info__aside > .fig-info__subtitle:first-child {
	margin-top: 0 !important;
}
.fig-info__text,
.fig-info__caption {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 22px;
	color: var(--fig-muted);
}
.fig-info__text {
	margin-top: 14px;
}
.fig-info__text p + p {
	margin-top: 14px !important;
}
.fig-info__caption {
	margin-top: 30px !important;
}
.fig-info__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin-top: auto;
	padding-top: 50px;
}
.fig-info__actions a.fig-card__btn {
	height: 57px;
	margin-top: 0;
	padding: 0 36px;
	border-width: 2px;
}
.fig-info__photo {
	display: block;
	width: 100%;
	aspect-ratio: 655 / 500;
	object-fit: cover;
	border-radius: 16px;
}
.fig-info__photo--wide {
	aspect-ratio: 655 / 349;
}

/* «Почему метод работает»: заголовок-абзац и список с бирюзовыми точками в .fig-split */
.fig-split.fig-split--short {
	min-height: 571px;
}
.fig-split__heading {
	max-width: 640px;
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 30px;
	line-height: 1.25;
	color: var(--fig-text-2);
}
/* Нижний отступ — минимум до кнопки, сама кнопка прижата к низу карточки.
   Селектор с .fig-page: иначе ресет .fig-page ul обнуляет margin */
.fig-page .fig-list {
	margin-top: 30px;
	margin-bottom: 40px;
	list-style: none;
}
.fig-page .fig-list li {
	position: relative;
	max-width: 600px;
	padding-left: 30px;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 22px;
	color: var(--fig-muted);
}
.fig-page .fig-list li + li {
	margin-top: 14px;
}
.fig-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 5px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: var(--fig-teal);
}

/* Показания и противопоказания (элайнеры): две карточки со списками */
.fig-lists {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
}
.fig-lists__card {
	padding: 60px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-lists__title {
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 1.2;
	color: var(--fig-text-2);
}
/* ol/ul обнулены ресетом .fig-page — маркеры возвращаем явно */
.fig-page .fig-lists__list {
	margin-top: 30px;
	padding-left: 24px;
}
ol.fig-lists__list {
	list-style: decimal;
}
ul.fig-lists__list {
	list-style: disc;
}
.fig-page .fig-lists__list li {
	padding-left: 4px;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
	color: var(--fig-muted);
}
.fig-page .fig-lists__list li + li {
	margin-top: 8px;
}
.fig-page .fig-lists__note {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-top: 30px;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
	color: var(--fig-muted);
}
.fig-lists__note::before {
	content: "!";
	flex: 0 0 auto;
	font-family: "Oswald", sans-serif;
	font-weight: 400;
	font-size: 44px;
	line-height: 40px;
	color: var(--fig-muted-2);
}

/* Вопросы и ответы: <details> раскрывается без скриптов */
.fig-faq {
	display: grid;
	gap: 16px;
}
.fig-faq__item {
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 98px;
	padding: 20px 16px 20px 30px;
	list-style: none;
	cursor: pointer;
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 26px;
	line-height: 1.2;
	color: var(--fig-text-2);
}
.fig-faq__q::-webkit-details-marker {
	display: none;
}
/* Плюс в круге, у открытого вопроса поворачивается в крестик */
.fig-faq__q::after {
	content: "";
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border: 1px solid var(--fig-muted-3);
	border-radius: 50%;
	background:
		linear-gradient(var(--fig-muted-3), var(--fig-muted-3)) center / 24px 1.5px no-repeat,
		linear-gradient(var(--fig-muted-3), var(--fig-muted-3)) center / 1.5px 24px no-repeat;
	transition: transform .2s ease;
}
.fig-faq__item[open] .fig-faq__q::after {
	transform: rotate(45deg);
}
.fig-faq__q:focus-visible {
	outline: 3px solid rgba(0, 153, 163, 0.6);
	outline-offset: -3px;
	border-radius: var(--fig-radius);
}
.fig-faq__a {
	max-width: 1300px;
	padding: 0 30px 30px;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 26px;
	color: var(--fig-muted);
}
.fig-faq__a p + p {
	margin-top: 10px !important;
}
.fig-page .fig-faq__a a {
	color: var(--fig-teal);
	text-decoration: underline;
}

/* Цены: несколько таблиц подряд, строка-подзаголовок группы, шапка капсом */
.fig-prices + .fig-prices {
	margin-top: 30px;
}
.fig-prices--caps .fig-prices__table thead th {
	text-transform: uppercase;
}
.fig-prices__table .fig-prices__group th {
	padding-top: 30px;
	padding-bottom: 30px;
	border-top: 1px solid #E6E7EA;
	font-size: 26px;
}
/* Сравнение коронок: две колонки «да/нет» по центру */
.fig-prices--compare .fig-prices__table th:not(:first-child),
.fig-prices--compare .fig-prices__table td:not(:first-child) {
	padding-left: 20px;
	padding-right: 20px;
	border-left: 1px solid #E6E7EA;
	text-align: center;
	white-space: normal;
}
.fig-prices--compare .fig-prices__table th:nth-child(2),
.fig-prices--compare .fig-prices__table td:nth-child(2) {
	width: 252px;
}
.fig-prices--compare .fig-prices__table th:nth-child(3),
.fig-prices--compare .fig-prices__table td:nth-child(3) {
	width: 412px;
}
.fig-prices--compare .fig-prices__table td:not(:first-child) {
	font-weight: 600;
	color: var(--fig-teal);
	text-transform: uppercase;
}
.fig-prices__table th small {
	font-size: 16px;
}

/* Одна работа «до/после» — по центру, в ширину половины ряда */
.fig-works--single {
	grid-template-columns: minmax(0, 803px);
	justify-content: center;
}

/* --- Страница врача, /specialists/test.php (макет node 67-97, файл 9GmM4444cACud17aMUBBAO) ---
   Шаблон news.detail/doctor_figma. Всё содержимое — в одной белой панели: слева фото,
   запись и клиники, справа ФИО и текстовые блоки из инфоблока, ниже отзывы.
   Колонки независимые: высота текстов у врачей разная, и общая сетка строк
   оставляла бы дыры под короткой колонкой */
.fig-doc {
	margin-top: 30px;
}
.fig-doc__panel {
	padding: 40px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-doc__cols {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}
.fig-doc__col {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
/* 582px из 1556 */
.fig-doc__col--aside {
	flex: 0 0 37.4%;
}
.fig-doc__col--main {
	flex: 1 1 auto;
}
.fig-doc__card,
.fig-doc__photo-card,
.fig-doc__clinic,
.fig-doc__review {
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-doc__card {
	padding: 40px;
}
.fig-doc__photo-card {
	padding: 20px;
}
.fig-doc__photo {
	display: block;
	width: 100%;
	aspect-ratio: 542 / 673;
	object-fit: cover;
	object-position: top;
	border-radius: 10px;
}
.fig-page a.fig-doc__btn {
	justify-content: space-between;
	gap: 20px;
	height: 70px;
	margin-top: 30px;
}
.fig-doc__clinics {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 17px;
}
.fig-doc__clinic {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	padding: 18px 40px;
}
.fig-doc__clinic-icon {
	display: block;
	flex: 0 0 24px;
	width: 24px;
	height: 29px;
	margin-bottom: 1px;
}
.fig-doc__clinic-body {
	flex: 1 1 auto;
	min-width: 0;
}
.fig-doc__clinic-label {
	display: block;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 21px;
	color: var(--fig-teal);
}
.fig-doc__clinic-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 20px;
	margin-top: 10px;
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 20px;
	line-height: 23px;
}
.fig-doc__clinic-name {
	color: var(--fig-text);
}
.fig-page a.fig-doc__clinic-phone {
	color: var(--fig-teal);
	white-space: nowrap;
}
.fig-doc__certs {
	margin-top: 30px;
}
.fig-doc__certs-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px 12px;
	margin-top: 20px;
}
.fig-doc__cert {
	display: block;
	aspect-ratio: 116 / 140;
	overflow: hidden;
	border: 2px solid var(--fig-muted-2);
	border-radius: 6px;
	transition: opacity .2s ease;
}
.fig-doc__cert:hover {
	opacity: .8;
}
.fig-doc__cert img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}
/* Старые #content h1/h2 центрируют заголовок и дают ему внешние отступы.
   Только выравнивание и отступы — размеры в правилах классов, иначе вес id
   перебил бы их в медиазапросах */
#content .fig-doc__name,
#content .fig-doc__subtitle,
#content .fig-doc__reviews-title {
	margin: 0;
	text-align: left;
}
.fig-doc__name {
	font-family: "Oswald", sans-serif;
	font-weight: 400;
	font-size: 64px;
	line-height: 1;
	color: var(--fig-navy);
	text-transform: none;
}
.fig-doc__fact {
	margin-top: 30px;
}
.fig-doc__name + .fig-doc__fact {
	margin-top: 40px;
}
/* В макете подписи и значения набраны строчными */
.fig-doc__fact-label {
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	font-size: 26px;
	line-height: 1.17;
	color: var(--fig-muted);
	text-transform: lowercase;
}
.fig-doc__fact-value {
	margin-top: 10px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 24px;
	line-height: 1.17;
	color: var(--fig-muted-3);
	text-transform: lowercase;
}
.fig-doc__fact-value:first-child {
	margin-top: 0 !important;
}
.fig-doc__text-card {
	margin-top: 30px;
	background-color: #FDFDFE;
}
.fig-doc__head + .fig-doc__text-card {
	margin-top: 20px;
}
.fig-doc__subtitle {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 26px;
	line-height: 30px;
	color: var(--fig-teal);
	text-transform: none;
}
.fig-doc__text {
	margin-top: 20px;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 30px;
	color: var(--fig-text);
}
/* Текст приходит из инфоблока HTML-ом, часто списком. В макете это просто строки:
   без маркеров и отступа слева */
.fig-page .fig-doc__text ul,
.fig-page .fig-doc__text ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
.fig-page .fig-doc__text li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.fig-doc__reviews-title {
	margin-top: 40px !important;
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 38px;
	color: var(--fig-text-2);
	text-transform: uppercase;
}
.fig-doc__reviews {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 30px;
}
.fig-doc__review {
	padding: 40px;
}
.fig-doc__review-title {
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 32px;
	line-height: 1.48;
	color: var(--fig-teal);
}
.fig-doc__review-text {
	margin-top: 10px;
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 22px;
	line-height: 33px;
	color: var(--fig-text-2);
}
.fig-doc__review-title + .fig-doc__review-text {
	margin-top: 10px;
}
.fig-doc__review-text:first-child {
	margin-top: 0;
}
.fig-doc__review-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px;
	margin-top: 30px;
}
.fig-doc__review-author {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 33px;
	color: var(--fig-text);
}
/* В макете 100px от кнопки «Вернуться к списку» до блока «Обратный звонок» */
.fig-page--doctor .fig-cta {
	margin-top: 100px;
}

/* --- Страница «Цены», /about/price/ (макет node 1261-564) ---
   Таблицы .fig-prices со страниц услуг, по карточке на раздел прайса.
   В макете 80px от низа шапки до заголовка */
.fig-pricelist {
	margin-top: 80px;
}
/* Название клиники не рвётся: заголовок переносится перед ним, как в макете */
.fig-pricelist__nowrap {
	white-space: nowrap;
}
.fig-prices__table td s {
	margin-right: 6px;
	font-weight: 400;
	color: var(--fig-muted-3);
}
.fig-page .fig-pricelist__note {
	margin-top: 40px;
	font-size: 20px;
	line-height: 1.4;
	text-align: center;
	color: var(--fig-muted);
}
.fig-page .fig-pricelist__note a {
	color: var(--fig-teal);
	text-decoration: underline;
}
/* В макете от таблиц до блока 390px, но верх фото там пустой — берём меньше */
.fig-page--price .fig-cta {
	margin-top: 160px;
}
/* Строки в макете плотнее, чем на страницах услуг (шаг 74px против 87px), карточки
   через 20px. Только на широком экране: ниже базовые отступы и так меньше, а правило
   с модификатором перебило бы их на всех брейкпоинтах */
@media (min-width: 1901px) {
	.fig-page--price .fig-prices__table th { padding-bottom: 24px; }
	.fig-page--price .fig-prices__table td { padding-top: 24px; padding-bottom: 24px; }
	.fig-page--price .fig-prices__table th:last-child,
	.fig-page--price .fig-prices__table td:last-child { width: 178px; padding-left: 24px; }
}
@media (min-width: 1200px) {
	.fig-page--price .fig-prices + .fig-prices { margin-top: 20px; }
}

/* --- Список врачей, /specialists/ (макет node 1299-1074) ---
   Шаблон news.list/doctors_figma, обёртку и «Обратный звонок» выводит news/doctors/news.php.
   Карточка целиком ссылка на страницу врача; у администраторов страницы нет — там div.
   В макете 100px от низа шапки до заголовка */
.fig-staff {
	margin-top: 100px;
}
.fig-staff__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 30px;
}
.fig-staff-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	transition: box-shadow .2s ease;
}
a.fig-staff-card:hover {
	box-shadow: 0 8px 24px rgba(136, 157, 187, 0.25);
	text-decoration: none;
}
/* Пропорции фото из макета (386×480): высота карточек в ряду одинаковая при любой ширине */
.fig-staff-card__media {
	position: relative;
	aspect-ratio: 386 / 480;
	background-color: #E6EBF2;
}
.fig-staff-card__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 0;
}
.fig-staff-card__rank {
	position: absolute;
	left: 20px;
	bottom: 20px;
	padding: 12px 20px;
	border-radius: 40px;
	background-color: #FFFFFF;
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.2;
	color: var(--fig-muted-2);
	white-space: nowrap;
}
.fig-staff-card__body {
	flex: 1 1 auto;
	padding: 30px;
}
.fig-staff-card__name {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 29px;
	line-height: 1.2;
	color: var(--fig-teal);
}
.fig-staff-card__spec {
	margin-top: 14px !important;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 1.2;
	color: var(--fig-muted-2);
}

/* --- Лицензии и сертификаты, /licenses_and_certificates/ (макета нет) ---
   Собрана из блоков редизайна: по белой карточке на клинику, в ней сетка сканов
   (как сертификаты на странице врача) и кнопка .fig-card__btn на выписку из реестра.
   Отступы — как у страницы «Цены» */
.fig-licenses {
	margin-top: 80px;
}
.fig-lic {
	padding: 40px;
	background-color: #FFFFFF;
	border-radius: var(--fig-radius);
	box-shadow: var(--fig-shadow);
}
.fig-lic + .fig-lic {
	margin-top: 30px;
}
.fig-lic__title {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 34px;
	line-height: 1.2;
	color: var(--fig-teal);
	text-transform: none;
}
/* Старое #content h2 центрирует заголовок и даёт отступ снизу */
#content .fig-lic__title {
	margin: 0;
	text-align: left;
}
.fig-lic__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 30px;
	margin-top: 30px;
}
/* Пропорции листа A4: сканы разного размера встают в ровный ряд */
.fig-lic__doc {
	display: block;
	aspect-ratio: 210 / 297;
	overflow: hidden;
	border: 2px solid #E6EBF2;
	border-radius: 10px;
	transition: opacity .2s ease, border-color .2s ease;
}
.fig-lic__doc:hover {
	opacity: .8;
	border-color: var(--fig-teal);
}
.fig-lic__doc img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}
.fig-lic a.fig-card__btn {
	margin-top: 30px;
}
.fig-page--licenses .fig-cta {
	margin-top: 160px;
}

/* =========================================================================
   Адаптив: 1200–1699px
   ========================================================================= */
/* Порог совпадает с сужением контейнера до 1300px (правило в конце файла):
   иначе на 1700–1900px крупные карточки не влезают в две колонки */
@media (max-width: 1900px) {
	.fig-section,
	.fig-footer {
		margin-top: 110px;
	}
	.fig-title {
		font-size: 50px;
		margin-bottom: 40px !important;
	}
	.fig-btn {
		height: 60px;
		gap: 40px;
		padding: 0 10px 0 30px;
	}
	.fig-btn__text { font-size: 20px; }
	.fig-btn__icon,
	.fig-btn__icon img { width: 42px; height: 42px; flex-basis: 42px; }
	.fig-link { font-size: 20px; }

	.fig-hero__card { min-height: 700px; }
	.fig-hero__content { padding: 45px 35px 45px 45px; }
	.fig-hero__title { font-size: 56px; margin-top: 40px !important; }
	.fig-hero__subtitle { font-size: 22px; margin-top: 30px !important; }
	.fig-hero__list { margin-top: 30px !important; }
	.fig-hero__list li { font-size: 20px; }
	.fig-hero__text { margin-top: 30px; }
	.fig-hero__text p { font-size: 22px; }
	.fig-hero__text ul { margin-top: 30px !important; }
	.fig-hero__text ul li { font-size: 20px; }
	.fig-pill { padding: 16px 24px; }
	.fig-pill span { font-size: 18px; }
	.fig-hero__badge { width: 400px; min-height: 150px; padding: 32px 24px; }
	.fig-hero__badge p { font-size: 32px; line-height: 42px; }

	.fig-service { min-height: 400px; }
	.fig-service__body { padding: 24px 24px 30px; }
	.fig-service__title { font-size: 24px; line-height: 32px; }

	.fig-promo-card { min-height: 330px; }
	.fig-promo-card__body { padding: 24px; }
	.fig-promo-card__title { font-size: 24px; line-height: 32px; }
	.fig-promo-card__text p { font-size: 18px; }
	.fig-promo-card__text p ~ p,
	.fig-promo-card__text ul { font-size: 16px; }

	.fig-cta__wrap { min-height: 700px; }
	.fig-cta__card { top: 110px; min-height: 590px; padding: 45px 45px 45px 0; }
	.fig-cta__text { width: 520px; }
	.fig-cta__title { font-size: 50px; line-height: 62px; }
	.fig-cta__lead { font-size: 24px; margin-top: 40px !important; }
	.fig-cta__sub { font-size: 18px; }
	.fig-cta__text .fig-btn { margin-top: 50px; }
	.fig-cta__photo { left: -140px; width: 930px; height: 640px; }
	/* Плашки на узком контейнере становятся выше, поэтому разнесены с запасом:
	   «c» опущена ниже нижнего края «b», «b» сдвинута левее текста карточки */
	.fig-fact--a { left: -20px; top: 300px; }
	.fig-fact--b { left: 400px; top: 330px; }
	.fig-fact--c { left: 190px; top: 500px; }

	.fig-doctor { min-height: 0; padding: 35px; }
	.fig-doctor__photo { flex-basis: 220px; width: 220px; height: 274px; }
	.fig-doctor__photolink { flex-basis: 220px; width: 220px; }
	.fig-doctor__photolink .fig-doctor__photo { width: 100%; }
	.fig-doctor__name { font-size: 27px; }
	.fig-doctor__spec { font-size: 18px; }
	.fig-doctor__rank,
	.fig-doctor__exp { font-size: 20px; }
	.fig-doctor__review { min-height: 0; padding: 30px 15px; }
	.fig-doctor__review-text { font-size: 18px; line-height: 26px; }
	.fig-review-link { font-size: 20px; }
	.fig-doctor__certs img { width: 74px; height: 89px; }

	.fig-review { padding: 35px; }
	.fig-review__title { font-size: 26px; }
	.fig-review__text { font-size: 18px; line-height: 28px; margin-top: 22px !important; }
	.fig-review__author { font-size: 20px; }
	.fig-reviews__all { min-height: 150px; padding: 0 35px 30px; }

	.fig-news-card { min-height: 400px; padding: 24px; }
	.fig-news-card__title { font-size: 20px; }
	.fig-news-card__date { font-size: 20px; }

	.fig-contacts__map { min-height: 700px; padding: 30px; }
	.fig-contacts__card { width: 480px; min-height: 640px; padding: 55px 45px; }
	.fig-contacts__title { font-size: 50px; }
	.fig-contacts__item p { font-size: 20px; line-height: 34px; }

	.fig-footer__logo img { width: 380px; }
	.fig-footer__cols { margin-top: 55px; }
	.fig-footer__head { font-size: 22px; margin-bottom: 40px !important; }
	.fig-footer__col a,
	.fig-footer__col > p:not(.fig-footer__head) { font-size: 17px; margin-bottom: 18px; }
	.fig-footer__btn { width: 360px; }
	.fig-footer__bottom-col p,
	.fig-footer__bottom-col a { font-size: 17px; line-height: 24px; }

	/* Услуги */
	.fig-page--services .fig-services { margin-top: 60px; }
	.fig-page--services .fig-title { margin-bottom: 50px !important; }
	.fig-page--services .fig-service__title { font-size: 26px; }

	/* Страница клиники */
	.fig-page--clinic .fig-section { margin-top: 120px; }
	.fig-page--clinic .fig-hero__card { min-height: 540px; }
	.fig-page--clinic .fig-hero__content { padding: 50px 30px 55px 45px; }
	.fig-page--clinic .fig-hero__title { font-size: 50px; line-height: 60px; margin-top: 50px !important; }
	.fig-clinic__address { font-size: 22px; line-height: 26px; margin-top: 20px !important; }
	.fig-clinic__address--long { font-size: 20px; }
	.fig-rating__item { min-height: 80px; padding: 0 20px 0 24px; }
	.fig-rating__logo { max-height: 32px; }
	.fig-rating__score { font-size: 22px; }
	.fig-rating__note { font-size: 20px; }
	/* Поля главной заданы модификатором и потому перебивают базовое правило
	   выше — повторяем их на каждом брейкпоинте, где база меняется */
	.fig-rating--main .fig-rating__item { padding: 0 22px 0 24px; }
	.fig-rating--main .fig-rating__logo { max-height: 34px; }
	.fig-gallery { gap: 20px; }
	.fig-page--clinic .fig-promo-card__body { padding: 30px 35px 35px; }
	.fig-page--clinic .fig-promo-card__title { font-size: 26px; line-height: 34px; }

	/* Контакты */
	.fig-page--contacts .fig-hero__content { padding: 45px 30px 45px 45px; }
	.fig-page--contacts .fig-hero__title { font-size: 50px; margin-top: 30px !important; }
	.fig-page--contacts .fig-clinic__address { font-size: 20px; line-height: 24px; margin-top: 20px !important; }
	.fig-clinic-card { min-height: 500px; }
	.fig-clinic-card__body { padding: 35px; }
	.fig-clinic-card__title { font-size: 26px; line-height: 34px; }
	.fig-clinic-card__metro { margin-top: 25px; }
	.fig-clinic-card__metro span { font-size: 17px; }
	.fig-clinic-card__item p { font-size: 18px; line-height: 34px; }
	.fig-clinic-card__text { font-size: 17px; line-height: 23px; margin-top: 20px !important; }
	.fig-clinic-card__actions { gap: 20px; padding-top: 30px; }
	a.fig-btn--sm { height: 52px; padding: 0 20px; font-size: 16px; }

	/* Акции */
	.fig-page--aktsii .fig-section { margin-top: 120px; }
	.fig-aktsii { margin-top: 60px; }
	.fig-promo-full { min-height: 480px; }
	.fig-promo-full__body { padding: 35px; }
	.fig-promo-full__title { font-size: 26px; line-height: 34px; }
	.fig-promo-full__cols { gap: 20px; margin-top: 20px; }
	.fig-promo-full__text p { font-size: 20px; line-height: 24px; }
	.fig-promo-full__text p ~ p,
	.fig-promo-full__text ul { font-size: 17px; line-height: 21px; }
	.fig-promo-full__label { font-size: 20px; }
	.fig-promo-full__clinic { font-size: 17px; line-height: 21px; }
	.fig-promo-full__note { font-size: 17px; padding-top: 16px; }
	.fig-promo-full__actions { gap: 20px; margin-top: 30px; }
	.fig-instal__card { padding: 35px; }
	.fig-instal__title { font-size: 26px; line-height: 34px; }
	.fig-instal__cols { gap: 40px; }
	.fig-instal__lead { font-size: 20px; line-height: 24px; }
	.fig-instal__facts { margin-top: 24px !important; }
	.fig-instal__facts li { font-size: 20px; }
	.fig-instal__facts li + li { margin-top: 14px; }
	.fig-instal__steps { margin-top: 24px; }
	.fig-instal__steps p { font-size: 18px; line-height: 24px; }
	a.fig-btn--lg { height: 60px; font-size: 20px; }
	.fig-packages__lead { font-size: 20px; line-height: 26px; margin-bottom: 40px !important; }
	.fig-package { padding: 35px; min-height: 0; }
	.fig-package__title { font-size: 26px; line-height: 34px; }
	.fig-package__name { font-size: 20px; }
	.fig-package__value,
	.fig-package__clinics p,
	.fig-package__note { font-size: 18px; line-height: 26px; }
	.fig-package__label { font-size: 20px; padding-top: 30px; }
	.fig-ortoped__slider { gap: 20px; }
	.fig-ortoped-card__body { padding: 30px 24px 24px; }
	.fig-ortoped-card__name { font-size: 22px; line-height: 27px; }
	.fig-ortoped-card__spec { font-size: 17px; line-height: 21px; }
	.fig-ortoped-card__meta { font-size: 18px; padding-top: 30px; }

	/* Страницы услуг */
	.fig-page--service .fig-hero__card { min-height: 560px; }
	.fig-svc-hero__intro { margin-top: 30px; margin-bottom: 30px; }
	.fig-svc-hero__lead { font-size: 19px; }
	.fig-svc-hero__subtitle { font-size: 22px; }
	.fig-svc-hero__lead + .fig-svc-hero__subtitle { margin-top: 20px !important; }
	.fig-svc-hero__text { font-size: 20px; margin-top: 12px !important; }
	a.fig-svc-hero__link { font-size: 20px; margin-top: 24px; }
	.fig-title.fig-title--lead { margin-bottom: 20px !important; }
	.fig-svc-lead { font-size: 19px; line-height: 25px; margin-bottom: 40px !important; }
	.fig-svc-lead--lg { font-size: 20px; line-height: 26px; }
	.fig-cards { gap: 20px; }
	.fig-card { padding: 24px; }
	.fig-card__num { font-size: 18px; }
	.fig-card__icon { flex-basis: 56px; width: 56px; height: 56px; }
	.fig-card__title { font-size: 24px; margin-top: 60px !important; }
	.fig-cards--tall .fig-card__title { margin-top: 70px !important; }
	.fig-card__text { font-size: 17px; line-height: 21px; margin-top: 20px; }
	.fig-cards--long .fig-card__text { margin-top: 16px; }
	a.fig-card__btn { height: 46px; padding: 0 30px; font-size: 16px; }
	.fig-tips { gap: 14px; }
	.fig-page .fig-tip { padding: 24px; font-size: 17px; line-height: 21px; }
	.fig-split { min-height: 520px; }
	.fig-split__body { padding: 45px; }
	.fig-split__title { font-size: 50px; }
	.fig-split__lead { font-size: 19px; margin-top: 30px !important; }
	.fig-split__text { font-size: 17px; line-height: 21px; margin-top: 20px; }
	.fig-split__text + .fig-btn { margin-top: 30px; }
	.fig-works { gap: 20px; }
	.fig-prices { padding: 40px; }
	.fig-prices__table th { font-size: 24px; }
	.fig-prices__table td { padding-top: 22px; padding-bottom: 22px; font-size: 19px; }
	.fig-prices__table th:last-child,
	.fig-prices__table td:last-child { width: 150px; padding-left: 24px; }
	.fig-prices--lg .fig-prices__table td { padding-top: 24px; padding-bottom: 24px; font-size: 22px; }
	.fig-prices__table tr:last-child td,
	.fig-prices--lg .fig-prices__table tr:last-child td { padding-bottom: 0; }
	.fig-video { padding: 40px; }
	.fig-video__cols { gap: 40px; }
	.fig-video__cols p { font-size: 17px; line-height: 21px; }
	.fig-video__frame { margin-top: 30px; }
	.fig-brand { min-height: 160px; }
	.fig-brand img { max-height: 86px; }
	/* Страницы услуг, вторая партия */
	.fig-card__num + .fig-card__text { margin-top: 60px; }
	.fig-card__pic + .fig-card__title { margin-top: 30px !important; }
	.fig-card__body { padding: 24px 24px 30px; }
	.fig-panel { padding: 45px; }
	.fig-panel__title,
	.fig-panel__subtitle--oswald { font-size: 24px; }
	.fig-panel__lead { font-size: 19px; line-height: 25px; }
	.fig-panel__cols { gap: 45px; margin-top: 40px; }
	.fig-panel__subtitle { font-size: 21px; }
	.fig-panel__text { font-size: 16px; line-height: 20px; }
	.fig-panel__text + .fig-panel__subtitle { margin-top: 30px !important; }
	.fig-panel__photos { gap: 30px; }
	.fig-panel__note { font-size: 18px; line-height: 22px; }
	.fig-types { gap: 20px; margin-top: 30px; }
	.fig-type { padding: 24px; }
	.fig-type__title { font-size: 21px; }
	.fig-type__text,
	.fig-type__label { font-size: 19px; line-height: 25px; }
	.fig-type__sep { margin-top: 24px; padding-top: 24px; }
	.fig-pics { gap: 20px; }
	.fig-offers { gap: 30px; }
	.fig-offer { gap: 30px; padding: 24px; }
	.fig-offer__photo { flex-basis: 260px; width: 260px; }
	.fig-offer__title { font-size: 24px; }
	.fig-offer__text { font-size: 17px; line-height: 21px; margin-bottom: 24px !important; }
	.fig-info { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); column-gap: 60px; padding: 45px; }
	.fig-info__head { margin-bottom: 30px !important; }
	.fig-info__title { font-size: 24px; }
	.fig-info__subtitle { font-size: 21px; margin-top: 30px !important; }
	.fig-info__text,
	.fig-info__caption { font-size: 16px; line-height: 20px; }
	.fig-info__caption { margin-top: 24px !important; }
	.fig-info__actions { gap: 20px; padding-top: 40px; }
	.fig-info__actions a.fig-card__btn { height: 50px; padding: 0 28px; }
	.fig-split.fig-split--short { min-height: 460px; }
	.fig-split__heading { font-size: 26px; }
	.fig-page .fig-list li { font-size: 16px; line-height: 20px; }
	.fig-lists { gap: 20px; }
	.fig-lists__card { padding: 45px; }
	.fig-lists__title { font-size: 24px; }
	.fig-page .fig-lists__list li,
	.fig-page .fig-lists__note { font-size: 17px; line-height: 21px; }
	.fig-faq__q { min-height: 84px; font-size: 22px; }
	.fig-faq__a { font-size: 17px; line-height: 22px; }
	.fig-prices__table .fig-prices__group th { padding-top: 22px; padding-bottom: 22px; font-size: 23px; }
	.fig-prices--compare .fig-prices__table th:nth-child(2),
	.fig-prices--compare .fig-prices__table td:nth-child(2) { width: 200px; }
	.fig-prices--compare .fig-prices__table th:nth-child(3),
	.fig-prices--compare .fig-prices__table td:nth-child(3) { width: 300px; }
	.fig-prices__table th small { font-size: 14px; }

	/* Страница врача */
	.fig-doc__panel { padding: 30px; }
	.fig-doc__cols { gap: 30px; }
	.fig-doc__card { padding: 30px; }
	.fig-doc__photo-card { padding: 16px; }
	.fig-page a.fig-doc__btn { height: 60px; margin-top: 24px; }
	.fig-doc__clinics { margin-top: 14px; }
	.fig-doc__clinic { padding: 16px 30px; }
	.fig-doc__clinic-label { font-size: 16px; line-height: 19px; }
	.fig-doc__clinic-row { margin-top: 8px; font-size: 18px; line-height: 21px; }
	.fig-doc__certs { margin-top: 24px; }
	.fig-doc__certs-grid { gap: 16px 10px; margin-top: 16px; }
	.fig-doc__name { font-size: 50px; }
	.fig-doc__fact { margin-top: 24px; }
	.fig-doc__name + .fig-doc__fact { margin-top: 30px; }
	.fig-doc__fact-label { font-size: 22px; }
	.fig-doc__fact-value { font-size: 20px; margin-top: 8px !important; }
	.fig-doc__fact-value:first-child { margin-top: 0 !important; }
	.fig-doc__text-card { margin-top: 24px; }
	.fig-doc__head + .fig-doc__text-card { margin-top: 16px; }
	.fig-doc__subtitle { font-size: 22px; line-height: 26px; }
	.fig-doc__text { margin-top: 16px; font-size: 18px; line-height: 27px; }
	.fig-doc__reviews-title { margin-top: 30px !important; font-size: 26px; line-height: 34px; }
	.fig-doc__reviews { margin-top: 24px; }
	.fig-doc__review { padding: 30px; }
	.fig-doc__review-title { font-size: 28px; }
	.fig-doc__review-text { font-size: 19px; line-height: 28px; }
	.fig-doc__review-foot { margin-top: 24px; }
	.fig-doc__review-author { font-size: 20px; line-height: 28px; }
	.fig-page--doctor .fig-cta { margin-top: 80px; }

	/* Цены */
	.fig-pricelist { margin-top: 60px; }
	.fig-page--price .fig-cta { margin-top: 120px; }

	/* Список врачей: контейнер 1300px, карточка ~300px */
	.fig-staff { margin-top: 80px; }
	.fig-staff__grid { gap: 30px 24px; }
	.fig-staff-card__rank { left: 14px; bottom: 14px; padding: 9px 14px; font-size: 15px; }
	.fig-staff-card__body { padding: 24px; }
	.fig-staff-card__name { font-size: 24px; }
	.fig-staff-card__spec { margin-top: 10px !important; font-size: 17px; }

	/* Лицензии */
	.fig-licenses { margin-top: 60px; }
	.fig-lic { padding: 30px; }
	.fig-lic__title { font-size: 28px; }
	.fig-lic__grid { gap: 20px; margin-top: 24px; }
	.fig-lic a.fig-card__btn { margin-top: 24px; }
	.fig-page--licenses .fig-cta { margin-top: 120px; }
}

/* =========================================================================
   Адаптив: ноутбуки, до 1590px
   Контейнер сжимается до 1080px, и наложение «карточка + фото + три плашки»
   из макета в него уже не помещается — блок «Обратный звонок» раскладывается
   в поток: карточка, фото, плашки в три колонки.
   ========================================================================= */
@media (max-width: 1590px) {
	.fig-cta__wrap {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
		min-height: 0;
	}
	.fig-cta__card {
		position: static;
		grid-column: 1 / -1;
		min-height: 0;
		padding: 40px;
		justify-content: flex-start;
	}
	.fig-cta__text { width: 100%; }
	/* .fig-page img задан max-width: 100%, поэтому селектор усилен */
	.fig-page .fig-cta__photo {
		position: static;
		grid-column: 1 / -1;
		justify-self: center;
		width: 100%;
		max-width: 760px;
		height: auto;
	}
	.fig-fact {
		position: static;
		width: 100%;
		margin-top: 0;
		padding-top: 26px;
	}

	/* Услуги */
	.fig-page--services .fig-service__title { font-size: 22px; }
	.fig-page--services .fig-link { font-size: 18px; }

	/* Страница клиники */
	.fig-page--clinic .fig-hero__card { min-height: 460px; }
	.fig-page--clinic .fig-hero__content { padding: 40px 25px 45px 35px; }
	.fig-page--clinic .fig-hero__title { font-size: 42px; line-height: 50px; margin-top: 35px !important; }
	.fig-clinic__address { font-size: 20px; line-height: 24px; }
	.fig-clinic__address--long { font-size: 18px; }
	.fig-rating__grid { gap: 14px; }
	.fig-rating__item { min-height: 72px; padding: 0 16px 0 18px; gap: 10px; }
	.fig-rating__logo { max-height: 26px; }
	.fig-rating__score { font-size: 18px; }
	.fig-rating__score img { flex-basis: 11px; width: 11px; height: 11px; }
	.fig-rating__note { font-size: 16px; }
	.fig-rating--main .fig-rating__head { gap: 10px; }
	.fig-rating--main .fig-rating__item { padding: 0 18px 0 18px; }
	.fig-rating--main .fig-rating__logo { max-height: 28px; }
	.fig-page--clinic .fig-promo-card__body { padding: 25px 30px 30px; }
	.fig-page--clinic .fig-promo-card__title { font-size: 22px; line-height: 30px; }
	.fig-page--clinic .fig-link { font-size: 18px; }

	/* Контакты */
	.fig-page--contacts .fig-hero__title { font-size: 42px; }
	.fig-clinic-card { min-height: 0; }
	.fig-clinic-card__body { padding: 30px; }
	.fig-clinic-card__item p { font-size: 17px; line-height: 30px; }
	.fig-clinic-card__text { font-size: 16px; }
	a.fig-btn--sm { height: 48px; font-size: 15px; }

	/* Акции: в узкий контейнер две колонки уже не встают */
	.fig-promo-full { min-height: 0; }
	.fig-promo-full__body { padding: 30px; }
	.fig-promo-full__cols,
	.fig-promo-full__actions { grid-template-columns: minmax(0, 1fr); }
	.fig-promo-full__actions { gap: 14px; }
	.fig-promo-full__title { font-size: 22px; line-height: 30px; }
	.fig-instal__cols { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.fig-instal__btn { width: 100%; }
	.fig-package__actions { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.fig-ortoped-card__meta { flex-direction: column; align-items: flex-start; gap: 6px; }

	/* Страницы услуг: четыре карточки в ряд в контейнер 1080px уже не встают */
	.fig-page--service .fig-hero__card { min-height: 480px; }
	.fig-svc-hero__lead { font-size: 17px; }
	.fig-svc-hero__subtitle { font-size: 20px; }
	.fig-svc-hero__text { font-size: 18px; }
	a.fig-svc-hero__link { font-size: 18px; }
	.fig-cards--4,
	.fig-tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fig-card__title { font-size: 22px; margin-top: 40px !important; }
	.fig-cards--tall .fig-card__title { margin-top: 50px !important; }
	.fig-card__text { font-size: 16px; line-height: 20px; }
	.fig-split { min-height: 440px; }
	.fig-split__body { padding: 35px; }
	.fig-split__title { font-size: 40px; }
	.fig-split__lead { font-size: 17px; }
	.fig-split__text { font-size: 16px; line-height: 20px; }
	.fig-prices { padding: 30px; }
	.fig-prices__table th { font-size: 22px; }
	.fig-prices__table td { padding-top: 18px; padding-bottom: 18px; font-size: 17px; }
	.fig-prices--lg .fig-prices__table td { padding-top: 20px; padding-bottom: 20px; font-size: 19px; }
	.fig-prices__table tr:last-child td,
	.fig-prices--lg .fig-prices__table tr:last-child td { padding-bottom: 0; }
	.fig-video { padding: 30px; }
	.fig-video__cols p { font-size: 16px; line-height: 20px; }
	.fig-brand { min-height: 130px; padding: 24px; }
	.fig-brand img { max-height: 70px; }
	/* Страницы услуг, вторая партия */
	.fig-card__num + .fig-card__text { margin-top: 40px; }
	.fig-panel { padding: 35px; }
	.fig-panel__title,
	.fig-panel__subtitle--oswald { font-size: 22px; }
	.fig-panel__lead { font-size: 17px; line-height: 22px; }
	.fig-panel__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; }
	.fig-panel__subtitle { font-size: 19px; }
	.fig-panel__photos { gap: 16px; }
	.fig-panel__note { font-size: 16px; line-height: 20px; }
	.fig-type { padding: 20px; }
	.fig-type__title { font-size: 19px; }
	.fig-type__text,
	.fig-type__label { font-size: 16px; line-height: 21px; }
	.fig-type__sep { margin-top: 20px; padding-top: 20px; }
	.fig-offer__photo { flex-basis: 200px; width: 200px; }
	.fig-offer__title { font-size: 21px; }
	.fig-offer__text { font-size: 16px; line-height: 20px; }
	.fig-info { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); column-gap: 40px; padding: 35px; }
	.fig-info__title { font-size: 22px; }
	.fig-info__subtitle { font-size: 19px; }
	.fig-info__actions a.fig-card__btn { height: 46px; padding: 0 22px; font-size: 15px; }
	.fig-split.fig-split--short { min-height: 400px; }
	.fig-split__heading { font-size: 22px; }
	.fig-page .fig-list { margin-top: 20px; margin-bottom: 30px; }
	.fig-lists__card { padding: 35px; }
	.fig-lists__title { font-size: 22px; }
	.fig-page .fig-lists__list li,
	.fig-page .fig-lists__note { font-size: 16px; line-height: 20px; }
	.fig-faq__q { min-height: 72px; font-size: 20px; }
	.fig-faq__q::after { flex-basis: 40px; width: 40px; height: 40px; }
	.fig-faq__a { font-size: 16px; line-height: 21px; }
	.fig-prices__table .fig-prices__group th { padding-top: 18px; padding-bottom: 18px; font-size: 20px; }
	.fig-prices--compare .fig-prices__table th:nth-child(2),
	.fig-prices--compare .fig-prices__table td:nth-child(2) { width: 160px; }
	.fig-prices--compare .fig-prices__table th:nth-child(3),
	.fig-prices--compare .fig-prices__table td:nth-child(3) { width: 230px; }

	/* Страница врача: левая колонка ~370px — кнопка записи не помещается в 20px */
	.fig-doc__card { padding: 25px; }
	.fig-doc__photo-card { padding: 12px; }
	.fig-page a.fig-doc__btn .fig-btn__text { font-size: 16px; }
	.fig-doc__clinic { padding: 14px 20px; }
	.fig-doc__clinic-row { font-size: 16px; line-height: 19px; }
	.fig-doc__certs-grid { gap: 12px 8px; }
	.fig-doc__name { font-size: 42px; }
	.fig-doc__fact-label { font-size: 20px; }
	.fig-doc__fact-value { font-size: 18px; }
	.fig-doc__subtitle { font-size: 20px; line-height: 24px; }
	.fig-doc__text { font-size: 17px; line-height: 25px; }
	.fig-doc__review { padding: 25px; }
	.fig-doc__review-title { font-size: 24px; }
	.fig-doc__review-text { font-size: 17px; line-height: 26px; }
	.fig-doc__review-author { font-size: 18px; line-height: 24px; }

	/* Список врачей: в 1080px четыре колонки дают карточку уже 250px — переходим на три */
	.fig-staff__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =========================================================================
   Адаптив: планшеты, до 1199px
   ========================================================================= */
@media (max-width: 1199px) {
	#content:has(.fig-page) {
		padding: 0;
	}
	.fig-container {
		padding: 0 20px;
	}
	.fig-section,
	.fig-footer {
		margin-top: 70px;
	}
	.fig-title {
		font-size: 38px;
		margin-bottom: 30px !important;
	}

	.fig-hero__card {
		flex-direction: column;
		min-height: 0;
	}
	.fig-hero__content {
		padding: 30px;
	}
	.fig-hero__media {
		flex: 0 0 auto;
		max-width: 100%;
		padding: 0 30px 30px;
	}
	.fig-hero__photo { height: 420px; }
	.fig-hero__title { font-size: 42px; }
	.fig-hero__content .fig-btn { margin-top: 30px; }
	.fig-hero__badge { position: static; transform: none; width: 100%; max-width: 100%; margin-top: 20px; }

	.fig-services__grid { grid-template-columns: repeat(2, 1fr); }
	.fig-promo__grid { grid-template-columns: 1fr; }
	.fig-doctors__grid { grid-template-columns: 1fr; gap: 25px; }
	.fig-news__grid { grid-template-columns: 1fr; gap: 25px; }
	.fig-news-card { min-height: 0; }
	.fig-reviews__grid { grid-template-columns: 1fr; gap: 25px; }
	.fig-reviews__col { gap: 25px; }

	/* Блок «Обратный звонок» перестраивается в колонку */
	.fig-cta { margin-top: 70px; }
	.fig-cta__wrap { min-height: 0; }
	.fig-cta__card {
		position: static;
		min-height: 0;
		padding: 30px;
		justify-content: flex-start;
	}
	.fig-cta__text { width: 100%; }
	.fig-cta__title { font-size: 34px; line-height: 44px; }
	.fig-cta__photo {
		position: static;
		display: block;
		width: 100%;
		height: auto;
		margin: 0 auto;
		object-position: center bottom;
	}
	.fig-fact {
		position: static;
		width: 100%;
		margin-top: 0;
		padding-top: 26px;
	}

	.fig-contacts__map { min-height: 0; padding: 20px; }
	.fig-contacts__card { width: 100%; min-height: 0; padding: 40px 30px; }
	.fig-contacts__title { font-size: 38px; }
	.fig-contacts__card .fig-btn--plain { margin-top: 40px; }

	.fig-footer { border-radius: 0; padding: 40px 0 30px; }
	.fig-footer__cols {
		flex-wrap: wrap;
		gap: 30px 40px;
		padding-bottom: 0;
	}
	.fig-footer__col { flex: 0 0 auto; }
	.fig-footer__btn {
		position: static;
		width: 100%;
		margin-top: 25px;
	}
	.fig-footer__bottom { flex-wrap: wrap; gap: 20px 40px; }
	.fig-footer__bottom-col--right { text-align: left; }

	/* Услуги */
	.fig-page--services .fig-services { margin-top: 40px; }
	.fig-page--services .fig-title { margin-bottom: 30px !important; }
	.fig-page--services .fig-services__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
	.fig-page--services .fig-service__title { font-size: 20px; }

	/* Страница клиники */
	.fig-page--clinic .fig-section { margin-top: 70px; }
	.fig-page--clinic .fig-hero { margin-top: 15px; }
	.fig-page--clinic .fig-hero__card { min-height: 0; }
	.fig-page--clinic .fig-hero__content { padding: 30px; }
	/* Карточка разложена в колонку — доля ширины у фото больше не нужна */
	.fig-page--clinic .fig-hero__media--wide { flex: 0 0 auto; max-width: 100%; }
	.fig-clinic__address--long { font-size: 17px; }
	.fig-page--clinic .fig-hero__title { font-size: 34px; line-height: 42px; margin-top: 25px !important; }
	.fig-clinic__address { font-size: 18px; line-height: 22px; margin-top: 16px !important; }
	.fig-rating { margin-top: 15px; }
	/* Пять карточек в ряд на планшете не читаются — раскладываем в три колонки */
	.fig-rating__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	/* Долям колонок с главной нужен явный сброс: правило с модификатором
	   специфичнее базового и иначе удержит десктопную раскладку */
	.fig-rating--main .fig-rating__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.fig-rating__item { min-height: 76px; }
	/* На главной высокие карточки с подписью тоже становятся обычными:
	   растягивать их на две строки в трёхколоночной сетке уже нечем */
	.fig-rating--main .fig-rating__item--tall {
		grid-row: auto;
		justify-content: center;
		gap: 4px;
		padding-top: 12px;
		padding-bottom: 12px;
	}
	/* Карточка больше не на две строки — шапке незачем держать высоту строки */
	.fig-rating--main .fig-rating__item--tall .fig-rating__head { flex: 0 0 auto; min-height: 0; }
	.fig-rating__note { flex: 0 0 auto; }
	.fig-tour__frame { aspect-ratio: 16 / 9; }
	.fig-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
	.fig-gallery__img,
	.fig-gallery__img--wide { aspect-ratio: 4 / 3; }
	.fig-page--clinic .fig-promo-card__body { padding: 20px; }
	.fig-page--clinic .fig-promo-card__title { font-size: 20px; line-height: 26px; }

	/* Контакты: карточка клиники раскладывается в колонку, фото уходит наверх */
	.fig-page--contacts .fig-hero__content { padding: 30px; }
	.fig-page--contacts .fig-hero__title { font-size: 34px; margin-top: 25px !important; }
	.fig-page--contacts .fig-hero__media { flex: 0 0 auto; max-width: 100%; }
	.fig-page--contacts .fig-clinic__address { font-size: 18px; line-height: 22px; margin-top: 16px !important; }
	.fig-clinic-card { flex-direction: column-reverse; }
	.fig-clinic-card__body { padding: 25px; }
	.fig-page .fig-clinic-card__photo { flex: 0 0 auto; width: 100%; max-width: 100%; height: 320px; }

	/* Акции: карточка раскладывается в колонку, фото уходит наверх */
	.fig-page--aktsii .fig-section { margin-top: 70px; }
	.fig-aktsii { margin-top: 40px; }
	.fig-promo-full { flex-direction: column-reverse; }
	.fig-promo-full__imglink { flex: 0 0 auto; width: 100%; max-width: 100%; }
	.fig-promo-full__photo { height: 320px; }
	.fig-promo-full__body { padding: 25px; }
	.fig-instal__card { padding: 25px; }
	.fig-packages__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.fig-package { padding: 25px; }
	.fig-ortoped__slider { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	/* Стрелки убираем внутрь ряда, иначе вылезают за край экрана */
	.fig-ortoped__slider .owl-nav button.owl-prev,
	.fig-ortoped__slider .owl-nav button.owl-next { width: 60px; height: 60px; margin-top: -30px; }
	.fig-ortoped__slider .owl-nav button.owl-prev { left: 0; }
	.fig-ortoped__slider .owl-nav button.owl-next { right: 0; }
	.fig-ortoped-card__body { padding: 24px 20px 20px; }

	/* Страницы услуг: первый экран и карточка «текст + фото» раскладываются
	   в колонку. Доли ширины у фото заданы модификатором, поэтому сбрасываем явно */
	.fig-page--service .fig-hero { margin-top: 15px; }
	.fig-page--service .fig-hero__card { min-height: 0; }
	.fig-page--service .fig-hero__media,
	.fig-page--service .fig-hero__media--md,
	.fig-page--service .fig-hero__media--sm { flex: 0 0 auto; max-width: 100%; overflow: visible; }
	/* В колонке фото снова в потоке — высоту ему задаёт .fig-hero__photo */
	.fig-page--service .fig-hero__photo { position: static; }
	.fig-svc-hero__intro { margin-top: 20px; margin-bottom: 0; }
	.fig-cards,
	.fig-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.fig-card { padding: 20px; }
	.fig-card__icon { flex-basis: 48px; width: 48px; height: 48px; }
	.fig-card__title { font-size: 20px; margin-top: 30px !important; }
	.fig-cards--tall .fig-card__title { margin-top: 30px !important; }
	.fig-card__text { margin-top: 14px; }
	.fig-cards--long .fig-card__text { margin-top: 12px; }
	.fig-tips { gap: 12px; margin-top: 16px; }
	.fig-page .fig-tip { padding: 20px; font-size: 16px; line-height: 20px; }
	.fig-split { flex-direction: column-reverse; min-height: 0; }
	.fig-page .fig-split__photo { flex: 0 0 auto; width: 100%; max-width: 100%; height: 360px; }
	.fig-split__body { padding: 25px; }
	.fig-split__title { font-size: 34px; }
	.fig-split__lead { margin-top: 20px !important; }
	.fig-split__text + .fig-btn { margin-top: 25px; }
	.fig-gallery--even { gap: 15px; }
	.fig-works { gap: 16px; }
	.fig-prices { padding: 25px; }
	.fig-prices__table th { font-size: 20px; }
	.fig-prices__table th:last-child,
	.fig-prices__table td:last-child { width: 120px; padding-left: 16px; }
	.fig-prices__table td { padding-right: 16px; font-size: 16px; }
	.fig-prices--lg .fig-prices__table td { font-size: 17px; }
	.fig-video { padding: 25px; }
	.fig-video__cols { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.fig-video__frame { margin-top: 20px; }
	.fig-brands { gap: 16px; }
	.fig-brand { flex-basis: calc((100% - 16px) / 2); min-height: 120px; }
	.fig-brand img { max-height: 60px; }
	/* Страницы услуг, вторая партия: колонки встают друг под друга */
	.fig-card__num + .fig-card__text { margin-top: 30px; }
	.fig-card__pic + .fig-card__title { margin-top: 24px !important; }
	.fig-card__body { padding: 20px 20px 24px; }
	.fig-panel { padding: 25px; }
	.fig-panel__cols { grid-template-columns: minmax(0, 1fr); gap: 25px; margin-top: 25px; }
	.fig-types { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 25px; }
	.fig-pics { gap: 16px; }
	.fig-offers { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.fig-offer { padding: 20px; }
	.fig-offer__photo { flex-basis: 240px; width: 240px; }
	.fig-info { grid-template-columns: minmax(0, 1fr); row-gap: 25px; padding: 25px; }
	.fig-info__head { margin-bottom: 0 !important; }
	.fig-info__actions { padding-top: 30px; }
	.fig-info + .fig-info { margin-top: 16px; }
	.fig-lists { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.fig-lists__card { padding: 25px; }
	.fig-faq { gap: 12px; }
	.fig-faq__q { padding: 16px 16px 16px 25px; }
	.fig-faq__a { padding: 0 25px 25px; }
	.fig-prices + .fig-prices { margin-top: 16px; }
	.fig-prices--compare .fig-prices__table th:not(:first-child),
	.fig-prices--compare .fig-prices__table td:not(:first-child) { padding-left: 10px; padding-right: 10px; }
	.fig-prices--compare .fig-prices__table th:nth-child(2),
	.fig-prices--compare .fig-prices__table td:nth-child(2) { width: 130px; }
	.fig-prices--compare .fig-prices__table th:nth-child(3),
	.fig-prices--compare .fig-prices__table td:nth-child(3) { width: 170px; }

	/* Страница врача: одна колонка. Обёртки колонок растворяются (display: contents),
	   чтобы ФИО встало сразу под фото, а сертификаты ушли в конец */
	.fig-doc { margin-top: 15px; }
	.fig-doc__panel { padding: 20px; }
	.fig-doc__cols { flex-direction: column; align-items: stretch; gap: 16px; }
	.fig-doc__col { display: contents; }
	.fig-doc__photo-card { order: 1; align-self: center; width: 100%; max-width: 420px; }
	.fig-doc__head { order: 2; }
	.fig-page a.fig-doc__btn { order: 3; margin-top: 0; }
	.fig-doc__clinics { order: 4; margin-top: 0; }
	.fig-doc__text-card,
	.fig-doc__head + .fig-doc__text-card { order: 5; margin-top: 0; }
	.fig-doc__certs { order: 6; margin-top: 0; }
	.fig-doc__certs-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
	.fig-doc__name { font-size: 34px; line-height: 1.15; }
	.fig-doc__name + .fig-doc__fact { margin-top: 24px; }
	.fig-doc__fact { margin-top: 18px; }
	.fig-doc__fact-label { font-size: 18px; }
	.fig-doc__fact-value { font-size: 17px; }
	.fig-doc__text { font-size: 16px; line-height: 24px; }
	.fig-doc__reviews-title { margin-top: 30px !important; font-size: 24px; line-height: 32px; }
	.fig-doc__reviews { margin-top: 20px; }
	.fig-doc__review-title { font-size: 22px; }
	.fig-doc__review-text { font-size: 16px; line-height: 24px; }
	.fig-doc__review-foot { margin-top: 20px; }
	.fig-page--doctor .fig-cta { margin-top: 70px; }

	/* Цены */
	.fig-pricelist { margin-top: 40px; }
	.fig-page .fig-pricelist__note { margin-top: 30px; font-size: 18px; }
	.fig-page--price .fig-cta { margin-top: 70px; }

	/* Список врачей */
	.fig-staff { margin-top: 40px; }
	.fig-staff__grid { gap: 24px 20px; }
	.fig-staff-card__body { padding: 20px; }
	.fig-staff-card__name { font-size: 22px; }
	.fig-staff-card__spec { font-size: 16px; }

	/* Лицензии: пять сканов в ряд на планшете мелковаты — по три */
	.fig-licenses { margin-top: 40px; }
	.fig-lic { padding: 25px; }
	.fig-lic__title { font-size: 24px; }
	.fig-lic__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
	.fig-lic a.fig-card__btn { margin-top: 20px; }
	.fig-page--licenses .fig-cta { margin-top: 70px; }
}

/* =========================================================================
   Адаптив: мобильные, до 767px
   ========================================================================= */
@media (max-width: 767px) {
	.fig-section,
	.fig-footer {
		margin-top: 50px;
	}
	.fig-container { padding: 0 15px; }
	.fig-title { font-size: 26px; margin-bottom: 20px !important; }

	.fig-btn {
		height: auto;
		min-height: 56px;
		gap: 16px;
		padding: 10px 10px 10px 20px;
	}
	.fig-btn__text { font-size: 15px; white-space: normal; }
	.fig-btn__icon,
	.fig-btn__icon img { width: 36px; height: 36px; flex-basis: 36px; }
	.fig-btn--plain { min-height: 52px; font-size: 14px; }
	.fig-link { font-size: 17px; }

	.fig-hero { margin-top: 15px; }
	.fig-hero__content { padding: 20px; }
	.fig-hero__media { padding: 0 20px 20px; }
	.fig-hero__photo { height: 240px; }
	.fig-hero__title { font-size: 28px; margin-top: 20px !important; }
	.fig-hero__subtitle { font-size: 16px; margin-top: 16px !important; }
	.fig-hero__list { margin-top: 16px !important; padding-left: 22px !important; }
	.fig-hero__list li { font-size: 15px; }
	.fig-hero__text { margin-top: 16px; }
	.fig-hero__text p { font-size: 16px; }
	.fig-hero__text ul { margin-top: 16px !important; padding-left: 22px !important; }
	.fig-hero__text ul li { font-size: 15px; }
	.fig-pill { padding: 12px 16px; gap: 8px; }
	.fig-pill span { font-size: 14px; }
	.fig-pill img { width: 24px; height: 16px; }
	.fig-hero__badge { padding: 24px 16px; min-height: 0; }
	.fig-hero__badge p { font-size: 20px; line-height: 26px; }
	.fig-dots { margin-top: 25px; }
	.fig-dots__item { width: 12px; height: 12px; }
	.fig-hero__slider .owl-dots { margin-top: 39px; }
	.fig-hero__slider .owl-dots .owl-dot span { width: 12px; height: 12px; }

	.fig-services__grid { grid-template-columns: 1fr; gap: 15px; }
	.fig-service { min-height: 0; }
	.fig-service__body { padding: 16px; }
	.fig-service__title { font-size: 18px; line-height: 24px; }
	.fig-section__action { margin-top: 25px; }

	.fig-promo-card { flex-direction: column; min-height: 0; }
	.fig-promo-card__img { flex: 0 0 auto; max-width: 100%; width: 100%; height: 220px; }
	.fig-promo-card__imglink { flex: 0 0 auto; max-width: 100%; width: 100%; }
	.fig-promo-card__imglink .fig-promo-card__img { height: 220px; }
	.fig-promo-card__body { padding: 16px; }
	.fig-promo-card__title { font-size: 18px; line-height: 24px; }
	.fig-promo-card__price { font-size: 16px; margin-top: 16px !important; }
	.fig-promo-card__note,
	.fig-promo-card__list { font-size: 14px; margin-top: 12px !important; }

	.fig-cta__wrap { grid-template-columns: minmax(0, 1fr); }
	.fig-cta__card { padding: 20px; }
	.fig-cta__title { font-size: 22px; line-height: 30px; }
	.fig-cta__lead { font-size: 18px; margin-top: 20px !important; }
	.fig-cta__sub { font-size: 15px; }
	.fig-cta__text .fig-btn { margin-top: 25px; }

	.fig-doctor { padding: 16px; }
	.fig-doctor__top { flex-direction: column; gap: 16px; }
	.fig-doctor__photo { flex-basis: auto; width: 100%; height: 320px; }
	.fig-doctor__photolink { flex-basis: auto; width: 100%; }
	.fig-doctor__name { font-size: 20px; }
	.fig-doctor__spec { font-size: 15px; margin-top: 8px !important; }
	.fig-doctor__rank,
	.fig-doctor__exp { font-size: 16px; margin-top: 8px !important; }
	.fig-doctor__review { width: 100%; margin: 20px 0 0; padding: 16px; }
	.fig-doctor__review-label { font-size: 16px; }
	.fig-doctor__review-text { font-size: 15px; line-height: 22px; }
	.fig-review-link { font-size: 16px; }
	.fig-doctor__bottom { flex-direction: column; align-items: flex-start; margin: 20px 0 0; }
	.fig-doctor__certs img { width: 60px; height: 72px; }
	.fig-doctor__place-label { font-size: 14px; }
	.fig-doctor__place-value { font-size: 16px; margin-top: 6px; }

	.fig-review { padding: 20px; }
	.fig-review__title { font-size: 18px; }
	.fig-review__text { font-size: 15px; line-height: 24px; margin-top: 14px !important; }
	.fig-review__foot { flex-wrap: wrap; gap: 10px; padding-top: 25px; }
	.fig-review__author { font-size: 16px; }
	.fig-stars img { width: 18px; height: 18px; }
	.fig-reviews__all { min-height: 0; padding: 20px 20px 20px; align-items: center; flex-wrap: wrap; }
	.fig-reviews__all-logo { position: static; width: 48px; height: 48px; order: 3; margin-left: auto; }

	.fig-news-card { padding: 16px; }
	.fig-news-card__title { font-size: 17px; margin-top: 16px !important; }
	.fig-news-card__date { font-size: 16px; }

	.fig-contacts__map { padding: 12px; }
	.fig-contacts__card { padding: 24px 16px; }
	.fig-contacts__title { font-size: 26px; }
	.fig-contacts__list { margin-top: 25px; }
	.fig-contacts__dots { display: none; }
	.fig-contacts__item p { font-size: 16px; line-height: 28px; }
	.fig-contacts__item > img { margin-top: 4px; }

	.fig-fact__title,
	.fig-fact__text { font-size: 14px; }

	.fig-footer { padding: 30px 0 25px; }
	.fig-footer__logo img { width: 240px; }
	.fig-footer__cols { margin-top: 25px; gap: 20px 30px; }
	.fig-footer__col { flex: 1 1 45%; }
	.fig-footer__head { font-size: 18px; margin-bottom: 18px !important; }
	.fig-footer__col a,
	.fig-footer__col > p:not(.fig-footer__head) { font-size: 14px; margin-bottom: 12px; white-space: normal; }
	.fig-footer__socials img { width: 36px; height: 36px; }
	.fig-footer__bottom { padding-top: 20px; gap: 15px 30px; }
	.fig-footer__bottom-col { flex: 1 1 45%; }
	.fig-footer__bottom-col p,
	.fig-footer__bottom-col a { font-size: 14px; line-height: 20px; }

	/* Услуги. В одну колонку выравнивать высоту по самой длинной карточке не нужно */
	.fig-page--services .fig-services { margin-top: 25px; }
	.fig-page--services .fig-title { margin-bottom: 20px !important; }
	.fig-page--services .fig-services__grid {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
		gap: 15px;
	}
	.fig-page--services .fig-service__title { font-size: 18px; }
	.fig-page--services .fig-link { font-size: 17px; }

	/* Страница клиники */
	.fig-page--clinic .fig-section { margin-top: 50px; }
	.fig-page--clinic .fig-hero__content { padding: 20px; }
	.fig-page--clinic .fig-hero__title { font-size: 26px; line-height: 32px; margin-top: 16px !important; }
	.fig-clinic__address { font-size: 15px; line-height: 20px; margin-top: 10px !important; }
	.fig-clinic__address--long { font-size: 14px; }
	.fig-rating__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.fig-rating--main .fig-rating__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fig-rating__item { min-height: 60px; padding: 0 12px 0 14px; gap: 8px; }
	.fig-rating__logo { max-height: 20px; }
	.fig-rating__score { font-size: 15px; }
	.fig-rating__note { font-size: 14px; }
	.fig-rating--main .fig-rating__head { gap: 8px; }
	.fig-rating--main .fig-rating__item { padding: 0 14px 0 14px; }
	.fig-rating--main .fig-rating__logo { max-height: 22px; }
	.fig-rating--main .fig-rating__item--tall { padding-top: 10px; padding-bottom: 10px; }
	.fig-gallery { grid-template-columns: 1fr; gap: 12px; }
	.fig-gallery__img,
	.fig-gallery__img--wide { aspect-ratio: 3 / 2; }
	.fig-page--clinic .fig-promo-card__body { padding: 16px; }
	.fig-page--clinic .fig-promo-card__title { font-size: 18px; line-height: 24px; }
	.fig-page--clinic .fig-link { font-size: 17px; }

	/* Контакты */
	.fig-page--contacts .fig-hero__title { font-size: 26px; }
	.fig-clinic-card__body { padding: 16px; }
	.fig-clinic-card__title { font-size: 20px; line-height: 26px; }
	.fig-clinic-card__metro { margin-top: 16px; }
	.fig-clinic-card__metro span { font-size: 14px; }
	.fig-clinic-card__list { margin-top: 16px; }
	.fig-clinic-card__item p { font-size: 15px; line-height: 26px; }
	.fig-clinic-card__item img,
	.fig-clinic-card__metro img { flex-basis: 18px; width: 18px; height: 18px; }
	.fig-clinic-card__text { font-size: 14px; line-height: 20px; }
	.fig-clinic-card__actions { flex-direction: column; gap: 10px; padding-top: 20px; }
	a.fig-btn--sm { width: 100%; height: 46px; font-size: 14px; }
	.fig-page .fig-clinic-card__photo { height: 200px; }

	/* Акции */
	.fig-page--aktsii .fig-section { margin-top: 50px; }
	.fig-aktsii { margin-top: 25px; }
	.fig-promo-full__body { padding: 16px; }
	.fig-promo-full__photo { height: 200px; }
	.fig-promo-full__title { font-size: 18px; line-height: 24px; }
	.fig-promo-full__text p { font-size: 16px; line-height: 20px; }
	.fig-promo-full__text p ~ p,
	.fig-promo-full__text ul,
	.fig-promo-full__clinic,
	.fig-promo-full__note { font-size: 14px; line-height: 19px; }
	.fig-promo-full__label { font-size: 16px; }
	.fig-instal__card { padding: 16px; }
	.fig-instal__title { font-size: 18px; line-height: 24px; }
	.fig-instal__lead { font-size: 16px; line-height: 20px; }
	.fig-instal__facts li { font-size: 16px; gap: 10px; }
	.fig-instal__check { flex-basis: 20px; width: 20px; height: 20px; }
	.fig-instal__check::after { left: 5px; top: 2px; width: 5px; height: 9px; border-width: 0 2px 2px 0; }
	.fig-instal__steps p { font-size: 15px; line-height: 21px; }
	a.fig-btn--lg { width: 100%; height: 52px; font-size: 15px; }
	.fig-packages__lead { font-size: 16px; line-height: 22px; margin-bottom: 25px !important; }
	.fig-package { padding: 16px; }
	.fig-package__title { font-size: 18px; line-height: 24px; }
	.fig-package__cols { gap: 16px; margin-top: 20px; }
	.fig-package__name { font-size: 16px; }
	.fig-package__value,
	.fig-package__clinics p,
	.fig-package__note { font-size: 14px; line-height: 21px; }
	.fig-package__clinics { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.fig-package__label { font-size: 16px; padding-top: 20px; }
	.fig-ortoped__slider { grid-template-columns: minmax(0, 1fr); gap: 15px; }
	.fig-ortoped__slider .owl-nav button.owl-prev,
	.fig-ortoped__slider .owl-nav button.owl-next { width: 48px; height: 48px; margin-top: -24px; }
	.fig-ortoped__slider .owl-nav button.owl-prev::before,
	.fig-ortoped__slider .owl-nav button.owl-next::before { width: 12px; height: 12px; }
	.fig-ortoped-card__body { padding: 16px; }
	.fig-ortoped-card__name { font-size: 18px; line-height: 24px; }
	.fig-ortoped-card__spec { font-size: 15px; line-height: 20px; margin-top: 10px !important; }
	.fig-ortoped-card__meta { font-size: 15px; padding-top: 20px; }
	a.fig-ortoped-card__btn { margin-top: 20px; }

	/* Страницы услуг */
	.fig-svc-hero__lead { font-size: 15px; }
	.fig-svc-hero__subtitle { font-size: 17px; }
	.fig-svc-hero__lead + .fig-svc-hero__subtitle { margin-top: 14px !important; }
	.fig-svc-hero__text { font-size: 15px; margin-top: 8px !important; }
	a.fig-svc-hero__link { font-size: 16px; margin-top: 18px; }
	.fig-svc-hero__link img { width: 20px; height: 20px; }
	.fig-title.fig-title--lead { margin-bottom: 12px !important; }
	.fig-svc-lead,
	.fig-svc-lead--lg { font-size: 15px; line-height: 20px; margin-bottom: 20px !important; }
	.fig-cards,
	.fig-cards--4,
	.fig-tips { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.fig-card { padding: 16px; }
	.fig-card__num { font-size: 15px; line-height: 20px; }
	.fig-card__icon { flex-basis: 44px; width: 44px; height: 44px; }
	.fig-card__title,
	.fig-cards--tall .fig-card__title { font-size: 18px; margin-top: 20px !important; }
	.fig-card__text { font-size: 15px; line-height: 20px; margin-top: 10px; }
	.fig-cards--long .fig-card__text { margin-top: 10px; }
	a.fig-card__btn { height: 42px; padding: 0 24px; font-size: 15px; margin-top: 16px; }
	.fig-page .fig-tip { padding: 16px; font-size: 15px; }
	.fig-page .fig-split__photo { height: 220px; }
	.fig-split__body { padding: 16px; }
	.fig-split__title { font-size: 24px; }
	.fig-split__lead { font-size: 15px; margin-top: 14px !important; }
	.fig-split__text { font-size: 14px; line-height: 19px; margin-top: 12px; }
	.fig-split__text + .fig-btn { margin-top: 20px; }
	.fig-gallery--even { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.fig-gallery--even .fig-gallery__img { aspect-ratio: 4 / 3; }
	.fig-works { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.fig-prices { padding: 16px; }
	.fig-prices__table th { font-size: 16px; padding-bottom: 10px; }
	.fig-prices__table td,
	.fig-prices--lg .fig-prices__table td { padding: 12px 10px 12px 0; font-size: 14px; line-height: 18px; }
	.fig-prices__table tr:last-child td,
	.fig-prices--lg .fig-prices__table tr:last-child td { padding-bottom: 0; }
	/* Селектор усилен: сокращённый padding выше у --lg специфичнее обычного :last-child */
	.fig-prices .fig-prices__table th:last-child,
	.fig-prices .fig-prices__table td:last-child { width: 88px; padding-left: 10px; padding-right: 0; white-space: normal; }
	.fig-video { padding: 16px; }
	.fig-video__cols p { font-size: 14px; line-height: 19px; }
	.fig-video__frame { margin-top: 16px; }
	.fig-brands { gap: 10px; }
	.fig-brand { flex-basis: calc((100% - 10px) / 2); min-height: 80px; padding: 14px; }
	.fig-brand img { max-height: 36px; }
	/* Страницы услуг, вторая партия */
	.fig-cards--2 { grid-template-columns: minmax(0, 1fr); }
	.fig-card__num + .fig-card__text { margin-top: 16px; }
	.fig-card__pic + .fig-card__title { margin-top: 16px !important; }
	.fig-card__body { padding: 16px; }
	.fig-panel { padding: 16px; }
	.fig-panel__title,
	.fig-panel__subtitle--oswald { font-size: 18px; }
	.fig-panel__lead { font-size: 15px; line-height: 20px; margin-top: 10px !important; }
	.fig-panel__cols { gap: 16px; margin-top: 16px; }
	.fig-panel__subtitle { font-size: 17px; }
	.fig-panel__text { font-size: 14px; line-height: 19px; }
	.fig-panel__subtitle + .fig-panel__text { margin-top: 10px; }
	.fig-panel__text + .fig-panel__subtitle { margin-top: 20px !important; }
	.fig-panel__photos { gap: 10px; }
	.fig-panel .fig-compare { aspect-ratio: 820 / 395; }
	.fig-panel__note { font-size: 14px; line-height: 19px; margin-top: 16px !important; }
	.fig-types { gap: 10px; margin-top: 16px; }
	.fig-type { padding: 16px; }
	.fig-type__title { font-size: 17px; }
	.fig-type__text,
	.fig-type__label { font-size: 14px; line-height: 19px; }
	.fig-type__text { margin-top: 10px; }
	.fig-type__sep { margin-top: 14px; padding-top: 14px; }
	.fig-pics,
	.fig-pics--wide { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.fig-pics--wide .fig-pics__img + .fig-pics__img { height: auto; aspect-ratio: 532 / 562; }
	/* Фото над текстом, во всю ширину карточки */
	.fig-offers { gap: 12px; }
	.fig-offer { flex-direction: column; gap: 16px; padding: 16px; }
	.fig-offer__photo { order: -1; flex-basis: auto; width: 100%; aspect-ratio: 16 / 10; }
	.fig-offer__title { font-size: 18px; }
	.fig-offer__text { font-size: 14px; line-height: 19px; margin: 8px 0 16px !important; }
	.fig-info { row-gap: 16px; padding: 16px; }
	.fig-info__title { font-size: 18px; }
	.fig-info__subtitle { font-size: 17px; margin-top: 16px !important; }
	.fig-info__text,
	.fig-info__caption { font-size: 14px; line-height: 19px; }
	.fig-info__text { margin-top: 8px; }
	.fig-info__caption { margin-top: 12px !important; }
	.fig-info__actions { gap: 10px; padding-top: 20px; }
	.fig-info__actions a.fig-card__btn { height: 42px; padding: 0 18px; font-size: 14px; }
	.fig-info + .fig-info { margin-top: 12px; }
	.fig-split__heading { font-size: 18px; }
	.fig-page .fig-list { margin-top: 14px; margin-bottom: 20px; }
	.fig-page .fig-list li { padding-left: 22px; font-size: 14px; line-height: 19px; }
	.fig-page .fig-list li + li { margin-top: 8px; }
	.fig-list li::before { top: 4px; width: 10px; height: 10px; }
	.fig-lists { gap: 12px; }
	.fig-lists__card { padding: 16px; }
	.fig-lists__title { font-size: 18px; }
	.fig-page .fig-lists__list { margin-top: 14px; padding-left: 20px; }
	.fig-page .fig-lists__list li,
	.fig-page .fig-lists__note { font-size: 14px; line-height: 19px; }
	.fig-page .fig-lists__note { margin-top: 16px; }
	.fig-lists__note::before { font-size: 32px; line-height: 30px; }
	.fig-faq { gap: 10px; }
	.fig-faq__q { min-height: 60px; gap: 12px; padding: 12px 12px 12px 16px; font-size: 17px; }
	.fig-faq__q::after { flex-basis: 32px; width: 32px; height: 32px; background-size: 16px 1.5px, 1.5px 16px; }
	.fig-faq__a { padding: 0 16px 16px; font-size: 14px; line-height: 19px; }
	.fig-prices__table .fig-prices__group th { padding-top: 12px; padding-bottom: 12px; font-size: 16px; }
	.fig-prices + .fig-prices { margin-top: 12px; }
	/* Сравнение коронок: после сокращённых ширин цены (правило выше) */
	.fig-prices--compare .fig-prices__table th:not(:first-child),
	.fig-prices--compare .fig-prices__table td:not(:first-child) { padding-left: 6px; padding-right: 6px; font-size: 13px; }
	.fig-prices--compare .fig-prices__table th:nth-child(2),
	.fig-prices--compare .fig-prices__table td:nth-child(2) { width: 72px; }
	.fig-prices--compare .fig-prices__table th:nth-child(3),
	.fig-prices--compare .fig-prices__table td:nth-child(3) { width: 90px; }
	.fig-prices__table th small { font-size: 11px; }

	/* Страница врача */
	.fig-doc__panel { padding: 12px; }
	.fig-doc__cols { gap: 12px; }
	.fig-doc__card { padding: 18px; }
	.fig-doc__photo-card { padding: 10px; }
	.fig-page a.fig-doc__btn { height: auto; min-height: 56px; gap: 16px; }
	.fig-page a.fig-doc__btn .fig-btn__text { font-size: 15px; }
	.fig-doc__clinic { padding: 14px 16px; }
	.fig-doc__clinic-label { font-size: 14px; line-height: 17px; }
	.fig-doc__clinic-row { margin-top: 6px; font-size: 15px; line-height: 18px; }
	.fig-doc__certs-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 10px 8px; margin-top: 14px; }
	.fig-doc__name { font-size: 26px; }
	.fig-doc__name + .fig-doc__fact { margin-top: 18px; }
	.fig-doc__fact { margin-top: 14px; }
	.fig-doc__fact-label { font-size: 16px; }
	.fig-doc__fact-value { font-size: 15px; margin-top: 6px !important; }
	.fig-doc__fact-value:first-child { margin-top: 0 !important; }
	.fig-doc__subtitle { font-size: 18px; line-height: 22px; }
	.fig-doc__text { margin-top: 12px; font-size: 15px; line-height: 22px; }
	.fig-doc__reviews-title { margin-top: 24px !important; font-size: 22px; line-height: 28px; }
	.fig-doc__reviews { margin-top: 14px; }
	.fig-doc__review { padding: 18px; }
	.fig-doc__review-title { font-size: 19px; }
	.fig-doc__review-text { font-size: 15px; line-height: 22px; }
	.fig-doc__review-foot { gap: 8px 12px; margin-top: 16px; }
	.fig-doc__review-author { font-size: 16px; line-height: 22px; }
	.fig-doc__review .fig-stars { gap: 6px; }
	.fig-doc__review .fig-stars img { width: 18px; height: 18px; }

	/* Цены. На узком экране название клиники переносится как угодно */
	.fig-pricelist { margin-top: 25px; }
	.fig-pricelist__nowrap { white-space: normal; }
	.fig-page .fig-pricelist__note { margin-top: 20px; font-size: 15px; }

	/* Список врачей: две колонки, плашка «Ведущий специалист» может переноситься */
	.fig-staff { margin-top: 25px; }
	.fig-staff__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.fig-staff-card { border-radius: 14px; }
	.fig-staff-card__rank { left: 8px; right: 8px; bottom: 8px; width: fit-content; padding: 6px 10px; font-size: 12px; white-space: normal; }
	.fig-staff-card__body { padding: 12px; }
	.fig-staff-card__name { font-size: 16px; line-height: 1.25; }
	.fig-staff-card__spec { margin-top: 6px !important; font-size: 13px; }

	/* Лицензии: две колонки, кнопка на всю ширину карточки */
	.fig-licenses { margin-top: 25px; }
	.fig-lic { padding: 16px; border-radius: 14px; }
	.fig-lic + .fig-lic { margin-top: 16px; }
	.fig-lic__title { font-size: 20px; }
	.fig-lic__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
	.fig-lic__doc { border-radius: 8px; }
	.fig-lic a.fig-card__btn { align-self: stretch; justify-content: center; width: 100%; height: 44px; margin-top: 16px; padding: 0 16px; font-size: 15px; }
}
.header-pc .header-pc-menu menu{
	padding: 0;
	max-width: 100%;
	width: 1635px;
}

@media (min-width: 1590px) and (max-width: 1900px) {
	.header-pc .header-pc-menu menu{
		padding: 0;
		max-width: 100%;
		width: 1300px;
	}
	.fig-page .fig-container{
		width: 1300px;
	}
	.fig-page .fig-hero__content
	{
		padding: 30px;
	}
}
@media (min-width: 1200px) and (max-width: 1590px) {
	.header-pc .header-pc-menu menu{
		width: 1080px;
	}
	.fig-page .fig-container{
		width: 1080px;
	}
}

.bannder_index{
	margin-top: 100px;
}