/* @font-face — SFTSchriftedSansTRIAL */
@font-face {
	font-family: 'SFTSchriftedSansTRIAL';
	src: url('/wp-content/uploads/2025/10/SFTSchriftedSansTRIAL-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'SFTSchriftedSansTRIAL';
	src: url('/wp-content/uploads/2025/10/SFTSchriftedSansTRIAL-DemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'SFTSchriftedSansTRIAL';
	src: url('/wp-content/uploads/2025/10/SFTSchriftedSansTRIAL-ExtraBold.ttf') format('truetype');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

/* =============================================
   SERVICE HERO — страница услуги
   ============================================= */
.ts-hero {
	font-family: "SFTSchriftedSansTRIAL", Sans-serif;
	max-width: var(--ts-max-width);
	margin: 0 auto;
	padding: 20px 40px;
}

.ts-hero__inner {
	position: relative;
	overflow: hidden;
	border-radius: 25px;
	background: linear-gradient(104deg, #e4f6fb 4%, #a1c861 143%);
	min-height: 400px;
	display: flex;
	align-items: center;
}

.ts-hero__content {
	position: relative;
	z-index: 2;
	padding: 50px;
	width: 50%;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 19px;
}

.ts-hero__title {
	font-size: 45px;
	font-weight: 600;
	color: var(--ts-dark);
	line-height: 1.18;
	margin: 0;
}

.ts-hero__desc {
	font-size: 18px;
	font-weight: 500;
	color: var(--ts-dark);
	line-height: 1.5;
	margin: 0;
}

.ts-hero__buttons {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	margin-top: 5px;
}

.ts-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 24px;
	border-radius: 70px;
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity .2s, transform .15s;
}

.ts-hero__btn:hover {
	opacity: .9;
	transform: translateY(-1px);
}

.ts-hero__btn--primary {
	background: var(--ts-cyan);
	color: #fff;
}

.ts-hero__btn--whatsapp {
	background: #a1c861;
	color: #fff;
}

.ts-hero__visual {
	position: relative;
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	overflow: visible;
}

.ts-hero__photo {
	display: block;
	max-height: 450px;
	width: auto;
	object-fit: contain;
	pointer-events: none;
	margin-right: -20px;
	border-radius: 20px;
}

.ts-hero__price-badge {
	position: absolute;
	left: 20%;
	bottom: -40px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
	z-index: 3;
}

.ts-hero__price-label {
	font-size: 24px;
	font-weight: 600;
	color: var(--ts-dark);
	line-height: 1.2;
}

.ts-hero__price-value {
	font-size: 28px;
	font-weight: 700;
	color: var(--ts-cyan);
	line-height: 1.2;
}

@media (max-width: 1024px) {
	.ts-hero {
		padding: 0 20px;
	}

	.ts-hero__content {
		max-width: 55%;
		padding: 40px;
	}

	.ts-hero__title {
		font-size: 28px;
	}

	.ts-hero__desc {
		font-size: 16px;
	}

	.ts-hero__visual {
		width: 50%;
	}

	.ts-hero__price-badge {
		width: 150px;
		height: 150px;
		right: 30%;
	}

	.ts-hero__price-label {
		font-size: 20px;
	}

	.ts-hero__price-value {
		font-size: 24px;
	}
}

@media (max-width: 768px) {
	.ts-hero {
		padding: 10px 16px;
	}

	.ts-hero__inner {
		flex-direction: column;
		min-height: auto;
		border-radius: 18px;
	}

	.ts-hero__content {
		width: 100%;
		max-width: 100%;
		padding: 24px 20px;
		gap: 14px;
	}

	.ts-hero__title {
		font-size: 24px;
	}

	.ts-hero__desc {
		font-size: 15px;
	}

	.ts-hero__buttons {
		flex-direction: column;
		gap: 10px;
	}

	.ts-hero__btn {
		width: 100%;
		text-align: center;
		font-size: 15px;
		padding: 12px 20px;
	}

	.ts-hero__visual {
		position: relative;
		width: 100%;
		min-height: 80px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 16px 20px;
		gap: 16px;
	}

	.ts-hero__photo {
		max-height: 180px;
		width: auto;
		max-width: calc(100% - 130px);
		border-radius: 14px;
		object-fit: cover;
	}

	.ts-hero__price-badge {
		position: static;
		width: 110px;
		height: 110px;
		flex-shrink: 0;
	}

	.ts-hero__price-label {
		font-size: 14px;
	}

	.ts-hero__price-value {
		font-size: 16px;
	}
}

/* =============================================
   CONTENT + TOC — страница услуги
   ============================================= */
.ts-content-section {
	font-family: "SFTSchriftedSansTRIAL", Sans-serif;
	max-width: var(--ts-max-width);
	margin: 0 auto;
	padding: 50px 40px 20px;
}

.ts-content-section__inner {
	display: flex !important;
	gap: 40px;
	align-items: flex-start;
	justify-content: space-between;
}

.ts-content__main {
	flex: 1;
	min-width: 0;
	width: calc(100% - 356px);
	font-family: "SFTSchriftedSansTRIAL", Sans-serif;
}

.ts-content__main h2 {
	font-family: "SFTSchriftedSansTRIAL", Sans-serif;
	font-size: 34px;
	font-weight: 600;
	color: var(--ts-dark);
	letter-spacing: -0.34px;
	margin: 0 0 20px;
	padding-top: 30px;
}

.ts-content__main h2:first-child {
	padding-top: 0;
}

.ts-content__main h3 {
	font-family: "SFTSchriftedSansTRIAL", Sans-serif;
	font-size: 24px;
	font-weight: 600;
	color: var(--ts-dark);
	margin: 30px 0 16px;
}

.ts-content__main p {
	font-family: "SFTSchriftedSansTRIAL", Sans-serif;
	font-size: 18px;
	font-weight: 500;
	color: var(--ts-dark);
	line-height: 27px;
	margin: 0 0 16px;
}

.ts-content__main p:last-child {
	margin-bottom: 0;
}

.ts-content__main a {
	color: var(--ts-cyan);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ts-content__main a:hover {
	text-decoration: none;
}

.ts-content__main ul {
	padding-left: 20px;
	margin: 0 0 16px;
}

.ts-content__main ol {
	list-style: none;
	counter-reset: ol-counter;
	padding-left: 0;
	margin: 0 0 16px;
}

.ts-content__main ol > li {
	counter-increment: ol-counter;
	font-size: 18px;
	line-height: 27px;
	color: var(--ts-dark);
	margin-bottom: 15px;
	font-weight: 500;
	padding-left: 40px;
	position: relative;
}

.ts-content__main ol > li::before {
	content: counter(ol-counter, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--ts-cyan);
	color: #fff;
	font-family: "SFTSchriftedSansTRIAL", Sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}

.ts-content__main li {
	font-size: 18px;
	line-height: 1.5;
	color: var(--ts-dark);
	margin-bottom: 10px;
}

.ts-content__main li strong,
.ts-content__main li b {
	font-weight: 600;
}

.ts-content__main img {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
	margin: 10px 0;
}

.ts-content__sidebar {
	width: 316px;
	flex-shrink: 0;
	position: sticky;
	top: 100px;
	display: block !important;
}

.ts-toc {
	background: #f5f7f9;
	border-radius: 20px;
	overflow: hidden;
}

.ts-toc__title {
	font-size: 22px;
	font-weight: 600;
	color: var(--ts-dark);
	padding: 18px 30px 12px;
	margin: 0;
}

.ts-toc__nav {
	display: flex;
	flex-direction: column;
}

.ts-toc__link {
	display: block;
	padding: 10px 30px;
	font-size: 16px;
	font-weight: 600;
	color: var(--ts-dark);
	text-decoration: none;
	transition: background .15s, color .15s;
}

.ts-toc__link:hover {
	background: rgba(25, 156, 213, .05);
	color: var(--ts-cyan);
}

.ts-toc__link.is-active {
	background: var(--ts-footer-bg);
	color: var(--ts-cyan);
}

@media (max-width: 1024px) {
	.ts-content-section {
		padding: 40px 20px 50px;
	}

	.ts-content__main {
		width: auto;
	}

	.ts-content__sidebar {
		width: 260px;
	}

	.ts-content__main h2 {
		font-size: 28px;
	}
}

@media (max-width: 768px) {
	.ts-content-section__inner {
		flex-direction: column;
	}

	.ts-content__main {
		width: 100%;
	}

	.ts-content__sidebar {
		width: 100%;
		position: static;
		order: -1;
	}

	.ts-toc__nav {
		flex-direction: row;
		flex-wrap: wrap;
		padding: 0 16px 12px;
		gap: 6px;
	}

	.ts-toc__link {
		padding: 8px 14px;
		font-size: 14px;
		background: #fff;
		border-radius: 20px;
	}

	.ts-content__main h2 {
		font-size: 28px;
	}

	.ts-content__main p,
	.ts-content__main ul li {
		font-size: 16px;
	}

	.ts-content__main ol > li {
		font-size: 16px;
		line-height: 24px;
		padding-left: 36px;
	}

	.ts-content__main ol > li::before {
		width: 24px;
		height: 24px;
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	.ts-content-section {
		padding: 30px 16px 40px;
	}

	.ts-content__main h2 {
		font-size: 24px;
	}
}

/* Единый шрифт для всех блоков single услуги */
body.single-services .ts-hero,
body.single-services .ts-content-section,
body.single-services .ts-pricing,
body.single-services .ts-doctors,
body.single-services .ts-advantages,
body.single-services .ts-cta,
body.single-services .ts-faq,
body.single-services .ts-reviews,
body.single-services .ts-blog,
body.single-services .ts-hero *,
body.single-services .ts-content-section *,
body.single-services .ts-pricing *,
body.single-services .ts-doctors *,
body.single-services .ts-advantages *,
body.single-services .ts-cta *,
body.single-services .ts-faq *,
body.single-services .ts-reviews *,
body.single-services .ts-blog * {
	font-family: "SFTSchriftedSansTRIAL", Sans-serif;
}
