#exit24-quiz,
#exit24-quiz * { box-sizing: border-box; }

#exit24-quiz input[type="radio"],
#exit24-quiz input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
}

#exit24-quiz label:before,
#exit24-quiz label:after,
#exit24-quiz input:before,
#exit24-quiz input:after {
	content: none !important;
	display: none !important;
}

#exit24-quiz .fa:before {
	display: inline-block !important;
}

.eq-overlay {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 24px 16px;
	overflow: auto;
	background: rgba(17, 24, 39, .55);
	opacity: 0;
	transition: opacity .2s ease;
}

.eq-overlay.is-open { display: flex; opacity: 1; }
.eq-overlay.is-closing { opacity: 0; }
body.eq-locked { overflow: hidden; }

.eq-modal {
	position: relative;
	width: 100%;
	max-width: 1080px;
	margin: auto;
	background: #fff;
	color: #1f2937;
	border-radius: 16px;
	box-shadow: 0 24px 64px rgba(0,0,0,.18);
}

.eq-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #f3f4f6;
	color: #6b7280;
	cursor: pointer;
}

.eq-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 48px 16px 28px;
	border-bottom: 1px solid #eef0f3;
}

.eq-brand { min-width: 120px; }

.eq-logo {
	line-height: 0;
}

.eq-logo a {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.eq-logo img,
.eq-logo svg {
	display: block;
	height: 48px;
	width: auto;
	max-width: 140px;
}

.eq-benefits {
	display: flex;
	gap: 18px;
	padding-right: 28px;
}

.eq-benefit {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 190px;
	font-size: 12px;
	line-height: 1.3;
	font-weight: 600;
	color: #4b5563;
}

.eq-benefit__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	color: #ff6b00;
}

.eq-benefit__icon svg { width: 24px; height: 24px; }

.eq-progress-row {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"step time"
		"bar bar";
	align-items: center;
	gap: 8px 16px;
	padding: 16px 28px 8px;
}

.eq-progress-step { grid-area: step; }
.eq-progress-time { grid-area: time; }
.eq-bar { grid-area: bar; }

.eq-progress-step,
.eq-progress-time {
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
	white-space: nowrap;
}

.eq-progress-time {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.eq-progress-time .fa {
	font-size: 14px;
}

.eq-bar {
	height: 4px;
	overflow: hidden;
	border-radius: 99px;
	background: #eceff3;
}

.eq-bar__fill {
	display: block;
	height: 100%;
	width: 20%;
	border-radius: inherit;
	background: #ff6b00;
	transition: width .28s ease;
}

.eq-question-block { padding: 8px 28px 16px; }

.eq-question {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.22;
	font-weight: 800;
	color: #111827;
}

.eq-sub {
	margin: 0;
	max-width: 640px;
	font-size: 16px;
	line-height: 1.45;
	color: #6b7280;
}

.eq-layout {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 24px;
	padding: 0 28px;
}

.eq-modal:not(.is-start) .eq-layout {
	grid-template-columns: 1fr;
}

.eq-modal:not(.is-start) .eq-side,
.eq-modal.is-result .eq-question-block,
.eq-modal.is-success .eq-question-block,
.eq-modal.is-success .eq-progress-row,
.eq-modal.is-success .eq-foot,
.eq-modal.is-result .eq-btn[data-eq-next] {
	display: none;
}

.eq-side {
	padding: 20px 16px 16px;
	border: 0;
	border-radius: 14px;
	background: #f6f1ea;
}

.eq-side__title {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.3;
	font-weight: 700;
	color: #111827;
}

.eq-side__art {
	display: block;
	margin: 6px -4px 12px;
}

.eq-side__art img {
	display: block;
	width: 100%;
	height: auto;
}

.eq-side__note {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: #6b7280;
}

.eq-side__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.eq-side__list li {
	position: relative;
	margin: 0 0 12px;
	padding-left: 22px;
	font-size: 14px;
	line-height: 1.4;
	color: #4b5563;
}

.eq-side__list li:before {
	content: "" !important;
	display: block !important;
	position: absolute;
	left: 0;
	top: 3px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #ff6b00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M2.5 6.2l2.2 2.2 4.8-5'/%3E%3C/svg%3E") center no-repeat;
	background-size: 9px;
}

.eq-step { display: none; }
.eq-step.is-active { display: block; animation: eq-fade .2s ease; }
@keyframes eq-fade { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none;} }

