/*
 * Страница направления по макету Figma.
 *
 * Классы uc-serv__*, исходные diagnostic__* и section__info-* не применяются.
 * Ширина контейнера 1732 px — в макете все блоки первого экрана ровно по ней.
 */

/* У section в теме overflow: hidden — иначе не работают липкое
   «Содержание» и вынос блока «часто берут» на всю ширину. */
.uc-serv {
	overflow: visible;
	padding-bottom: 60px;
}

/* --------------------------------------------------------------- крошки -- */

.uc-serv__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 21px 0 24px;
}

.uc-serv__crumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	line-height: 22px;
	color: #8C8F97;
}

.uc-serv__crumb:not(:last-child)::after {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #B0B0B0;
}

.uc-serv__crumb a {
	transition: color .2s ease;
}

.uc-serv__crumb a:hover {
	color: #030815;
}

.uc-serv__crumb--current {
	color: #030815;
}

/* ---------------------------------------------------------- первый экран -- */

.uc-serv__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 470px;
	gap: 32px;
	min-height: 300px;
	padding: 42px 40px 40px;
	border-radius: 20px;
	background: #F4F4F5;
}

.uc-serv__hero-main {
	display: flex;
	flex-direction: column;
}

.uc-serv__badge {
	align-self: flex-start;
	margin-bottom: 12px;
	padding: 7px 14px;
	border-radius: 999px;
	background: #fff;
	font-size: 13px;
	line-height: 18px;
	color: #3D424B;
}

.uc-serv__title {
	font-size: 80px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -1.6px;
	color: #212121;
}

.uc-serv__subtitle {
	max-width: 650px;
	margin-top: 69px;
	font-size: 14px;
	line-height: 19.6px;
	color: #575C68;
}

.uc-serv__hero-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.uc-serv__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.uc-serv__chip {
	display: block;
	padding: 8px 16px;
	border-radius: 999px;
	background: #fff;
	font-size: 16px;
	line-height: 22px;
	color: #030815;
	transition: background .2s ease, color .2s ease;
}

.uc-serv__chip:hover {
	background: #E1F0FB;
}

.uc-serv__chip--current {
	border-radius: 20px;
	background: #3A465A;
	color: #fff;
}

.uc-serv__hero-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.uc-serv__hero-quiz {
	height: 60px;
	padding: 0 24px;
	border: none;
	border-radius: 16px;
	background: #E1F0FB;
	font-family: inherit;
	font-size: 16px;
	line-height: 22px;
	color: #16181D;
	cursor: pointer;
	transition: background .2s ease;
}

.uc-serv__hero-quiz:hover {
	background: #CFE7F8;
}

.uc-serv__hero-book {
	height: 60px;
	padding: 0 32px;
	border: none;
	border-radius: 16px;
	background: #3A465A;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 22px;
	color: #fff;
	cursor: pointer;
	transition: background .2s ease;
}

.uc-serv__hero-book:hover {
	background: #16181D;
}

/* --------------------------------------------------- плашки под заголовком -- */

.uc-serv__facts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
}

.uc-serv__fact {
	flex: 0 0 248px;
	padding: 16px;
	border-radius: 16px;
	background: #F4F4F5;
}

.uc-serv__fact-label {
	font-size: 14px;
	line-height: 19px;
	color: #666B73;
}

.uc-serv__fact-unit {
	margin-left: 8px;
	font-size: 14px;
	font-weight: 400;
	color: #666B73;
}

.uc-serv__fact-value {
	margin-top: 5px;
	font-size: 19px;
	font-weight: 600;
	line-height: 26px;
	color: #16181D;
}

.uc-serv__pdf {
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	font-family: inherit;
	cursor: pointer;
	margin-left: auto;
	height: 52px;
	padding: 0 22px;
	border-radius: 14px;
	background: #E1F0FB;
	font-size: 15px;
	line-height: 21px;
	color: #16181D;
	transition: background .2s ease;
}

