@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&family=Inter:wght@300;400;500;600&display=swap');

.element_inform_uslugi {
    padding-top: 104px;
}
.clinic-features {
	padding: 0;
	background-color: #f5f5f5;
}
main.def_page:has(.clinic-features) {
	padding-top: 87px;
}

.clinic-features__container {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	height: 400px;
	background-color: #f5f5f5;
	overflow: hidden;
	position: relative;
}
.clinic-features__content.mobile {display: none;}
.clinic-features__content.abs {
    position: absolute;
    left: 0;
    width: 50%;
    height: auto;
    min-height: 410px;
	display: flex;
}
.clinic-features__container::before,
.clinic-features__container::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: auto 100%;
	background-position: right center;
	background-repeat: no-repeat;
	transition: opacity var(--img-fade, 2.4s) ease;
	z-index: 0;
	pointer-events: none;
}

.clinic-features__container::before {
	background-image: url('2.png');
	opacity: 1;
}

.clinic-features__container::after {
	background-image: url('1.png');
	opacity: 0;
}

.clinic-features__container.is-alt::before {
	opacity: 0;
}

.clinic-features__container.is-alt::after {
	opacity: 1;
}

.clinic-features__content {
	width: 55%;
	height: 100%;
	padding: 16px;
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 2;
}

.clinic-features__title {
	font-family: 'Inter', sans-serif;
	font-size: 48px;
	line-height: 1.1;
	font-weight: 300;
	color: #1a1a1a;
	margin: 0 0 18px 0;
	letter-spacing: -0.3px;
	text-transform: uppercase;
}

.clinic-features__title-accent {
	font-family: 'Cormorant Garamond', 'Times New Roman', serif;
	font-size: 48px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	display: inline-block;
	margin-top: 4px;
	letter-spacing: 1px;
}

.clinic-features__subtitle {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #141414;
	text-transform: uppercase;
	margin: 0;
	font-weight: 400;
	letter-spacing: 0.3px;
}

.clinic-features__action {
	margin-top: auto;
}

.clinic-features__action-text {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 300;
	color: #141414;
	margin: 0 0 12px 0;
	line-height: 1.5;
}

.clinic-features__btn {
	background-color: #1a1a1a;
	max-width: 280px;
	width: 100%;
	color: #ffffff;
	border: none;
	border-radius: 50px;
	padding: 14px 45px;
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.3s ease;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	display: inline-block;
	position: relative;
	z-index: 2;
}

.clinic-features__btn:hover {
	background-color: #333333;
}

.clinic-features__annotations {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
}

.annotation {
	position: absolute;
	display: flex;
	align-items: flex-end;
	text-decoration: none;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.7s ease, transform 0.7s ease;
	pointer-events: auto;
	cursor: pointer;
}

.annotation:nth-child(1) .annotation__line {
	width: 100px;
}
.annotation:nth-child(2) .annotation__line {
    width: 75px;
}
.annotation:nth-child(3) .annotation__line {
	width: 140px;
}
.annotation:nth-child(5) .annotation__line {
	width: 155px;
}
.annotation:nth-child(6) .annotation__line {
	width: 120px;
}

