/* Patients Page */

/* Common section */

.patients_section
{
	padding-top: 80px;
	padding-bottom: 80px;
}
.patients_section:nth-child(even)
{
	background: #eff3f7;
}
.patients_intro p
{
	font-size: 16px;
	color: #636363;
	line-height: 1.75;
	max-width: 700px;
	margin: 20px auto 0;
}

/* Steps Timeline */

.steps_timeline
{
	margin-top: 50px;
	position: relative;
	padding-left: 60px;
}
.steps_timeline::before
{
	content: '';
	position: absolute;
	left: 22px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: #e6ebf1;
}
.step_item
{
	display: flex;
	align-items: flex-start;
	gap: 24px;
	margin-bottom: 40px;
	position: relative;
}
.step_item:last-child
{
	margin-bottom: 0;
}
.step_number
{
	position: absolute;
	left: -60px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #57ccc3;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	z-index: 1;
}
.step_content h3
{
	font-size: 20px;
	font-weight: 600;
	color: #404040;
	margin-bottom: 8px;
	margin-top: 8px;
}
.step_content p
{
	font-size: 15px;
	color: #636363;
	line-height: 1.75;
	margin: 0;
}

/* Этапы работы — зигзаг (страница «Пациентам») */

.stages_zigzag
{
	position: relative;
	margin-top: 54px;
}
.stages_zigzag::before
{
	content: '';
	position: absolute;
	left: 50%;
	top: 6px;
	bottom: 30px;
	border-left: 2px dashed #cdd9e0;
	transform: translateX(-50%);
}
.stage_step
{
	position: relative;
	display: grid;
	grid-template-columns: 1fr 64px 1fr;
	align-items: center;
	margin-bottom: 34px;
}
.stage_step:last-child
{
	margin-bottom: 0;
}
.stage_node
{
	grid-column: 2;
	justify-self: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #57ccc3;
	border: 4px solid #fff;
	box-shadow: 0 0 0 2px #57ccc3;
	z-index: 3;
}
.stage_card
{
	position: relative;
	background: #fff;
	border-radius: 14px;
	padding: 26px 28px;
	box-shadow: 0 10px 28px rgba(31,45,61,0.08);
	z-index: 2;
	overflow: hidden;
	transition: transform 200ms ease, box-shadow 200ms ease;
}
.stage_card:hover
{
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(31,45,61,0.12);
}
.stage_card::before
{
	content: '';
	position: absolute;
	top: 0;
	height: 3px;
	width: 48px;
	border-radius: 2px;
	background: linear-gradient(90deg, #57ccc3, #2fb6ac);
}
.stage_step--left .stage_card
{
	grid-column: 1;
	margin-right: 20px;
}
.stage_step--right .stage_card
{
	grid-column: 3;
	margin-left: 20px;
}
.stage_step--left .stage_card::before
{
	right: 28px;
}
.stage_step--right .stage_card::before
{
	left: 28px;
}
.stage_ghost
{
	position: absolute;
	top: -12px;
	right: -8px;
	font-size: 84px;
	font-weight: 800;
	line-height: 1;
	color: rgba(47,182,172,0.10);
	z-index: 0;
	pointer-events: none;
	letter-spacing: -2px;
}
.stage_idx
{
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #2fb6ac;
	margin-bottom: 7px;
}
.stage_card h3
{
	font-size: 19px;
	font-weight: 600;
	color: #404040;
	margin-bottom: 9px;
	line-height: 1.3;
}
.stage_card p
{
	font-size: 14.5px;
	color: #636363;
	line-height: 1.7;
	margin: 0;
}
.stages_cta
{
	margin-top: 46px;
}
.stages_cta .button
{
	display: inline-block;
}

/* Tests Tabs */

.tests_tabs
{
	margin-top: 40px;
	margin-bottom: 40px;
}
.tests_tab
{
	display: inline-block;
	padding: 12px 32px;
	border: 2px solid #57ccc3;
	background: transparent;
	color: #57ccc3;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	transition: all 200ms ease;
}
.tests_tab:first-child
{
	border-radius: 25px 0 0 25px;
}
.tests_tab:last-child
{
	border-radius: 0 25px 25px 0;
	border-left: none;
}
.tests_tab.active
{
	background: #57ccc3;
	color: #fff;
}
.tests_tab:hover:not(.active)
{
	background: rgba(87,204,195,0.1);
}

/* Tests Content */

.tests_lead
{
	font-size: 16px;
	color: #636363;
	line-height: 1.75;
	margin-bottom: 30px;
}
/* Анализы идут единым списком: без карточек, чтобы перечень читался
   как обычный документ, а не как набор плиток. */
.tests_group
{
	margin-bottom: 22px;
	background: transparent;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}
.patients_steps + .patients_tests .tests_group
{
	background: transparent;
}
.tests_group h3
{
	font-size: 16px;
	font-weight: 600;
	color: #2fb6ac;
	margin-bottom: 10px;
	padding-bottom: 0;
	border-bottom: 0;
	text-transform: none;
}
.tests_group ul
{
	list-style: none;
	padding: 0;
	margin: 0;
}
.tests_group li
{
	font-size: 15px;
	color: #636363;
	line-height: 1.75;
	padding: 4px 0 4px 20px;
	position: relative;
}
.tests_group li::before
{
	content: '';
	position: absolute;
	left: 0;
	top: 12px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #57ccc3;
}
.tests_validity
{
	color: #a6abb2;
	font-size: 13px;
	font-weight: 400;
}

/* Tests Stages */

.tests_stages
{
	margin-top: 30px;
	background: #fff;
	border-radius: 12px;
	padding: 24px 30px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.tests_stages h3
{
	font-size: 17px;
	font-weight: 600;
	color: #404040;
	margin-bottom: 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e6ebf1;
}
.tests_stage_item
{
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 16px;
}
.tests_stage_item:last-child
{
	margin-bottom: 0;
}
.tests_stage_num
{
	flex-shrink: 0;
	background: #57ccc3;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 4px 14px;
	border-radius: 14px;
	white-space: nowrap;
	margin-top: 2px;
}
.tests_stage_item p
{
	font-size: 15px;
	color: #636363;
	line-height: 1.6;
	margin: 0;
}

/* Where / Moscow / Important */

.tests_where,
.tests_moscow,
.tests_important
{
	margin-top: 22px;
	background: transparent;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}
.tests_where h3,
.tests_moscow h3,
.tests_important h3
{
	font-size: 17px;
	font-weight: 600;
	color: #404040;
	margin-bottom: 12px;
}
.tests_where p,
.tests_moscow p,
.tests_important p
{
	font-size: 15px;
	color: #636363;
	line-height: 1.75;
	margin-bottom: 8px;
}
.tests_where ul,
.tests_important ul
{
	list-style: none;
	padding: 0;
	margin: 0 0 10px;
}
.tests_where li,
.tests_important li
{
	font-size: 15px;
	color: #636363;
	line-height: 1.75;
	padding: 3px 0 3px 20px;
	position: relative;
}
.tests_where li::before,
.tests_important li::before
{
	content: '';
	position: absolute;
	left: 0;
	top: 12px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #57ccc3;
}
.tests_important
{
	background: #fff8f0;
	border-left: 4px solid #f5a623;
}
.tests_important h3
{
	color: #d4860b;
}
.tests_important li::before
{
	background: #f5a623;
}
.tests_moscow
{
	background: #f0f7ff;
	border-left: 4px solid #4a90d9;
}
.tests_moscow h3
{
	color: #2d6cb5;
}

/* Services Price List */

.svc_price_list
{
	display: flex;
	flex-direction: column;
	gap: 0;
}
.svc_price_item
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 24px;
	background: #fff;
	border-bottom: 1px solid #f0f2f5;
	transition: background 200ms ease;
}
.svc_price_item:first-child
{
	border-radius: 12px 12px 0 0;
}
.svc_price_item:last-child
{
	border-radius: 0 0 12px 12px;
	border-bottom: none;
}
.svc_price_item:only-child
{
	border-radius: 12px;
}
.svc_price_item:hover
{
	background: #f8fffe;
}
.svc_price_info
{
	flex: 1;
	min-width: 0;
}
.svc_price_name
{
	font-size: 16px;
	font-weight: 600;
	color: #404040;
	margin-bottom: 4px;
}
.svc_price_desc
{
	font-size: 13px;
	color: #a6abb2;
	line-height: 1.5;
}
.svc_price_cost
{
	flex-shrink: 0;
	font-size: 16px;
	font-weight: 700;
	color: #57ccc3;
	white-space: nowrap;
	background: #f0faf9;
	padding: 8px 18px;
	border-radius: 20px;
}
.svc_content
{
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
	border-radius: 12px;
}

/* Article Cards */

.articles_grid
{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-top: 40px;
}
.article_card
{
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 14px;
	border-top: 4px solid #57ccc3;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
	transition: transform 200ms ease, box-shadow 200ms ease;
}
.article_card:hover
{
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.article_card--body { border-top-color: #2fb6ac; }
.article_card--breast { border-top-color: #fd556d; }
.article_card--face { border-top-color: #57ccc3; }
.article_card--blepharo { border-top-color: #3a4245; }

/* Верхняя строка карточки: бейдж категории + тип материала */
.article_card_top
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 20px 24px 0;
}
.article_badge
{
	display: inline-block;
	padding: 5px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #fff;
}
.article_badge--body { background: #2fb6ac; }
.article_badge--breast { background: #fd556d; }
.article_badge--face { background: #57ccc3; }
.article_badge--blepharo { background: #3a4245; }
.article_type
{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #9aa2ab;
	white-space: nowrap;
}
.article_type i
{
	font-size: 14px;
	color: #57ccc3;
}
.article_card_body
{
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 14px 24px 24px;
}
.article_card_body h3
{
	font-size: 18px;
	font-weight: 600;
	color: #404040;
	line-height: 1.3;
	margin-bottom: 10px;
}
.article_card_body p
{
	font-size: 14px;
	color: #636363;
	line-height: 1.7;
	margin-bottom: 20px;
	flex-grow: 1;
}
.article_card_actions
{
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.article_read_more
{
	display: inline-block;
	padding: 9px 26px;
	border: none;
	border-radius: 22px;
	background: #57ccc3;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 200ms ease;
}
.article_read_more:hover
{
	background: #2fb6ac;
}
.article_download
{
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 600;
	color: #57ccc3;
	text-decoration: none;
	transition: color 200ms ease;
}
.article_download i
{
	font-size: 14px;
}
.article_download:hover
{
	color: #2fb6ac;
}

/* Article Modal */

.article_modal_overlay
{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.6);
	z-index: 9999;
	overflow-y: auto;
	padding: 40px 20px;
}
.article_modal_overlay.active
{
	display: flex;
	align-items: flex-start;
	justify-content: center;
}
.article_modal
{
	background: #fff;
	border-radius: 16px;
	max-width: 720px;
	width: 100%;
	padding: 40px;
	position: relative;
	animation: modalFadeIn 300ms ease;
}
@keyframes modalFadeIn
{
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
.article_modal_close
{
	position: absolute;
	top: 16px;
	right: 20px;
	background: none;
	border: none;
	font-size: 32px;
	color: #a5a5a5;
	cursor: pointer;
	line-height: 1;
	transition: color 200ms ease;
}
.article_modal_close:hover
{
	color: #404040;
}
.article_modal h2
{
	font-size: 24px;
	font-weight: 700;
	color: #404040;
	margin-bottom: 16px;
	padding-right: 40px;
}
.article_modal_meta
{
	font-size: 13px;
	color: #a6abb2;
	margin-bottom: 24px;
}
.article_modal_download
{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	margin-bottom: 24px;
	border-radius: 22px;
	background: #57ccc3;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background 200ms ease;
}
.article_modal_download:hover
{
	background: #2fb6ac;
	color: #fff;
}
.article_modal_content h3
{
	font-size: 17px;
	font-weight: 600;
	color: #57ccc3;
	margin-top: 24px;
	margin-bottom: 10px;
}
.article_modal_content p
{
	font-size: 15px;
	color: #636363;
	line-height: 1.75;
	margin-bottom: 8px;
}
.article_modal_content strong
{
	color: #404040;
}
.article_modal_content h4
{
	font-size: 15px;
	font-weight: 700;
	color: #404040;
	margin-top: 18px;
	margin-bottom: 8px;
}
.article_modal_content h4.faq_q
{
	color: #57ccc3;
}
.article_modal_content ul
{
	margin: 0 0 16px;
	padding-left: 20px;
}
.article_modal_content ul li
{
	font-size: 15px;
	color: #636363;
	line-height: 1.7;
	margin-bottom: 6px;
}
.article_modal_note
{
	margin-top: 20px;
	padding: 16px 20px;
	background: #f0f7ff;
	border-radius: 8px;
	border-left: 4px solid #4a90d9;
	font-style: italic;
}

/* Responsive */

@media only screen and (max-width: 991px)
{
	.tests_tabs
	{
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}
	.tests_tab
	{
		border-radius: 20px !important;
		border: 2px solid #57ccc3 !important;
		flex: 1 1 auto;
	}
	.articles_grid
	{
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media only screen and (max-width: 767px)
{
	.patients_section
	{
		padding-top: 50px;
		padding-bottom: 50px;
	}
	.steps_timeline
	{
		padding-left: 50px;
	}
	.steps_timeline::before
	{
		left: 17px;
	}
	.step_number
	{
		left: -50px;
		width: 36px;
		height: 36px;
		font-size: 15px;
	}
	.step_content h3
	{
		font-size: 17px;
	}
	.tests_tab
	{
		padding: 10px 20px;
		font-size: 13px;
	}
	.tests_group,
	.tests_stages,
	.tests_where,
	.tests_moscow,
	.tests_important
	{
		padding: 18px 20px;
	}
	.svc_price_item
	{
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 16px 18px;
	}
	.svc_price_cost
	{
		align-self: flex-start;
	}
	.articles_grid
	{
		grid-template-columns: 1fr;
	}
	.article_modal
	{
		padding: 24px;
	}
	.article_modal h2
	{
		font-size: 20px;
	}
	.step_content p
	{
		font-size: 14px;
	}
	.tests_lead
	{
		font-size: 14px;
	}
	.stages_zigzag
	{
		margin-top: 40px;
	}
	.stages_zigzag::before
	{
		left: 22px;
		transform: none;
	}
	.stage_step
	{
		grid-template-columns: 44px 1fr;
		margin-bottom: 26px;
	}
	.stage_node
	{
		grid-column: 1;
		justify-self: center;
	}
	.stage_step--left .stage_card,
	.stage_step--right .stage_card
	{
		grid-column: 2;
		margin: 0 0 0 8px;
	}
	.stage_step--left .stage_card::before,
	.stage_step--right .stage_card::before
	{
		left: 24px;
		right: auto;
	}
	.stage_ghost
	{
		font-size: 56px;
		top: -26px;
	}
	.stage_step--left .stage_ghost,
	.stage_step--right .stage_ghost
	{
		left: auto;
		right: 10px;
	}
	.stage_card
	{
		padding: 20px 20px;
	}
	.stage_card h3
	{
		font-size: 17px;
	}
}

@media only screen and (max-width: 575px)
{
	.patients_section
	{
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.tests_tab
	{
		padding: 8px 14px;
		font-size: 12px;
	}
	.svc_price_name
	{
		font-size: 14px;
	}
	.svc_price_desc
	{
		font-size: 12px;
	}
	.svc_price_cost
	{
		font-size: 14px;
		padding: 6px 14px;
	}
	.article_modal
	{
		padding: 18px;
	}
	.article_modal_content h3
	{
		font-size: 15px;
	}
	.article_modal_content p
	{
		font-size: 14px;
	}
}


/* Единая карточка со списком анализов + кнопка скачивания */
.tests_sheet
{
	background: #fff;
	border-radius: 12px;
	padding: 30px 34px 26px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.tests_download_row
{
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid #e6ebf1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.tests_download_note
{
	font-size: 14px;
	color: #7b878f;
	margin: 0;
}
.tests_download
{
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: #2fb6ac;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	padding: 13px 26px;
	border-radius: 26px;
	transition: background 0.2s, transform 0.2s;
	white-space: nowrap;
}
.tests_download:hover
{
	background: #26a49a;
	color: #fff;
	transform: translateY(-1px);
}
@media only screen and (max-width: 575px)
{
	.tests_sheet
	{
		padding: 22px 18px 20px;
	}
	.tests_download_row
	{
		flex-direction: column;
		align-items: stretch;
	}
	.tests_download
	{
		justify-content: center;
	}
}


/* «Где сдать», «Москва», «Важно» — продолжение того же перечня,
   поэтому карточка одна, а блоки внутри плоские. */
.tests_sheet--notes
{
	margin-top: 24px;
}
.tests_sheet--notes .tests_where,
.tests_sheet--notes .tests_moscow,
.tests_sheet--notes .tests_important
{
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	padding: 0;
	margin: 0 0 22px;
}
.tests_sheet--notes .tests_where:last-child,
.tests_sheet--notes .tests_moscow:last-child,
.tests_sheet--notes .tests_important:last-child
{
	margin-bottom: 0;
}
.tests_sheet--notes h3
{
	font-size: 16px;
	font-weight: 600;
	color: #2fb6ac;
	margin-bottom: 10px;
	padding-bottom: 0;
	border-bottom: 0;
}
.tests_sheet--notes p,
.tests_sheet--notes li
{
	font-size: 15px;
	color: #5f6b72;
	line-height: 1.7;
}
.tests_sheet--notes ul
{
	margin: 0 0 10px;
	padding-left: 20px;
}