.uc-serv__pdf:hover {
	background: #CFE7F8;
}

/* ------------------------------------------------------ картинка под шапкой -- */

.uc-serv__image {
	margin-top: 16px;
	border-radius: 20px;
	overflow: hidden;
}

.uc-serv__image-img {
	display: block;
	width: 100%;
	height: 493px;
	object-fit: cover;
}

/* ------------------------------------------------- врач услуги (мобайл) -- */

/* Короткая карточка врача есть только в мобильном макете: на широком экране
   ниже по странице идёт полный блок врачей направления. */
.uc-serv__doctor {
	display: none;
}

/* ------------------------------------------- показания и противопоказания -- */

/* Переключатель списков и липкая панель записи — только для узкого экрана. */
.uc-serv__marks-tabs,
.uc-serv__bar {
	display: none;
}

.uc-serv__marks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 16px;
}

.uc-serv__mark {
	padding: 26px;
	border-radius: 20px;
	background: #F4F4F5;
}

.uc-serv__mark-title {
	font-size: 24px;
	font-weight: 600;
	line-height: 33px;
	color: #16181D;
}

.uc-serv__mark-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 29px;
}

.uc-serv__mark-item {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 13px 16px;
	border-radius: 12px;
	background: #fff;
}

.uc-serv__mark-icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #E1F0FB;
	font-size: 12px;
	line-height: 1;
	color: #16181D;
}

.uc-serv__mark--contra .uc-serv__mark-icon {
	background: #EAEAEC;
	font-size: 13px;
	color: #5C616B;
}

.uc-serv__mark-text {
	font-size: 15px;
	line-height: 21px;
	color: #16181D;
}

/* ----------------------------------------------- содержание и текст услуги -- */

.uc-serv__content {
	--uc-serv-rail: 388px;
	--uc-serv-gap: 153px;

	display: grid;
	grid-template-columns: var(--uc-serv-rail) minmax(0, 1114px);
	column-gap: var(--uc-serv-gap);
	align-items: start;
	margin-top: 100px;
	padding: 0 40px;
}

/* Страница без текстовых разделов идёт одной колонкой. */
.uc-serv__content--plain {
	grid-template-columns: minmax(0, 1fr);
	padding: 0;
}

.uc-serv__content--plain .uc-serv__related {
	margin-left: 0;
	width: 100%;
}

.uc-serv__aside {
	position: sticky;
	top: var(--uc-serv-aside-top, 120px);
	transition: opacity .2s ease;
}

/* Плашка доехала до хвоста страницы — убираем, чтобы не перекрывала
   кросс-услуги и не висела впустую рядом с формой записи. */
.uc-serv__aside--hidden {
	opacity: 0;
	pointer-events: none;
}

.uc-serv__aside-title {
	padding-bottom: 15px;
	border-bottom: 1px solid #E7E7E7;
	font-size: 16px;
	line-height: 22px;
	color: #8C8F97;
}

.uc-serv__aside-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 22px;
}

.uc-serv__aside-link {
	font-size: 16px;
	line-height: 22px;
	color: #575C68;
	transition: color .2s ease;
}

.uc-serv__aside-link:hover,
.uc-serv__aside-link--active {
	font-weight: 600;
	color: #16181D;
}

/* Последний пункт — запись: в макете он выделен плашкой. */
.uc-serv__aside-link--book {
	display: inline-flex;
	align-items: center;
	height: 44px;
	margin-top: 6px;
	padding: 0 24px;
	border-radius: 12px;
	background: #F4F4F5;
	color: #16181D;
}

.uc-serv__aside-link--book:hover {
	background: #E1F0FB;
	font-weight: 400;
}

/* Строка текста: слева заголовок, справа содержимое. */
.uc-serv__row {
	display: grid;
	grid-template-columns: 435px minmax(0, 1fr);
	padding: 41px 0;
	border-top: 1px solid #E7E7E7;
}