.eq-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.eq-card {
	position: relative;
	display: block;
	margin: 0;
	overflow: visible;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.eq-card input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.eq-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	height: 118px;
	border-radius: 11px 11px 0 0;
	background: #eef0f3;
}

.eq-card__photo {
	display: block;
	width: 100%;
	height: 118px;
	object-fit: cover;
	background: #e8eaee;
}

.eq-card__photo.is-empty { visibility: hidden; }

.eq-card__icon {
	position: absolute;
	left: 50%;
	top: 118px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: #fff;
	background: #ff6b00;
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(17, 24, 39, .12);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.eq-card__icon .fa {
	display: block;
	width: 32px;
	height: 26px;
	font-size: 13px;
	line-height: 26px;
	text-align: center;
	color: #fff;
}

.eq-card__check {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #ff6b00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M2.4 6.2l2.3 2.2 5-5.4'/%3E%3C/svg%3E") center no-repeat;
	background-size: 11px;
	opacity: 0;
	transform: scale(.8);
	transition: opacity .15s ease, transform .15s ease;
}

.eq-card__title,
.eq-card__desc {
	display: block;
	padding: 0 10px;
}

.eq-card__title {
	margin-top: 22px;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 700;
	color: #111827;
}

.eq-card__desc {
	padding-bottom: 12px;
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.35;
	color: #6b7280;
}

.eq-card:hover {
	transform: translateY(-3px);
	border-color: #ff6b00;
	box-shadow: 0 8px 18px rgba(17, 24, 39, .08);
}

.eq-card.is-selected,
.eq-card:has(input:checked) {
	border-color: #ff6b00;
	box-shadow: 0 8px 18px rgba(255, 107, 0, .12);
}

.eq-card.is-selected .eq-card__check,
.eq-card:has(input:checked) .eq-card__check {
	opacity: 1;
	transform: scale(1);
}

.eq-options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.eq-option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 16px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.eq-option:hover { border-color: #d1d5db; }

.eq-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.eq-radio__box {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border: 2px solid #d1d5db;
	border-radius: 50%;
	position: relative;
}

.eq-option input:checked + .eq-radio__box {
	border-color: #ff6b00;
}

.eq-option input:checked + .eq-radio__box:after {
	content: "" !important;
	display: block !important;
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: #ff6b00;
}

.eq-option:has(input:checked) {
	border-color: #ff6b00;
	background: #fff7f0;
	box-shadow: 0 0 0 3px rgba(255,107,0,.12);
}

.eq-option span {
	font-size: 15px;
	font-weight: 600;
}

.eq-result-head { margin-bottom: 18px; }

.eq-result {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
	gap: 24px;
	align-items: start;
	padding-bottom: 8px;
}

.eq-result__title {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 800;
	color: #111827;
}

.eq-result__lead {
	margin: 0;
	max-width: 720px;
	font-size: 16px;
	line-height: 1.45;
	color: #6b7280;
}

.eq-result__info {
	display: grid;
	gap: 12px;
	align-content: start;
}

.eq-stat {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid #eef0f3;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
}

.eq-stat__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #ff6b00;
	color: #fff;
	font-size: 18px;
}

.eq-stat__icon svg { width: 22px; height: 22px; }

.eq-stat__body { min-width: 0; flex: 1; }

.eq-stat__label {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	color: #111827;
}

.eq-stat__value {
	font-size: 28px;
	line-height: 1.15;
	font-weight: 800;
	color: #ff6b00;
}

.eq-stat__hint {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.4;
	color: #9ca3af;
}

.eq-stat-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 7px 0;
	border-bottom: 1px solid #f3f4f6;
	font-size: 14px;
	line-height: 1.35;
	color: #4b5563;
}

