.mq-wrapper {
	--mq-purple: #77539a;
	--mq-purple-dark: #563675;
	--mq-pink: #df668b;
	--mq-pink-light: #f9dce7;
	--mq-lilac: #f4edf8;
	--mq-bg: #fff8fb;
	--mq-text: #4d4058;
	--mq-muted: #8c8095;
	--mq-border: #eadfea;
	--mq-white: #ffffff;

	max-width: 1400px;
	margin: 20px -12px;
	padding: 20px;
	font-family: Tahoma, Arial, sans-serif;
	color: var(--mq-text);
	background: var(--mq-bg);
	box-sizing: border-box;
	border-radius:23px;
}

.mq-wrapper *,
.mq-wrapper *::before,
.mq-wrapper *::after {
	box-sizing: border-box;
}

.mq-wrapper button,
.mq-wrapper input,
.mq-wrapper textarea {
	font-family: inherit;
}

/* HERO */

.mq-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-items: center;
	padding: 30px;
	border-radius: 30px;
	background:
		linear-gradient(
			135deg,
			#fff8fb,
			#f8eef9
		);
	margin-bottom: 25px;
}

.mq-hero-text {
	padding: 20px;
}

.mq-eyebrow {
	color: var(--mq-purple);
	font-size: 18px;
	font-weight: 700;
}

.mq-hero h1 {
	color: var(--mq-pink);
	font-size: 42px;
	margin: 10px 0 20px;
}

.mq-hero p {
	line-height: 2;
	font-size: 16px;
}

.mq-badges {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 20px;
}

.mq-badges span {
	padding: 9px 15px;
	background: #fff;
	border: 1px solid var(--mq-border);
	border-radius: 30px;
	font-size: 13px;
}

.mq-hero-art {
	min-height: 290px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 30px;
	background:
		linear-gradient(
			135deg,
			#eadcf2,
			#fff1f6
		);
}

.mq-art-placeholder {
	font-size: 130px;
}

/* CARDS */

.mq-card {
	background: var(--mq-white);
	border: 1px solid var(--mq-border);
	border-radius: 25px;
	padding: 30px;
	box-shadow: 0 10px 35px rgba(91, 65, 105, 0.06);
	margin-bottom: 25px;
}

.mq-section-heading {
	text-align: center;
	margin-bottom: 25px;
}

.mq-section-heading h2 {
	color: var(--mq-purple);
	font-size: 26px;
	margin-bottom: 8px;
}

.mq-section-heading p {
	color: var(--mq-muted);
}

/* ROLE */

.mq-role-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.mq-role-option {
	position: relative;
	display: flex;
	align-items: center!important;
	gap: 20px;
	text-align: right!important;
	padding: 25px!important;
	border: 2px solid var(--mq-border)!important;
	border-radius: 22px!important;
	background: #fff!important;
	cursor: pointer;
	transition: 0.2s ease;
}

.mq-role-option:hover,
.mq-role-option.selected {
	border-color: var(--mq-pink)!important;
	background: #fff7fa!important;
	transform: translateY(-2px);
}

.mq-role-option strong {
	display: block;
	color: var(--mq-purple);
	font-size: 18px;
	margin-bottom: 8px;
}

.mq-role-option span:not(.mq-radio) {
	display: block;
	color: var(--mq-muted)!important;
	line-height: 1.8!important;
	font-size: 13px;
}

.mq-avatar {
	width: 100px;
	height: 100px;
	min-width: 70px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--mq-lilac);
	font-size: 38px;
}

.mq-radio {
	position: absolute;
	left: 20px;
	top: 20px;
	width: 18px;
	height: 18px;
	border: 2px solid #d8a5bd;
	border-radius: 50%;
}

.mq-role-option.selected .mq-radio {
	border-color: var(--mq-pink);
	box-shadow: inset 0 0 0 4px #fff;
	background: var(--mq-pink);
}

/* PROGRESS */

.mq-progress {
	display: flex;
	justify-content: space-between;
	position: relative;
	margin: 25px 0 35px;
	padding: 0 5px;
}

.mq-progress::before {
	content: "";
	position: absolute;
	right: 5%;
	left: 5%;
	top: 18px;
	height: 2px;
	background: #eadfeb;
	z-index: 0;
}

.mq-progress-item {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: var(--mq-muted);
	font-size: 12px;
	text-align: center;
}

.mq-progress-number {
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #eee6f2;
	color: var(--mq-purple);
}

.mq-progress-item.active .mq-progress-number,
.mq-progress-item.completed .mq-progress-number {
	background: var(--mq-pink);
	color: #fff;
}

.mq-progress-item.active .mq-progress-title {
	color: var(--mq-pink);
	font-weight: 700;
}

/* FORM */

.mq-step {
	display: none;
	background: #fff;
	border: 1px solid var(--mq-border);
	border-radius: 25px;
	padding: 30px;
	box-shadow: 0 8px 25px rgba(80, 50, 90, 0.05);
}

.mq-step.active {
	display: block;
}

.mq-step-heading {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 30px;
}