.uc-serv__section:first-child .uc-serv__row:first-child {
	border-top: none;
}

/* Колонка ровно 435 px, как в макете. Отступ справа нужен, чтобы длинный
   заголовок не упирался в текст соседней колонки. */
.uc-serv__row-term {
	padding-right: 32px;
}

.uc-serv__row-heading {
	font-size: 18px;
	font-weight: 700;
	line-height: 25px;
	color: #575C68;
}

.uc-serv__row--big .uc-serv__row-heading {
	font-size: 24px;
	line-height: 26px;
}

.uc-serv__row--intro .uc-serv__row-heading {
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	color: #8C8F97;
}

.uc-serv__row-label {
	font-size: 16px;
	line-height: 22px;
	color: #8C8F97;
}

/* У цен, врачей и формы правая часть занимает всю ширину колонки. */
.uc-serv__row-desc--wide {
	grid-column: 1 / -1;
	margin-top: 22px;
}

.uc-serv__text {
	font-size: 16px;
	line-height: 22px;
	color: #575C68;
}

.uc-serv__text + .uc-serv__text,
.uc-serv__list + .uc-serv__text,
.uc-serv__text + .uc-serv__list {
	margin-top: 30px;
}

.uc-serv__list {
	display: flex;
	flex-direction: column;
	gap: 22px;
	counter-reset: uc-serv-item;
}

.uc-serv__list-item {
	position: relative;
	padding-left: 23px;
	font-size: 16px;
	line-height: 22px;
	color: #575C68;
}

.uc-serv__list-item::before {
	content: "";
	position: absolute;
	top: 9px;
	left: 4px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #575C68;
}

.uc-serv__list--numbered .uc-serv__list-item::before {
	counter-increment: uc-serv-item;
	content: counter(uc-serv-item) ".";
	top: 0;
	left: 0;
	width: auto;
	height: auto;
	border-radius: 0;
	background: none;
}

.uc-serv__row-image-img {
	display: block;
	width: 100px;
	height: 100px;
	object-fit: contain;
}

/* ------------------------------------------- с этой услугой часто берут -- */

/* Блок шире колонки: в макете он идёт во всю ширину контейнера.
   Влево выходит ровно на «Содержание» с промежутком, вправо — по краю колонки. */
.uc-serv__related {
	margin: 40px 0 40px calc(-1 * (var(--uc-serv-rail) + var(--uc-serv-gap)));
	width: calc(100% + var(--uc-serv-rail) + var(--uc-serv-gap));
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"title link"
		"list  list";
	align-items: center;
	gap: 24px;
}

.uc-serv__related-title {
	grid-area: title;
	font-size: 26px;
	font-weight: 600;
	line-height: 36px;
	color: #16181D;
}

.uc-serv__related-all {
	grid-area: link;
	display: flex;
	align-items: center;
	height: 44px;
	padding: 0 18px;
	border-radius: 12px;
	background: #F4F4F5;
	font-size: 15px;
	line-height: 21px;
	color: #16181D;
	transition: background .2s ease;
}

.uc-serv__related-all:hover {
	background: #E1F0FB;
}

.uc-serv__related-list {
	grid-area: list;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 15px;
}

.uc-serv__related-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
	min-height: 202px;
	padding: 20px;
	border-radius: 20px;
	background: #F4F4F5;
	transition: background .2s ease;
}

a.uc-serv__related-card:hover {
	background: #E9EAEC;
}