.eq-stat-row:last-child { border-bottom: 0; padding-bottom: 0; }
.eq-stat-row:first-of-type { padding-top: 0; }

.eq-stat-row b {
	font-weight: 700;
	color: #111827;
	white-space: nowrap;
}

.eq-result__form {
	padding: 4px 0 0;
}

.eq-form-title {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 800;
	color: #111827;
}

.eq-channels {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-bottom: 14px;
}

.eq-channel {
	position: relative;
	margin: 0;
	cursor: pointer;
}

.eq-channel input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.eq-channel span {
	display: block;
	padding: 10px 8px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
}

.eq-channel input:checked + span {
	border-color: #ff6b00;
	background: #fff7f0;
	color: #ff6b00;
}

.eq-label {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	color: #4b5563;
}

.eq-input {
	display: block;
	width: 100%;
	height: 48px;
	margin-bottom: 12px;
	padding: 0 14px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
	font-size: 15px;
	outline: none;
}

.eq-input:focus {
	border-color: #ff6b00;
	box-shadow: 0 0 0 3px rgba(255,107,0,.12);
}

.eq-input.is-error {
	border-color: #ef4444;
	background: #fff7f7;
}

.eq-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.eq-btn:disabled { opacity: .55; cursor: not-allowed; }
.eq-btn--primary:disabled { background: #ffb070; color: #fff; opacity: 1; }
.eq-btn--ghost {
	background: #fff;
	color: #6b7280;
	min-width: 120px;
	border: 1px solid #e5e7eb;
}
.eq-btn--primary { background: #ff6b00; color: #fff; min-width: 168px; }
.eq-btn--wide { width: 100%; margin: 6px 0 10px; }

.eq-lock {
	font-size: 12px;
	line-height: 1.4;
	color: #9ca3af;
}

.eq-lock a { color: inherit; text-decoration: underline; }

.eq-check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 10px;
	font-size: 13px;
	color: #6b7280;
	cursor: pointer;
}

.eq-check input {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	border: 1.5px solid #d1d5db;
	border-radius: 4px;
	background: #fff;
}

.eq-check input:checked {
	background: #ff6b00;
	border-color: #ff6b00;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M2 6l3 3 5-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

.eq-check.is-error { color: #ef4444; }

.eq-error {
	display: none;
	padding: 0 28px;
	margin-top: 10px;
	font-size: 14px;
	color: #ef4444;
}

.eq-error.is-visible { display: block; }

.eq-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 28px 24px;
}

.eq-success {
	padding: 48px 16px 32px;
	text-align: center;
}

.eq-success__title {
	margin: 0 0 10px;
	font-size: 32px;
	font-weight: 800;
}

.eq-success__text {
	margin: 0 auto 24px;
	max-width: 440px;
	font-size: 16px;
	color: #6b7280;
}

.eq-hp {
	position: absolute;
	left: -9999px;
	width: 0;
	height: 0;
	opacity: 0;
}

@media (max-width: 900px) {
	.eq-layout,
	.eq-result,
	.eq-cards,
	.eq-options,
	.eq-progress-row {
		grid-template-columns: 1fr;
	}

	.eq-progress-row {
		grid-template-columns: 1fr;
		grid-template-areas:
			"step"
			"bar";
	}

	.eq-cards { grid-template-columns: 1fr 1fr; }
	.eq-benefits { display: none; }
	.eq-question { font-size: 22px; }
	.eq-topbar,
	.eq-question-block,
	.eq-layout,
	.eq-foot,
	.eq-progress-row { padding-left: 16px; padding-right: 16px; }
	.eq-progress-time { display: none; }
}
