/* Scoped styles for the "Записаться на чек-ап" quiz popup (#checkupQuiz).
   All selectors are namespaced under .checkup-quiz so they cannot leak
   into the rest of the site's styling. */

.checkup-quiz {
	max-width: 720px;
	margin: 0 auto;
}

.modal_content.checkup-quiz {
	padding-top: 48px;
	padding-bottom: 48px;
}

.checkup-quiz .mb_close {
	top: 16px;
	right: 16px;
	width: 48px;
	height: 48px;
}

.checkup-quiz .mc_header {
	font-size: 32px;
}

.checkup-quiz .mc_text_2 {
	font-size: 20px;
	margin: 16px 0;
}

.checkup-quiz .mc_text p,
.checkup-quiz .mc_text ul li {
	font-size: 20px;
}

.checkup-quiz .mcfwf_notice {
	font-size: 14px;
}

.checkup-quiz .cq-eyebrow {
	display: block;
	text-align: center;
	color: #7786B8;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .02em;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.checkup-quiz .cq-card {
	margin-top: 40px;
}

.checkup-quiz .cq-progress {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.checkup-quiz .cq-progress__step {
	font-weight: 700;
	font-size: 15px;
	color: #585DA5;
}

.checkup-quiz .cq-progress__pct {
	font-weight: 600;
	font-size: 14px;
	color: #63677B;
}

.checkup-quiz .cq-progress__track {
	margin-top: 10px;
	height: 8px;
	border-radius: 999px;
	background: #ECEEF8;
	overflow: hidden;
}

.checkup-quiz .cq-progress__bar {
	width: 0;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #7178BC, #8A90CE);
	transition: width .4s cubic-bezier(.4, 0, .2, 1);
}

.checkup-quiz .cq-question {
	margin-top: 28px;
}

.checkup-quiz .cq-question.is-hidden {
	display: none;
}

.checkup-quiz .cq-question__title {
	margin: 0;
	font-weight: 700;
	font-size: clamp(19px, 2.4vw, 25px);
	line-height: 1.25;
	color: #232323;
	text-align: center;
}

.checkup-quiz .cq-options {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.checkup-quiz .cq-option {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	text-align: left;
	padding: 16px 20px;
	border-radius: 16px;
	border: 1.5px solid #E2E4F1;
	background: #FAFBFE;
	font-size: 16px;
	font-weight: 500;
	color: #2E2F42;
	cursor: pointer;
	transition: border-color .16s, background .16s;
}

.checkup-quiz .cq-option:hover {
	border-color: #7178BC;
	background: #F6F7FD;
}

.checkup-quiz .cq-option.is-selected {
	border-color: #7178BC;
	background: #F1F2FC;
}

.checkup-quiz .cq-option__chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	flex: none;
	transition: transform .15s;
}

.checkup-quiz .cq-option.is-selected .cq-option__chip {
	transform: scale(1.08);
}

.checkup-quiz .cq-option__chip img {
	width: 20px;
	height: 20px;
	display: block;
}

.checkup-quiz .cq-option__chip.chip-1 { background: #7178BC; box-shadow: 0 6px 14px rgba(113, 120, 188, .33); }
.checkup-quiz .cq-option__chip.chip-2 { background: #D98A57; box-shadow: 0 6px 14px rgba(217, 138, 87, .33); }
.checkup-quiz .cq-option__chip.chip-3 { background: #5E9C8F; box-shadow: 0 6px 14px rgba(94, 156, 143, .33); }
.checkup-quiz .cq-option__chip.chip-4 { background: #C0678A; box-shadow: 0 6px 14px rgba(192, 103, 138, .33); }

.checkup-quiz .cq-option__label {
	flex: 1;
}

.checkup-quiz .cq-nav {
	margin-top: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.checkup-quiz .cq-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 4px;
	background: transparent;
	border: none;
	color: #63677B;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: color .18s;
}

.checkup-quiz .cq-back:hover {
	color: #565DA5;
}

.checkup-quiz .cq-back img {
	width: 14px;
	height: 14px;
	display: block;
}

.checkup-quiz .cq-nav__hint {
	margin-left: auto;
	font-size: 13px;
	color: #C0C2D2;
}

.checkup-quiz .cq-result {
	margin-top: 0;
	text-align: center;
}

.checkup-quiz .cq-result.is-hidden {
	display: none;
}

.checkup-quiz .cq-result__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #E7E9F6;
	margin-bottom: 12px;
}

.checkup-quiz .cq-result__icon img {
	width: 28px;
	height: 28px;
	display: block;
}

.checkup-quiz .cq-result .mc_header {
	margin-bottom: 16px;
}

.checkup-quiz .cq-result .mc_text,
.checkup-quiz .cq-result .mc_text_2 {
	margin-bottom: 0;
}

.checkup-quiz .cq-result .mc_form {
	margin-top: 32px;
}

@media (max-width: 767px) {
	.checkup-quiz .cq-option {
		padding: 14px 16px;
	}
	.checkup-quiz .cq-option__chip {
		width: 38px;
		height: 38px;
	}

	.checkup-quiz .mb_close {
		width: 32px;
		height: 32px;
	}

	.checkup-quiz .mc_header {
		font-size: 24px;
	}

	.checkup-quiz .mc_text_2 {
		font-size: 18px;
		margin: 12px 0;
	}

	.checkup-quiz .mc_text p,
	.checkup-quiz .mc_text ul li {
		font-size: 18px;
	}

	.checkup-quiz .mcfwf_notice {
		font-size: 14px;
	}

	.checkup-quiz .mcfwf_row button[type=submit] {
		font-size: 22px;
	}

	.checkup-quiz .cq-result .mc_header {
		margin-bottom: 12px;
	}
}