.uc-serv__related-icon-img {
	display: block;
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.uc-serv__related-name {
	margin-top: 48px;
	font-size: 19px;
	font-weight: 600;
	line-height: 24px;
	color: #16181D;
}

.uc-serv__related-icon + .uc-serv__related-name {
	margin-top: 22px;
}

.uc-serv__related-text {
	margin-top: 13px;
	font-size: 15px;
	line-height: 23px;
	color: #5C616B;
}

.uc-serv__related-price {
	margin-top: auto;
	padding: 7px 12px;
	border-radius: 999px;
	background: #fff;
	font-size: 15px;
	font-weight: 500;
	line-height: 21px;
	color: #16181D;
}

/* ----------------------------------------------------------------- цены -- */

.uc-serv__prices {
	padding: 29px 40px 40px;
	border-radius: 20px;
	background: #F4F4F5;
}

.uc-serv__price-group + .uc-serv__price-group {
	margin-top: 40px;
}

.uc-serv__price-title {
	font-size: 32px;
	font-weight: 600;
	line-height: 38px;
	color: #030815;
}

.uc-serv__price-head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.uc-serv__price-image {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.uc-serv__price-title--child {
	font-size: 24px;
	line-height: 33px;
}

.uc-serv__price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 0;
	border-bottom: 1px solid #E3E4E8;
}

.uc-serv__price-group > .uc-serv__price-row:first-child {
	margin-top: 20px;
}

.uc-serv__price-name {
	font-size: 16px;
	line-height: 22px;
	color: #575C68;
}

.uc-serv__price-value {
	font-size: 16px;
	font-weight: 600;
	line-height: 22px;
	color: #030815;
	white-space: nowrap;
}

/* ---------------------------------------------------------------- врачи -- */

.uc-serv__doctors {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

/* --------------------------------------------------------------- форма -- */

.uc-serv__form-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 625px;
	gap: 24px;
	padding: 29px 40px 40px;
	border-radius: 20px;
	background: #363C4A;
}

.uc-serv__form-title {
	font-size: 32px;
	font-weight: 600;
	line-height: 38px;
	color: #fff;
}

.uc-serv__form-text {
	max-width: 380px;
	margin-top: 14px;
	font-size: 16px;
	line-height: 22px;
	color: #fff;
}

.uc-serv__form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 42px;
}

.uc-serv__form-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.uc-serv__form-label {
	display: block;
}

.uc-serv__form-input {
	width: 375px;
	max-width: 100%;
	height: 60px;
	padding: 0 17px;
	border: 1px solid #6B7280;
	border-radius: 12px;
	background: transparent;
	font-family: inherit;
	font-size: 16px;
	line-height: 22px;
	color: #F8F7F8;
}

.uc-serv__form-input::placeholder {
	color: #F8F7F8;
}

.uc-serv__form-accept {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	max-width: 260px;
	cursor: pointer;
}

.uc-serv__form-checkbox {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: #E1F0FB;
}

.uc-serv__form-accept-text {
	font-size: 14px;
	line-height: 19px;
	color: #fff;
}

.uc-serv__form-link {
	color: #fff;
	text-decoration: underline;
}

.uc-serv__form-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 60px;
	margin-left: auto;
	padding: 0 28px;
	border: none;
	border-radius: 16px;
	background: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 22px;
	color: #16181D;
	cursor: pointer;
	transition: background .2s ease;
}

.uc-serv__form-btn:hover {
	background: #E1F0FB;
}

.uc-serv__form-image {
	border-radius: 16px;
	overflow: hidden;
}

.uc-serv__form-image-img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}

/* ------------------------------------------------------------- адаптив -- */

@media (max-width: 1600px) {
	.uc-serv__content {
		--uc-serv-rail: 300px;
		--uc-serv-gap: 60px;

		grid-template-columns: var(--uc-serv-rail) minmax(0, 1fr);
	}

	.uc-serv__row {
		grid-template-columns: 320px minmax(0, 1fr);
	}
}