.mq-step-heading > span {
	width: 42px;
	height: 42px;
	min-width: 42px;
	border-radius: 50%;
	background: var(--mq-pink-light);
	color: var(--mq-pink);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
}

.mq-step-heading h2 {
	margin: 0 0 5px;
	color: var(--mq-purple);
	font-size: 22px;
}

.mq-step-heading p {
	margin: 0;
	color: var(--mq-muted);
	font-size: 13px;
}

.mq-question {
	padding: 20px 0;
	border-bottom: 1px solid #f0e8f1;
}

.mq-question:last-child {
	border-bottom: 0;
}

.mq-question-title {
	display: block;
	font-weight: 700;
	margin-bottom: 15px;
	color: #51435c;
}

.mq-question-title sup {
	color: var(--mq-pink);
}

.mq-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mq-option {
	position: relative;
	cursor: pointer;
}

.mq-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.mq-option span {
	display: block;
	padding: 11px 18px;
	border: 1px solid var(--mq-border);
	background: #fffafd;
	border-radius: 12px;
	color: var(--mq-text);
	transition: 0.2s;
}

.mq-option input:checked + span {
	background: #fbe4ec;
	border-color: var(--mq-pink);
	color: var(--mq-pink);
	font-weight: 700;
}

.mq-question textarea {
	width: 100%;
	border: 1px solid var(--mq-border);
	border-radius: 15px;
	padding: 14px;
	min-height: 120px;
	resize: vertical;
	outline: none;
}

.mq-question textarea:focus {
	border-color: var(--mq-pink);
	box-shadow: 0 0 0 3px rgba(223, 102, 139, 0.1);
}

/* BUTTONS */

.mq-navigation {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	margin-top: 30px;
}

.mq-button {
	border: 0!important;
	border-radius: 30px!important;
	padding: 13px 35px!important;
	background: linear-gradient(
		135deg,
		var(--mq-pink),
		#e9789a
	)!important;
	color: #fff!important;
	cursor: pointer;
	font-weight: 700;
	box-shadow: 0 8px 20px rgba(223, 102, 139, 0.2);
}

.mq-button:hover {
	transform: translateY(-1px);
}

.mq-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.mq-back {
	background: #eee7f1!important;
	color: var(--mq-purple)!important;
	box-shadow: none!important;
}

.mq-button.loading {
	opacity: 0.6;
}

/* MESSAGE */

.mq-message {
	margin-top: 20px;
	padding: 15px 20px;
	border-radius: 15px;
	background: #fff2f4;
	color: #b73f63;
}

.mq-message.error {
	background: #fff0f0;
	color: #b93636;
}

/* GIFT */

.mq-gift {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
	margin-top: 25px!important;
	padding: 30px!important;
	border-radius: 25px!important;
	background:
		linear-gradient(
			135deg,
			#fff0f6,
			#f4eaf9
		)!important;
}

.mq-gift h2 {
	color: var(--mq-purple);
}

.mq-gift p {
	line-height: 1.9;
	color: var(--mq-muted);
}

.mq-gift-icon {
	font-size: 90px;
}

.mq-gift-button {
	margin-top: 10px;
}

/* SUCCESS */

.mq-success {
	text-align: center;
	padding: 60px 20px;
}

.mq-success-icon {
	font-size: 70px;
}

.mq-success h2 {
	color: var(--mq-purple);
	font-size: 28px;
}

.mq-success p {
	color: var(--mq-muted);
	line-height: 2;
}

.mq-success-gift {
	margin: 30px auto;
	max-width: 350px;
	padding: 20px;
	border-radius: 20px;
	background: #fff0f6;
	color: var(--mq-pink);
}

/* FOOTER */

.mq-footer-note {
	text-align: center;
	padding: 20px;
	color: var(--mq-muted);
	font-size: 12px;
}

/* MOBILE */

@media (max-width: 768px) {
.mq-section-heading h2{
    font-size:18px;
}
.mq-role-option strong{
    font-size:16px;
}
.mq-role-option span:not(.mq-radio){
    font-size:12px;
}
.mq-role-option span:not(.mq-radio){
    padding-inline:8px!important;
}
	.mq-wrapper {
		margin: 10px -12px;
		padding: 10px;
	}

	.mq-hero {
		grid-template-columns: 1fr;
		padding: 15px;
	}

	.mq-hero h1 {
		font-size: 30px;
	}

	.mq-hero-art {
		min-height: 180px;
	}

	.mq-art-placeholder {
		font-size: 80px;
	}

	.mq-role-grid {
		grid-template-columns: 1fr;
	}

	.mq-role-option {
		padding: 18px;
	}

	.mq-progress-title {
		display: none;
	}

	.mq-progress-item {
		gap: 0;
	}

	.mq-step {
		padding: 20px;
	}

	.mq-navigation {
		flex-direction: column-reverse;
	}

	.mq-button {
		width: 100%;
	}

	.mq-gift {
		flex-direction: column;
		text-align: center;
	}

	.mq-gift-icon {
		font-size: 60px;
	}
}