.annotation.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.annotation__text {
	display: block;
	width: auto;
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	line-height: 1.3;
	color: #333333;
	text-transform: lowercase;
	font-weight: 400;
	transition: color 0.2s ease;
	flex-shrink: 0;
	padding-bottom: 3px;
	background-image: repeating-linear-gradient(to right, #999999 0, #999999 3px, transparent 3px, transparent 7px);
	background-repeat: no-repeat;
	background-size: 100% 1px;
	background-position: bottom;
	position: relative;
	z-index: 2;
}

.annotation:hover .annotation__text {
	color: #000000;
}

.annotation--left .annotation__text {
	text-align: left;
}

.annotation--left .annotation__line {
	width: 100px;
	height: 1px;
	background-image: repeating-linear-gradient(to right, #999999 0, #999999 3px, transparent 3px, transparent 7px);
	background-repeat: no-repeat;
	background-size: 100% 1px;
	background-position: bottom;
	flex-shrink: 0;
	display: block;
	position: relative;
	z-index: 1;
	transform-origin: left bottom;
	transform: rotate(var(--line-angle, 0deg));
}

.annotation--left .annotation__dot {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translate(50%, -50%);
}
.annotation--left:nth-child(1) .annotation__dot {
	top: 65%;
}
.annotation--left:nth-child(2) .annotation__dot {
	top: 70%;
}
.annotation--left:nth-child(3) .annotation__dot {
	top: 70%;
}
.annotation--left:nth-child(4) .annotation__dot {
	top: 80%;
}
.annotation--reverse:nth-child(5) .annotation__dot {
	top: 140%;
}
.annotation--reverse:nth-child(6) .annotation__dot {
	top: 120%;
}
.annotation--reverse:nth-child(7) .annotation__dot {
	top: 125%;
}
.annotation--reverse:nth-child(8) .annotation__dot {
	top: 145%;
}

.annotation--reverse .annotation__text {
	text-align: right;
}

.annotation--reverse .annotation__line {
	width: 150px;
	height: 1px;
	background-image: repeating-linear-gradient(to right, #999999 0, #999999 3px, transparent 3px, transparent 7px);
	background-repeat: no-repeat;
	background-size: 100% 1px;
	background-position: bottom;
	flex-shrink: 0;
	display: block;
	position: relative;
	z-index: 1;
	transform-origin: right bottom;
	transform: rotate(var(--line-angle, 0deg));
}

.annotation--reverse .annotation__dot {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translate(-50%, -50%);
}

.annotation__dot {
	width: 7px;
	height: 7px;
	background-color: #ffffff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.25);
	display: block;
	z-index: 2;
}

@media (max-width: 1200px) {
	.clinic-features__container {
		max-width: 100%;
		height: 500px;
	}

	.clinic-features__container::before {
		background-image: url('4.png');
	}

	.clinic-features__container::after {
		background-image: url('3.png');
	}

	.clinic-features__container::before,
	.clinic-features__container::after {
		top: 0;
		right: 0;
		bottom: 0;
		left: auto;
		width: 55%;
		height: 100%;
		background-size: auto 100%;
		background-position: right bottom;
		background-repeat: no-repeat;
	}

	.clinic-features__content {
		flex-direction: column;
		height: 100%;
		width: 80%;
		padding: 26px 22px;
	}

	.clinic-features__title {
		font-size: 32px;
		margin-bottom: 12px;
		line-height: 1.15;
	}

	.clinic-features__title-accent {
		font-size: 34px;
	}

	.clinic-features__subtitle {
		font-size: 12px;
		line-height: 1.45;
		margin-bottom: 22px;
	}

	.clinic-features__action {
		margin-top: auto;
	}

	.clinic-features__action-text {
		font-size: 10px;
		margin-bottom: 10px;
	}

	.clinic-features__btn {
		max-width: 220px;
		padding: 15px 28px;
		font-size: 12px;
	}

	.clinic-features__annotations {
		display: block;
	}

	.annotation {
		display: flex;
		align-items: flex-end;
	}

	.annotation .annotation__text {
		text-align: left;
		order: 0;
	}

	.annotation .annotation__line {
		order: 1;
		height: 1px;
		background-image: repeating-linear-gradient(to right, #999999 0, #999999 3px, transparent 3px, transparent 7px);
		background-repeat: no-repeat;
		background-size: 100% 1px;
		background-position: bottom;
		flex-shrink: 0;
		display: block;
		position: relative;
		z-index: 1;
		transform-origin: left bottom;
		transform: rotate(var(--line-angle, 0deg));
	}

	.annotation .annotation__dot {
		position: absolute;
		right: 0;
		top: 50%;
		transform: translate(50%, -50%);
		left: auto;
	}

	.annotation--reverse .annotation__text {
		text-align: left;
	}

	.annotation--reverse .annotation__line {
		transform-origin: left bottom;
		transform: rotate(var(--line-angle, 0deg));
	}

	.annotation--reverse .annotation__dot {
		left: auto;
		right: 0;
		transform: translate(50%, -50%);
	}

	.annotation .annotation__text {
		font-size: 10px;
	}

	.annotation:nth-child(1) .annotation__line {
		width: 135px;
	}
	.annotation:nth-child(2) .annotation__line {
		width: 148px;
	}
	.annotation:nth-child(3) .annotation__line {
		width: 158px;
	}
	.annotation:nth-child(4) .annotation__line {
		width: 160px;
	}
	.annotation:nth-child(5) .annotation__line {
		width: 170px;
	}
	.annotation:nth-child(6) .annotation__line {
		width: 165px;
	}
	.annotation:nth-child(7) .annotation__line {
		width: 120px;
	}
	.annotation:nth-child(8) .annotation__line {
		width: 220px;
	}

	.annotation:nth-child(1) {
		top: 56% !important;
		left: unset !important;
		right: 65px !important;
		--line-angle: -28deg !important;
	}
	.annotation:nth-child(2) {
		top: 56% !important;
		left: unset !important;
		right: 65px !important;
		--line-angle: -28deg !important;
	}
	.annotation:nth-child(3) {
		top: 58% !important;
		left: unset !important;
		right: 35px !important;
		--line-angle: 7deg !important;
	}
	.annotation:nth-child(2) {
		top: 53% !important;
		left: unset !important;
		right: 10px !important;
		--line-angle: 38deg !important;
	}
	.annotation:nth-child(5) {
		top: 56% !important;
		left: unset !important;
		right: -10px !important;
		--line-angle: -33deg !important;
	}
	.annotation:nth-child(6) {
		top: 53% !important;
		left: unset !important;
		right: 30px !important;
		--line-angle: -9deg !important;
	}
	.annotation:nth-child(7) {
		top: 58% !important;
		left: unset !important;
		right: 50px !important;
		--line-angle: 26deg !important;
	}
	.annotation:nth-child(8) {
		top: 58% !important;
		left: unset !important;
		right: -55px !important;
		--line-angle: 46deg !important;
	}
}
@media (max-width: 768px) {
.clinic-features__content.abs {display: none;}
.clinic-features__content.mobile {display: flex !important;}
	main.def_page:has(.clinic-features) {
		padding-top: 71px;
	}
	.clinic-features__title {
		margin-top: 20px;
	}
}
@media (max-width: 576px) {
	.clinic-features__container {
		position: relative;
	}

	.clinic-features__content {
		width: 100%;
		padding: 8px;
		position: relative;
		z-index: 5;
	}

	.clinic-features__annotations {
		z-index: 1;
	}

	.clinic-features__title {
		font-size: 20px;
		margin-bottom: 24px;
		line-height: 22px;
		margin-top: 40px;
	}
	.clinic-features__title-accent {
		font-size: 20px;
		line-height: 22px;
	}
	.clinic-features__subtitle {
		font-size: 14px;
		line-height: 15px;
		margin-bottom: 0;
		max-width: 205px;
	}
	.clinic-features__btn {
		max-width: 100%;
		margin-bottom: 10px;
		position: relative;
		z-index: 10;
	}
	.clinic-features__container::before,
	.clinic-features__container::after {
		width: 100%;
	}
	.clinic-features__action-text {
		max-width: 105px;
	}

	.annotation:nth-child(1) .annotation__line {
		width: 160px;
	}
	.annotation:nth-child(2) .annotation__line {
		width: 160px;
	}
	.annotation:nth-child(3) .annotation__line {
		width: 177px;
	}
	.annotation:nth-child(7) .annotation__line {
		width: 160px;
	}
	.annotation:nth-child(5) .annotation__line {
		width: 188px;
	}
	.annotation:nth-child(6) .annotation__line {
		width: 186px;
	}
	.annotation:nth-child(7) .annotation__line {
		width: 141px;
	}
	.annotation:nth-child(8) .annotation__line {
		width: 257px;
	}

	.annotation:nth-child(1) {
		top: 56% !important;
		left: unset !important;
		right: 63px !important;
		--line-angle: -25deg !important;
	}
	.annotation:nth-child(2) {
		top: 56% !important;
		left: unset !important;
		right: 63px !important;
		--line-angle: -25deg !important;
	}
	.annotation:nth-child(3) {
		top: 58% !important;
		left: unset !important;
		right: 37px !important;
		--line-angle: 8deg !important;
	}
	.annotation:nth-child(4) {
		top: 53% !important;
		left: unset !important;
		right: 38px !important;
		--line-angle: 32deg !important;
	}
	.annotation:nth-child(5) {
		top: 56% !important;
		left: unset !important;
		right: 0 !important;
		--line-angle: -26deg !important;
	}
	.annotation:nth-child(6) {
		top: 53% !important;
		left: unset !important;
		right: 40px !important;
		--line-angle: -9deg !important;
	}
	.annotation:nth-child(7) {
		top: 58% !important;
		left: unset !important;
		right: 58px !important;
		--line-angle: 23deg !important;
	}
	.annotation:nth-child(8) {
		top: 58% !important;
		left: unset !important;
		right: -64px !important;
		--line-angle: 44deg !important;
	}
}