@media (max-width: 1280px) {
	.uc-serv__title {
		font-size: 56px;
		letter-spacing: -1px;
	}

	.uc-serv__hero {
		grid-template-columns: minmax(0, 1fr);
	}

	.uc-serv__hero-side {
		align-items: flex-start;
	}

	.uc-serv__chips {
		justify-content: flex-start;
	}

	.uc-serv__subtitle {
		margin-top: 24px;
	}

	.uc-serv__form-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.uc-serv__form-image {
		display: none;
	}

	.uc-serv__related-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.uc-serv__doctors {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.uc-serv__content {
		grid-template-columns: minmax(0, 1fr);
		padding: 0;
	}

	.uc-serv__aside {
		position: static;
		margin-bottom: 32px;
	}

	.uc-serv__row,
	.uc-serv__row--big {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		padding: 28px 0;
	}

	.uc-serv__row-desc--wide {
		margin-top: 0;
	}

	.uc-serv__related {
		margin-left: 0;
		width: 100%;
	}

	.uc-serv__marks {
		grid-template-columns: minmax(0, 1fr);
	}

	.uc-serv__image-img {
		height: 320px;
	}
}

/* --------------------------------------------------- узкий экран: макет -- */

@media (max-width: 768px) {
	.uc-serv__related-list,
	.uc-serv__doctors {
		grid-template-columns: minmax(0, 1fr);
	}

	.uc-serv__prices,
	.uc-serv__form-card {
		padding: 24px 16px;
	}

	.uc-serv__price-title {
		font-size: 24px;
		line-height: 33px;
	}

	.uc-serv__form-input {
		width: 100%;
	}

	.uc-serv__form-btn {
		margin-left: 0;
		width: 100%;
		justify-content: center;
	}

	.uc-serv__image-img {
		height: 220px;
	}

	/* Первый экран: заголовок 29 px, описание 15/24 — как в мобильном макете. */
	.uc-serv__hero {
		min-height: 0;
		padding: 0;
		border-radius: 0;
		background: none;
	}

	.uc-serv__badge {
		background: #F4F4F5;
	}

	.uc-serv__title {
		font-size: 29px;
		line-height: 32px;
		letter-spacing: -0.3px;
	}

	.uc-serv__subtitle {
		margin-top: 16px;
		font-size: 15px;
		line-height: 24px;
	}

	.uc-serv__hero-side {
		gap: 16px;
	}

	/* Кнопка записи во всю ширину, направления — лентой с прокруткой. */
	.uc-serv__hero-buttons {
		width: 100%;
	}

	.uc-serv__hero-book,
	.uc-serv__hero-quiz {
		flex: 1 1 100%;
		height: 56px;
		font-size: 16px;
	}

	/*
	 * Родитель — колонка с `align-items: flex-start`, поэтому по ширине этот
	 * список подгонялся под содержимое: ряд вырастал шире экрана целиком, и
	 * прокручивать было нечего — лишнее просто срезал `overflow: clip`
	 * у .wrapper. Растягиваем по родителю, тогда лента прокручивается.
	 */
	.uc-serv__chips {
		align-self: stretch;
		min-width: 0;
		flex-wrap: nowrap;
		margin: 0 -16px;
		padding: 0 16px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.uc-serv__chips::-webkit-scrollbar {
		display: none;
	}

	.uc-serv__chip {
		white-space: nowrap;
	}

	/* Плашки собираются в одну карточку: сверху главная цифра, ниже — белые. */
	.uc-serv__facts {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-top: 20px;
		padding: 18px 16px;
		border-radius: 20px;
		background: #F4F4F5;
	}

	.uc-serv__fact {
		padding: 12px 14px;
		border-radius: 14px;
		background: #fff;
	}

	.uc-serv__fact--main {
		grid-column: 1 / -1;
		padding: 0 0 8px;
		background: none;
	}

	.uc-serv__fact-label {
		font-size: 13px;
		line-height: 18px;
	}

	.uc-serv__fact--main .uc-serv__fact-value {
		font-size: 30px;
		line-height: 41px;
	}

	.uc-serv__fact-value {
		font-size: 16px;
		line-height: 22px;
	}

	.uc-serv__pdf {
		grid-column: 1 / -1;
		justify-content: center;
		margin-left: 0;
		height: 50px;
		border-radius: 15px;
	}

	.uc-serv__doctor {
		display: flex;
		align-items: center;
		gap: 14px;
		margin-top: 12px;
		padding: 14px;
		border-radius: 20px;
		background: #F4F4F5;
	}

	.uc-serv__doctor-photo {
		flex-shrink: 0;
		width: 88px;
		height: 104px;
		border-radius: 14px;
		background: #E4E4E7;
		overflow: hidden;
	}

	.uc-serv__doctor-img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.uc-serv__doctor-body {
		flex: 1 1 auto;
		min-width: 0;
	}

	.uc-serv__doctor-label {
		display: block;
		font-size: 13px;
		line-height: 18px;
		color: #666B73;
	}

	.uc-serv__doctor-name {
		display: block;
		margin-top: 5px;
		font-size: 16px;
		font-weight: 600;
		line-height: 20.5px;
		color: #16181D;
	}

	.uc-serv__doctor-facts {
		display: block;
		margin-top: 8px;
		font-size: 13px;
		line-height: 18px;
		color: #5C616B;
	}

	.uc-serv__doctor-star {
		color: #F5A623;
	}

	.uc-serv__doctor-caret {
		flex-shrink: 0;
		font-size: 20px;
		line-height: 1;
		color: #9DA2AA;
	}

	/* Показания и противопоказания складываются в одну карточку с переключателем. */
	.uc-serv__marks {
		display: block;
		padding: 16px;
		border-radius: 20px;
		background: #F4F4F5;
	}

	.uc-serv__marks-tabs {
		display: flex;
		gap: 4px;
		padding: 4px;
		border-radius: 15px;
		background: #EAEAEC;
	}

	.uc-serv__marks-tab {
		flex: 1 1 0;
		height: 46px;
		border: none;
		border-radius: 12px;
		background: none;
		font-family: inherit;
		font-size: 15px;
		font-weight: 500;
		line-height: 21px;
		color: #5C616B;
		cursor: pointer;
	}

	.uc-serv__marks-tab--active {
		background: #16181D;
		color: #fff;
	}

	.uc-serv__mark {
		padding: 0;
		border-radius: 0;
		background: none;
	}

	.uc-serv__mark + .uc-serv__mark {
		margin-top: 8px;
	}

	.uc-serv__marks-tabs + .uc-serv__mark,
	.uc-serv__marks-tabs ~ .uc-serv__mark {
		margin-top: 16px;
	}

	/* С переключателем заголовки списков не нужны — они на кнопках. */
	.uc-serv__marks-tabs ~ .uc-serv__mark .uc-serv__mark-title {
		display: none;
	}

	.uc-serv__mark--hidden {
		display: none;
	}

	.uc-serv__mark-list {
		margin-top: 0;
	}

	.uc-serv__mark-item {
		min-height: 70px;
		padding: 14px 16px;
		border-radius: 14px;
	}

	.uc-serv__mark-icon {
		width: 24px;
		height: 24px;
		border-radius: 12px;
	}

	/* «Часто берут» — строки: иконка, название, цена. */
	.uc-serv__related {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"title"
			"list"
			"link";
		gap: 12px;
	}

	.uc-serv__related-title {
		font-size: 21px;
		line-height: 28px;
	}

	.uc-serv__related-list {
		margin-top: 0;
		gap: 12px;
	}

	.uc-serv__related-card {
		flex-direction: row;
		align-items: center;
		gap: 14px;
		min-height: 68px;
		padding: 12px 14px;
		border-radius: 16px;
	}

	.uc-serv__related-icon {
		display: flex;
		flex-shrink: 0;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border-radius: 13px;
		background: #fff;
	}

	.uc-serv__related-name {
		margin-top: 0;
		font-size: 15px;
		font-weight: 400;
		line-height: 20px;
	}

	.uc-serv__related-icon + .uc-serv__related-name {
		margin-top: 0;
	}

	/* В мобильном макете пояснение к карточке не показывают. */
	.uc-serv__related-text {
		display: none;
	}

	.uc-serv__related-price {
		margin: 0 0 0 auto;
		font-size: 14px;
		font-weight: 600;
		white-space: nowrap;
	}

	.uc-serv__related-all {
		justify-content: center;
		height: 50px;
		border-radius: 15px;
		background: #fff;
		border: 1px solid #EDEDEF;
	}

	/* Форма: заголовок 19, поля и кнопка во всю ширину. */
	.uc-serv__form-title {
		font-size: 19px;
		line-height: 26px;
	}

	.uc-serv__form-text {
		font-size: 14px;
		line-height: 21.7px;
		color: #A7ACB5;
	}

	.uc-serv__form {
		margin-top: 24px;
	}

	.uc-serv__form-fields {
		width: 100%;
	}

	.uc-serv__form-input {
		height: 52px;
		border-radius: 14px;
	}

	.uc-serv__form-btn {
		height: 52px;
		border-radius: 14px;
	}

	.uc-serv__form-accept {
		max-width: none;
	}

	/* Липкая панель записи снизу. */
	.uc-serv__bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 30;
		display: flex;
		gap: 10px;
		padding: 12px 16px;
		border-top: 1px solid #EDEDEF;
		background: #fff;
	}

	/* Кнопка несёт класс .modal__btn, а ему в style.css задан text-align: left —
	   без этого «Записаться» прижимается к левому краю плашки. */
	.uc-serv__bar-book {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 1 1 auto;
		height: 54px;
		border: none;
		border-radius: 16px;
		background: #2B303C;
		font-family: inherit;
		font-size: 16px;
		font-weight: 500;
		color: #fff;
		cursor: pointer;
	}

	.uc-serv__bar-max {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 54px;
		height: 54px;
		border-radius: 16px;
		background: #E1F0FB;
		font-size: 14px;
		font-weight: 700;
		color: #16181D;
	}

	/* Панель перекрывает низ страницы — освобождаем под неё место. */
	.uc-serv {
		padding-bottom: 90px;
	}
}

/* Невидимая метка для ссылок вида /therapy.html#detskaya-terapiya:
   отступ сверху — чтобы под липкой шапкой не пряталось начало раздела. */
.uc-serv__anchor {
	display: block;
	scroll-margin-top: 150px;
}

/*
 * Лента направлений на узком экране: мышью её было не пролистать.
 *
 * Полоса прокрутки у ленты спрятана — на телефоне она лишняя, там листают
 * пальцем. Но в узком окне на компьютере жеста нет, а колесо крутит страницу
 * по вертикали, и до дальних плашек не добраться. Там, где есть настоящий
 * курсор, полосу возвращаем — тонкую, чтобы не спорить с макетом.
 */
@media (max-width: 768px) and (hover: hover) and (pointer: fine) {
	.uc-serv__chips {
		padding-bottom: 8px;
		scrollbar-width: thin;
		scrollbar-color: #C9CDD4 transparent;
	}

	.uc-serv__chips::-webkit-scrollbar {
		display: block;
		height: 6px;
	}

	.uc-serv__chips::-webkit-scrollbar-thumb {
		border-radius: 999px;
		background: #C9CDD4;
	}

	.uc-serv__chips::-webkit-scrollbar-track {
		background: transparent;
	}
}

/*
 * Круглая кнопка «Запись» из исходных стилей лежит у нижнего края с
 * z-index: 2, а закреплённая панель направления — с 30, и полностью её
 * накрывала. Поднимаем над панелью (её высота 79 px) и выводим вперёд.
 */
@media (max-width: 768px) {
	body:has(.uc-serv__bar) .zapic_btn {
		bottom: 91px;
		z-index: 31;
	}
}
