/* مدكر الطفولة (/kids/, page key kids-ar). Figma: Main App UI > «مدكر الطفولة - مدكر» (17435:3110).
   Page styles load on every page, so every rule is scoped to a .mdk-kids-ar-* class.
   The page uses the purple of the kids' app; the hero reuses the orbit illustration of the join page (tch.css). */

/* Shared bits */
/* Kadence zeroes the side padding of .alignfull blocks (.entry-content .alignfull); restate the gutters (same pattern as site.css). */
.mdk-section.mdk-section:is(.mdk-kids-ar-hero, .mdk-kids-ar-features, .mdk-kids-ar-paths, .mdk-kids-ar-method, .mdk-kids-ar-motivation, .mdk-kids-ar-teachers, .mdk-kids-ar-steps, .mdk-kids-ar-consult, .mdk-kids-ar-faq, .mdk-kids-ar-closing) {
	padding-inline: var(--mdk-gutter);
}
/* Anchored sections land below the sticky header. */
.mdk-kids-ar-steps,
.mdk-kids-ar-pricing,
.mdk-kids-ar-consult {
	scroll-margin-top: 96px;
}
/* Centered inner containers: the site.css section reset (margin: 0) is (0,3,0), so match it here. */
.mdk-section.mdk-section :is(.mdk-kids-ar-split, .mdk-kids-ar-consult__card, .mdk-kids-ar-closing__card) {
	margin-inline: auto;
}
.mdk-section .mdk-kids-ar-pill {
	display: inline-flex;
	align-items: center;
	align-self: center;
	padding: 6px 20px;
	border-radius: 999px;
	background: #f1ecf8;
	color: #5e4192;
	font-size: 15px;
	font-weight: 700;
	line-height: 28px;
}
.mdk-section .mdk-kids-ar-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.mdk-section .mdk-kids-ar-cta a.mdk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 220px;
	min-height: 52px;
	padding: 8px 24px;
	box-sizing: border-box;
	border-color: #5e4192;
	border-radius: 8px;
	background: #5e4192;
	box-shadow: 0 0 25px rgba(94, 65, 146, 0.3);
	color: #fff;
	font-size: 17px;
	font-weight: 600;
	line-height: 26px;
	text-decoration: none;
}
.mdk-section .mdk-kids-ar-cta a.mdk-btn:hover {
	border-color: #4b3376;
	background: #4b3376;
	color: #fff;
}
.mdk-kids-ar-head {
	gap: 12px;
}
.mdk-section .mdk-kids-ar-head .mdk-head__title {
	color: #1a202c;
	font-size: 36px;
	font-weight: 700;
	line-height: 52px;
}
.mdk-section .mdk-kids-ar-head .mdk-head__sub {
	color: #878c92;
	font-size: 18px;
	line-height: 30px;
}
.mdk-section .mdk-head.mdk-kids-ar-head--start {
	align-items: flex-start;
	text-align: start;
}
.mdk-section .mdk-kids-ar-head--start .mdk-kids-ar-pill {
	align-self: flex-start;
}
.mdk-section:is(.mdk-kids-ar-features, .mdk-kids-ar-paths, .mdk-kids-ar-method, .mdk-kids-ar-motivation, .mdk-kids-ar-teachers, .mdk-kids-ar-steps, .mdk-kids-ar-pricing, .mdk-kids-ar-consult) .mdk-hl {
	color: #8a68c7;
}
/* Icon tiles */
.mdk-section .mdk-kids-ar-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 60px;
	height: 60px;
	margin: 0;
	border-radius: 16px;
	background: #f1ecf8;
}
.mdk-kids-ar-icon img {
	display: block;
	width: 32px;
	height: 32px;
}

/* Hero: text and the orbit illustration (photo, rings, glow and the app's rewards as stickers) */
.mdk-section.mdk-kids-ar-hero {
	overflow: hidden;
	padding-block: 0;
}
.mdk-kids-ar-hero .mdk-tch-hero__inner {
	justify-content: center;
	gap: 56px;
}
.mdk-kids-ar-hero .mdk-tch-hero__text {
	flex: 0 1 640px;
}
.mdk-kids-ar-hero .mdk-tch-hero__lead {
	max-width: 560px;
	color: #515d61;
	line-height: 32.4px;
}
.mdk-kids-ar-hero .mdk-join-hero__title {
	line-height: 61.6px;
}
.mdk-kids-ar-orbit .mdk-orbit__glow {
	top: -156px;
	left: -183px;
	width: 927px;
	height: 927px;
}
.mdk-kids-ar-orbit .mdk-kids-ar-sticker {
	height: auto;
}
.mdk-kids-ar-sticker--gifts {
	top: 36px;
	left: -43px;
	width: 200px;
}
.mdk-kids-ar-sticker--badges {
	top: 25px;
	left: 383px;
	width: 228.5px;
}
.mdk-kids-ar-sticker--chest {
	top: 406px;
	left: -25px;
	width: 206px;
}
.mdk-kids-ar-sticker--map {
	top: 402px;
	left: 346px;
	width: 211.5px;
}
/* Left-to-right languages mirror the illustration (tch.css); the stickers are turned back. */
html:not([dir="rtl"]) .mdk-kids-ar-sticker {
	transform: scaleX(-1);
}
.mdk-anim .mdk-kids-ar-sticker {
	animation: mdk-orbit-drift 6s ease-in-out infinite;
}
.mdk-anim .mdk-kids-ar-sticker--badges {
	animation-duration: 7s;
	animation-delay: -2s;
}
.mdk-anim .mdk-kids-ar-sticker--chest {
	animation-duration: 8s;
	animation-delay: -4s;
}
.mdk-anim .mdk-kids-ar-sticker--map {
	animation-duration: 7.5s;
	animation-delay: -5s;
}

/* Features */
.mdk-section.mdk-kids-ar-features {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 56px;
	padding-block: 80px;
	background: linear-gradient(to bottom, rgba(240, 251, 249, 0.5), rgba(248, 244, 255, 0.5) 50%, rgba(240, 251, 249, 0.5));
}
.mdk-section.mdk-kids-ar-features .mdk-head__title {
	color: #183030;
	line-height: 54px;
}
.mdk-section.mdk-kids-ar-features .mdk-hl {
	color: #5e4192;
}
.mdk-section.mdk-kids-ar-features .mdk-head__sub {
	max-width: 680px;
	color: #515d61;
}
.mdk-kids-ar-features__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 304px));
	justify-content: center;
	gap: 24px;
	width: 100%;
}
.mdk-kids-ar-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 36px 24px;
	border: 1px solid #e0f5f4;
	border-radius: 24px;
	background: #fff;
	filter: drop-shadow(0 8px 16px rgba(31, 173, 162, 0.08));
	text-align: center;
}
.mdk-section .mdk-kids-ar-feature .mdk-kids-ar-icon {
	width: 72px;
	height: 72px;
	border-radius: 20px;
}
.mdk-kids-ar-feature .mdk-kids-ar-icon img {
	width: 40px;
	height: 40px;
}
.mdk-section .mdk-kids-ar-feature h3 {
	margin-top: 0;
	color: #111827;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.5;
}
.mdk-section .mdk-kids-ar-feature p {
	margin-top: -8px;
	color: #878c92;
	font-size: 15px;
	line-height: 24px;
}

/* Learning paths: one colour per path */
.mdk-section.mdk-kids-ar-paths {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 56px;
	padding-block: 80px;
	background: #fff;
}
.mdk-section.mdk-kids-ar-paths .mdk-head__title {
	color: #183030;
}
.mdk-section.mdk-kids-ar-paths .mdk-head__sub {
	color: #515d61;
}
.mdk-kids-ar-paths__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 304px));
	justify-content: center;
	gap: 24px;
	width: 100%;
}
.mdk-kids-ar-path {
	--path: #3ebfb3;
	--path-soft: #e6f8f8;
	--path-title: #3ebfb3;
	--path-fade: #63b0b0;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	overflow: hidden;
	padding: 32px 24px;
	border: 1px solid #e3f1f1;
	border-radius: 24px;
	background: linear-gradient(180deg, #fff 71.881%, var(--path-fade) 408.56%);
	box-shadow: 0 8px 24px rgba(35, 74, 75, 0.05);
}
.mdk-kids-ar-path--purple {
	--path: #5e4192;
	--path-soft: #f1ecf8;
	--path-title: #5e4192;
	--path-fade: #b193e7;
}
.mdk-kids-ar-path--yellow {
	--path: #ffd333;
	--path-soft: #fffae6;
	--path-title: #e8b600;
	--path-fade: #ffcc00;
}
.mdk-kids-ar-path--green {
	--path: #34c240;
	--path-soft: #ebfaec;
	--path-title: #2ba135;
	--path-fade: #34c759;
}
.mdk-kids-ar-path::before {
	content: "";
	position: absolute;
	top: 0;
	inset-inline: 0;
	height: 6px;
	background: var(--path);
}
.mdk-section .mdk-kids-ar-path__icon {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	margin: 0;
	border-radius: 18px;
	background: var(--path-soft);
}
.mdk-kids-ar-path__icon img {
	display: block;
	width: 36px;
	height: 36px;
}
.mdk-section .mdk-kids-ar-path__title {
	margin-top: 0;
	color: var(--path-title);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.5;
}
.mdk-section .mdk-kids-ar-path__text {
	color: #878c92;
	font-size: 15px;
	line-height: 24px;
}

/* Two-column sections: text and app screens */
.mdk-section.mdk-kids-ar-method,
.mdk-section.mdk-kids-ar-motivation,
.mdk-section.mdk-kids-ar-teachers {
	position: relative;
	overflow: hidden;
	padding-block: 88px;
}
.mdk-section.mdk-kids-ar-method {
	background: #f9f9f9;
}
.mdk-section.mdk-kids-ar-teachers {
	background: #fff;
}
/* Soft blurred circles from the design: teal at the top start and the bottom end, purple below. */
.mdk-section.mdk-kids-ar-motivation {
	background:
		radial-gradient(circle 516px at 28px 209px, rgba(134, 218, 210, 0.1) 50%, rgba(134, 218, 210, 0) 100%),
		radial-gradient(circle 516px at calc(100% - 37px) 748px, rgba(151, 233, 226, 0.1) 50%, rgba(151, 233, 226, 0) 100%),
		radial-gradient(circle 902px at 364px 1271px, rgba(181, 152, 233, 0.1) 70%, rgba(181, 152, 233, 0) 100%),
		#f9f9f9;
}
.mdk-kids-ar-split {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 100px;
	max-width: 1312px;
}
.mdk-kids-ar-split__text {
	display: flex;
	flex: 0 1 520px;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	min-width: 0;
}
.mdk-section .mdk-kids-ar-split__media {
	flex: none;
	margin: 0;
}
.mdk-kids-ar-split__media img {
	display: block;
	width: 100%;
	height: auto;
}
.mdk-section .mdk-kids-ar-split__media--method {
	width: 354.5px;
}
.mdk-section .mdk-kids-ar-split__media--motivation {
	width: 443.5px;
}
.mdk-section .mdk-kids-ar-split__media--teachers {
	width: 329.5px;
}
.mdk-kids-ar-motivation .mdk-kids-ar-split {
	gap: 52px;
}
.mdk-kids-ar-motivation .mdk-kids-ar-split__text {
	flex-basis: 732px;
}
.mdk-kids-ar-teachers .mdk-kids-ar-split {
	gap: 98px;
}
.mdk-section:is(.mdk-kids-ar-motivation, .mdk-kids-ar-teachers) .mdk-kids-ar-head .mdk-head__sub {
	max-width: 560px;
	font-size: 17px;
	line-height: 28px;
}
.mdk-kids-ar-points {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}
.mdk-kids-ar-point {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 24px;
	border: 1px solid #b89ce9;
	border-radius: 16px;
	background: #fff;
	filter: drop-shadow(0 6px 9px rgba(35, 74, 75, 0.05));
}
.mdk-kids-ar-point__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.mdk-section .mdk-kids-ar-point h3,
.mdk-section .mdk-kids-ar-reward h3 {
	margin-top: 0;
	color: #111827;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}
.mdk-section .mdk-kids-ar-point p,
.mdk-section .mdk-kids-ar-reward p {
	color: #515d61;
	font-size: 15px;
	line-height: 24px;
}
/* Motivation: three reward cards in a row */
.mdk-kids-ar-rewards {
	display: flex;
	gap: 16px;
	width: 100%;
}
.mdk-kids-ar-reward {
	display: flex;
	flex: 0 1 233px;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	min-height: 207px;
	padding: 20px 24px;
	box-sizing: border-box;
	border-radius: 16px;
	background: #fff;
	filter: drop-shadow(0 12px 14px rgba(20, 8, 46, 0.12));
}
.mdk-section .mdk-kids-ar-reward h3 {
	margin-bottom: -16px;
}
/* Teachers: «+300» over the title */
.mdk-section .mdk-kids-ar-teachers .mdk-kids-ar-head .mdk-kids-ar-teachers__title {
	line-height: 61px;
}
.mdk-kids-ar-teachers__count {
	font-size: 48px;
}

/* How to start */
.mdk-section.mdk-kids-ar-steps {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 56px;
	padding-block: 80px;
	border-block: 1px solid #d0f1f1;
	background: #fdfdff;
}
.mdk-kids-ar-steps__list {
	display: flex;
	justify-content: center;
	gap: 60px;
	width: 100%;
}
.mdk-kids-ar-step {
	position: relative;
	display: flex;
	flex: 0 0 188px;
	flex-direction: column;
	min-width: 0;
	align-items: center;
	gap: 16px;
	box-sizing: border-box;
	padding-inline: 8px;
	text-align: center;
}
/* 60px line between two steps, level with the numbers. */
.mdk-kids-ar-step + .mdk-kids-ar-step::before {
	content: "";
	position: absolute;
	top: 32.5px;
	inset-inline-start: -60px;
	width: 60px;
	height: 3px;
	background: #a8dede;
}
.mdk-section .mdk-kids-ar-step__num {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: rgba(94, 65, 146, 0.9);
	color: #fff;
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
}
.mdk-section .mdk-kids-ar-step__text {
	color: #183030;
	white-space: nowrap;
	font-size: 17px;
	font-weight: 600;
	line-height: 26px;
}
.mdk-kids-ar-steps .mdk-kids-ar-cta {
	justify-content: center;
}

/* Pricing: the home pricing block in the kids' purple; one package group, so no tab bar. */
.mdk-section.mdk-kids-ar-pricing {
	background: linear-gradient(to top, #fff 80.45%, #caadff 194%);
}
.mdk-section.mdk-kids-ar-pricing .mdk-eyebrow {
	color: #000;
}
.mdk-section.mdk-kids-ar-pricing .mdk-head__title {
	color: #183030;
	font-size: 36px;
	font-weight: 700;
	line-height: 52px;
	letter-spacing: 0;
}
.mdk-section.mdk-kids-ar-pricing .mdk-head__sub {
	color: #878c92;
	font-size: 17px;
	line-height: 28px;
}
.mdk-kids-ar-pricing .mdk-tabs {
	display: none;
}
.mdk-kids-ar-pricing .mdk-pricing {
	min-height: 0;
}
.mdk-kids-ar-pricing .mdk-pricing__more {
	display: none;
}
.mdk-kids-ar-pricing .mdk-pricing__sidebar {
	border-color: #b5a8cd;
	background: #f6f3ff;
}
.mdk-kids-ar-pricing .mdk-pricing__ornament {
	filter: hue-rotate(95deg) saturate(1.4);
}
.mdk-kids-ar-pricing .mdk-pill {
	min-height: 0;
	padding: 6px 20px;
	border: 0;
	background: #f1ecf8;
	color: #5e4192;
	font-size: 15px;
	font-weight: 700;
	line-height: 28px;
}
.mdk-kids-ar-pricing .mdk-pricing__title {
	color: #563b85;
}
.mdk-kids-ar-pricing .mdk-pricing__text {
	color: #9380b6;
}
.mdk-kids-ar-pricing .mdk-checklist li {
	color: #5e4192;
}
.mdk-kids-ar-pricing .mdk-checklist li::before {
	background-color: #8566ff;
}
.mdk-kids-ar-pricing .mdk-pricing__help a {
	color: #563b85;
}
.mdk-kids-ar-pricing .mdk-package__head {
	background: linear-gradient(to bottom, #e0cfff 50.7%, #fff 71.7%);
}
.mdk-kids-ar-pricing .mdk-package__visual {
	background: #e7d9ff;
}
.mdk-kids-ar-pricing .mdk-package__amount b {
	color: #5e4192;
}
.mdk-kids-ar-pricing .mdk-package__cta {
	border-color: #5e4192;
	background: #5e4192;
}
.mdk-kids-ar-pricing .mdk-package__cta:hover {
	border-color: #4b3376;
	background: #4b3376;
}

/* Free consultation + Fluent Forms form */
.mdk-section.mdk-kids-ar-consult {
	padding-block: 88px;
	background: #fff;
}
.mdk-kids-ar-consult__card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 56px;
	max-width: 1180px;
	padding: 56px;
	box-sizing: border-box;
	border: 1px solid #e6def4;
	border-radius: 32px;
	background: linear-gradient(150.78deg, #f4effb 0%, #f7fbfb 55%, #e8f8f8 100%);
	box-shadow: 0 16px 44px rgba(35, 74, 75, 0.1);
}
.mdk-kids-ar-consult__text {
	display: flex;
	flex: 0 1 380px;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	min-width: 0;
}
.mdk-section .mdk-kids-ar-consult__text .mdk-kids-ar-pill {
	align-self: flex-start;
	padding-inline: 16px;
	font-size: 14px;
}
.mdk-section .mdk-kids-ar-consult__title {
	color: #183030;
	font-size: 34px;
	font-weight: 500;
	line-height: 52px;
}
.mdk-kids-ar-consult__title .mdk-hl {
	font-size: 36px;
	font-weight: 700;
}
.mdk-section .mdk-kids-ar-consult__lead {
	color: #878c92;
	font-size: 17px;
	line-height: 28px;
}
.mdk-kids-ar-consult__form {
	flex: 1 1 0;
	min-width: 0;
	padding: 32px;
	border-radius: 24px;
	background: #fff;
	filter: drop-shadow(0 16px 22px rgba(35, 74, 75, 0.1));
}
.mdk-section .mdk-kids-ar-consult__form form.frm-fluent-form {
	margin-bottom: 0;
}
.mdk-kids-ar-consult .fluentform fieldset {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 16px;
}
/* Two fields a row, phone before name and age before email, as in the design. */
.mdk-kids-ar-consult .fluentform .ff-el-group:has([name="phone"]) {
	order: -4;
}
.mdk-kids-ar-consult .fluentform .ff-el-group:has([name="parent_name"]) {
	order: -3;
}
.mdk-kids-ar-consult .fluentform .ff-el-group:has([name="child_age"]) {
	order: -2;
}
.mdk-kids-ar-consult .fluentform .ff-el-group:has([name="email"]) {
	order: -1;
}
.mdk-kids-ar-consult .fluentform .ff-el-group:has([name="learning_path"]),
.mdk-kids-ar-consult .fluentform .ff-el-group:has([name="notes"]),
.mdk-kids-ar-consult .fluentform .ff_submit_btn_wrapper {
	grid-column: 1 / -1;
	order: 1;
}
.mdk-kids-ar-consult .fluentform .ff_submit_btn_wrapper {
	order: 2;
}
.mdk-kids-ar-consult .fluentform .ff-el-group {
	margin-bottom: 16px;
}
.mdk-kids-ar-consult .fluentform .ff-el-input--label {
	margin-bottom: 6px;
}
.mdk-kids-ar-consult .fluentform .ff-el-input--label label {
	color: #183030;
	font-family: "Cairo", system-ui, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 26px;
}
.mdk-kids-ar-consult .fluentform .ff-el-is-required.asterisk-right label::after {
	color: #d64545;
}
.mdk-kids-ar-consult .fluentform .ff-el-form-control {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	box-sizing: border-box;
	border: 1px solid #d9c4ff;
	border-radius: 10px;
	background-color: #fcfbff;
	color: #111827;
	font-family: "Cairo", system-ui, sans-serif;
	font-size: 15px;
	line-height: 26px;
	box-shadow: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.mdk-kids-ar-consult .fluentform .ff-el-form-control::placeholder {
	color: #8a979b;
}
.mdk-kids-ar-consult .fluentform .ff-el-form-control:focus {
	border-color: #8a68c7;
	outline: none;
	box-shadow: 0 0 0 3px rgba(138, 104, 199, 0.18);
}
.mdk-kids-ar-consult .fluentform select.ff-el-form-control {
	-webkit-appearance: none;
	appearance: none;
	padding-inline-end: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3E%3Cpath d=%27M4 6l4 4 4-4%27 fill=%27none%27 stroke=%27%235E4192%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
	background-position: left 14px center;
	background-repeat: no-repeat;
	background-size: 16px;
	cursor: pointer;
}
html:not([dir="rtl"]) .mdk-kids-ar-consult .fluentform select.ff-el-form-control {
	background-position: right 14px center;
}
.mdk-kids-ar-consult .fluentform textarea.ff-el-form-control {
	min-height: 96px;
	resize: vertical;
}
/* Phone numbers and emails read left to right inside the RTL form. */
.mdk-kids-ar-consult .fluentform input[type="tel"],
.mdk-kids-ar-consult .fluentform input[type="email"] {
	direction: ltr;
	text-align: end;
}
[dir="rtl"] .mdk-kids-ar-consult .fluentform input[type="tel"],
[dir="rtl"] .mdk-kids-ar-consult .fluentform input[type="email"] {
	text-align: right;
}
.mdk-kids-ar-consult .fluentform .ff_submit_btn_wrapper {
	margin-bottom: 0;
	text-align: center;
}
.mdk-kids-ar-consult .fluentform .ff-btn-submit {
	width: 100%;
	min-height: 52px;
	padding: 8px 24px;
	border: 0 !important;
	border-radius: 8px;
	/* !important: Fluent Forms writes the button colour as an inline style. */
	background: #5e4192 !important;
	color: #fff;
	font-family: "Cairo", system-ui, sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 26px;
	cursor: pointer;
	transition: background-color 0.2s;
}
.mdk-kids-ar-consult .fluentform .ff-btn-submit:hover,
.mdk-kids-ar-consult .fluentform .ff-btn-submit:focus-visible {
	background: #4b3376 !important;
}
.mdk-kids-ar-consult .fluentform .ff-el-is-error .ff-el-form-control {
	border-color: #d64545;
}
.mdk-kids-ar-consult .fluentform .error,
.mdk-kids-ar-consult .fluentform .text-danger {
	margin-top: 4px;
	color: #d64545;
	font-size: 13px;
	line-height: 20px;
}
.mdk-kids-ar-consult .ff-message-success {
	padding: 24px;
	border: 1px solid #d9c4ff;
	border-radius: 16px;
	background: #f6f3ff;
	box-shadow: none;
	color: #5e4192;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.7;
	text-align: center;
}

/* FAQ: every answer open, lines between the questions */
.mdk-section.mdk-kids-ar-faq {
	gap: 48px;
	background: #f9f9f9;
}
.mdk-kids-ar-faq.mdk-faq > * {
	max-width: 720px;
}
.mdk-section.mdk-kids-ar-faq .mdk-head__title {
	color: #1a202c;
}
.mdk-section.mdk-kids-ar-faq .mdk-head__sub {
	color: #515d61;
}
.mdk-kids-ar-faq .mdk-faq__item:not(:last-child) {
	border-bottom: 1px solid #e5e7eb;
}
.mdk-kids-ar-faq .mdk-faq__item summary {
	padding: 16px;
	color: #5e4192;
	font-size: 18px;
	line-height: 30px;
}
.mdk-kids-ar-faq .mdk-faq__item summary::after,
.mdk-kids-ar-faq .mdk-faq__item[open] summary::after {
	width: 16px;
	height: 16px;
	background: url(../../img/kids-ar/ic-chevron.svg) center / contain no-repeat;
}
.mdk-section .mdk-kids-ar-faq .mdk-faq__item p {
	padding: 0 16px 16px;
	color: #515d61;
	font-size: 15px;
	line-height: 25px;
}

/* Closing call to action */
.mdk-section.mdk-kids-ar-closing {
	padding-block: 42px 72px;
	background: #f9f9f9;
}
.mdk-kids-ar-closing__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	overflow: hidden;
	max-width: 1180px;
	padding: 72px 48px;
	box-sizing: border-box;
	border-radius: 32px;
	background: linear-gradient(153.72deg, #5e4192 7.7%, #4b5aa5 51.7%, #1fada2 92.3%);
	text-align: center;
}
.mdk-kids-ar-closing__card::before,
.mdk-kids-ar-closing__card::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	pointer-events: none;
}
.mdk-kids-ar-closing__card::before {
	top: -80px;
	right: -60px;
	width: 240px;
	height: 240px;
}
.mdk-kids-ar-closing__card::after {
	top: 120px;
	left: -40px;
	width: 300px;
	height: 300px;
}
.mdk-section .mdk-kids-ar-closing__title {
	position: relative;
	color: #fff;
	font-size: 40px;
	font-weight: 700;
	line-height: 58px;
}
.mdk-section .mdk-kids-ar-closing__text {
	position: relative;
	max-width: 580px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 18px;
	line-height: 30px;
}
.mdk-section.mdk-kids-ar-closing .mdk-kids-ar-cta {
	position: relative;
	justify-content: center;
	padding-top: 12px;
}
.mdk-section.mdk-kids-ar-closing .mdk-kids-ar-cta a.mdk-btn {
	min-width: 0;
	padding: 14px 40px;
	border: 2px solid #fff;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 14px rgba(20, 8, 46, 0.25);
	color: #5e4192;
	font-size: 18px;
}
.mdk-section.mdk-kids-ar-closing .mdk-kids-ar-cta a.mdk-btn:hover {
	border-color: #f1ecf8;
	background: #f1ecf8;
	color: #5e4192;
}

/* Laptops */
@media (max-width: 1280px) {
	.mdk-kids-ar-split,
	.mdk-kids-ar-teachers .mdk-kids-ar-split {
		gap: 64px;
	}
	.mdk-kids-ar-motivation .mdk-kids-ar-split {
		gap: 40px;
	}
	.mdk-section .mdk-kids-ar-split__media--motivation {
		width: 380px;
	}
	.mdk-kids-ar-features__grid,
	.mdk-kids-ar-paths__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* The five steps need 1180px in a row; below that they wrap without the joining lines. */
@media (max-width: 1240px) {
	.mdk-kids-ar-steps__list {
		flex-wrap: wrap;
		gap: 32px 24px;
	}
	.mdk-kids-ar-step + .mdk-kids-ar-step::before {
		display: none;
	}
	.mdk-section .mdk-kids-ar-step__text {
		white-space: normal;
	}
}

/* Tablets: the hero illustration moves under the text (tch.css). */
@media (max-width: 1100px) {
	.mdk-kids-ar-hero .mdk-tch-hero__text {
		flex-basis: auto;
	}
	.mdk-section.mdk-kids-ar-hero {
		padding-block: 40px 24px;
	}
	.mdk-kids-ar-features__grid,
	.mdk-kids-ar-paths__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 720px;
	}
	.mdk-kids-ar-split,
	.mdk-kids-ar-motivation .mdk-kids-ar-split,
	.mdk-kids-ar-teachers .mdk-kids-ar-split {
		gap: 40px;
	}
	.mdk-section .mdk-kids-ar-split__media--method,
	.mdk-section .mdk-kids-ar-split__media--teachers {
		width: 300px;
	}
	.mdk-section .mdk-kids-ar-split__media--motivation {
		width: 320px;
	}
	.mdk-kids-ar-rewards {
		flex-wrap: wrap;
	}
	.mdk-kids-ar-reward {
		flex: 1 1 200px;
		min-height: 0;
	}
	.mdk-kids-ar-consult__card {
		gap: 32px;
		padding: 40px 32px;
	}
}

/* Phones: one column; text before the app screens and before the form. */
@media (max-width: 860px) {
	.mdk-section .mdk-kids-ar-head .mdk-head__title,
	.mdk-section.mdk-kids-ar-pricing .mdk-head__title {
		font-size: 26px;
		line-height: 40px;
	}
	.mdk-section .mdk-kids-ar-head .mdk-head__sub,
	.mdk-section:is(.mdk-kids-ar-motivation, .mdk-kids-ar-teachers) .mdk-kids-ar-head .mdk-head__sub,
	.mdk-section.mdk-kids-ar-pricing .mdk-head__sub {
		font-size: 16px;
		line-height: 1.7;
	}
	.mdk-section .mdk-kids-ar-teachers .mdk-kids-ar-head .mdk-kids-ar-teachers__title {
		line-height: 44px;
	}
	.mdk-kids-ar-teachers__count {
		font-size: 38px;
	}
	.mdk-section .mdk-kids-ar-cta {
		align-self: stretch;
	}
	.mdk-section .mdk-kids-ar-cta a.mdk-btn {
		width: 100%;
	}
	.mdk-kids-ar-hero .mdk-join-hero__title {
		line-height: 1.5;
	}
	.mdk-kids-ar-hero .mdk-tch-hero__lead {
		line-height: 1.75;
	}
	.mdk-section.mdk-kids-ar-features,
	.mdk-section.mdk-kids-ar-paths,
	.mdk-section.mdk-kids-ar-steps {
		gap: 32px;
		padding-block: 56px;
	}
	.mdk-kids-ar-features__grid,
	.mdk-kids-ar-paths__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
	.mdk-kids-ar-feature {
		padding: 28px 20px;
	}
	.mdk-section .mdk-kids-ar-path__title {
		font-size: 22px;
	}
	.mdk-section.mdk-kids-ar-method,
	.mdk-section.mdk-kids-ar-motivation,
	.mdk-section.mdk-kids-ar-teachers,
	.mdk-section.mdk-kids-ar-consult {
		padding-block: 56px;
	}
	.mdk-kids-ar-split,
	.mdk-kids-ar-motivation .mdk-kids-ar-split,
	.mdk-kids-ar-teachers .mdk-kids-ar-split {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
	}
	.mdk-kids-ar-split__text,
	.mdk-kids-ar-motivation .mdk-kids-ar-split__text {
		flex-basis: auto;
	}
	.mdk-section .mdk-kids-ar-split__media {
		order: 1;
		align-self: center;
		max-width: 100%;
	}
	.mdk-section .mdk-kids-ar-split__media--method,
	.mdk-section .mdk-kids-ar-split__media--teachers {
		width: 260px;
	}
	.mdk-section .mdk-kids-ar-split__media--motivation {
		width: 300px;
	}
	.mdk-kids-ar-point {
		gap: 16px;
		padding: 16px;
	}
	.mdk-kids-ar-rewards {
		flex-direction: column;
	}
	.mdk-kids-ar-reward {
		flex: none;
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
		column-gap: 16px;
		row-gap: 4px;
		padding: 16px;
	}
	.mdk-section .mdk-kids-ar-reward h3 {
		flex: 1 1 0;
		margin-bottom: 0;
	}
	.mdk-section .mdk-kids-ar-reward p {
		flex-basis: 100%;
		padding-inline-start: 76px;
		margin-top: -28px;
	}
	.mdk-kids-ar-steps__list {
		flex-direction: column;
		align-items: stretch;
		row-gap: 28px;
		max-width: 420px;
	}
	.mdk-kids-ar-step {
		flex: none;
		flex-direction: row;
		gap: 16px;
		padding-inline: 0;
		text-align: start;
	}
	.mdk-kids-ar-step + .mdk-kids-ar-step::before {
		display: block;
		top: -28px;
		inset-inline-start: 26.5px;
		width: 3px;
		height: 28px;
	}
	.mdk-section .mdk-kids-ar-step__num {
		flex: none;
		width: 56px;
		height: 56px;
		font-size: 24px;
	}
	.mdk-section .mdk-kids-ar-step__text {
		font-size: 16px;
	}
	.mdk-kids-ar-consult__card {
		flex-direction: column;
		align-items: stretch;
		padding: 28px 16px 16px;
		border-radius: 24px;
	}
	.mdk-kids-ar-consult__text,
	.mdk-kids-ar-consult__form {
		flex-basis: auto;
	}
	.mdk-kids-ar-consult__form {
		order: 1;
		padding: 20px 16px;
		border-radius: 18px;
	}
	.mdk-section .mdk-kids-ar-consult__title {
		font-size: 26px;
		line-height: 40px;
	}
	.mdk-kids-ar-consult__title .mdk-hl {
		font-size: 28px;
	}
	.mdk-section .mdk-kids-ar-consult__lead {
		font-size: 16px;
	}
	/* One column: the form keeps its own order. */
	.mdk-kids-ar-consult .fluentform fieldset {
		grid-template-columns: minmax(0, 1fr);
	}
	.mdk-kids-ar-consult .fluentform .ff-el-group:is(:has([name="phone"]), :has([name="parent_name"]), :has([name="child_age"]), :has([name="email"])) {
		order: 0;
	}
	.mdk-section.mdk-kids-ar-faq .mdk-head__title {
		font-size: 28px;
		line-height: 40px;
	}
	.mdk-kids-ar-faq .mdk-faq__item summary {
		padding: 14px 8px;
		font-size: 16px;
		line-height: 26px;
	}
	.mdk-section .mdk-kids-ar-faq .mdk-faq__item p {
		padding: 0 8px 14px;
	}
	.mdk-section.mdk-kids-ar-closing {
		padding-block: 24px 56px;
	}
	.mdk-kids-ar-closing__card {
		padding: 48px 20px;
		border-radius: 24px;
	}
	.mdk-section .mdk-kids-ar-closing__title {
		font-size: 26px;
		line-height: 40px;
	}
	.mdk-section .mdk-kids-ar-closing__text {
		font-size: 16px;
		line-height: 1.7;
	}
}

/* Left-to-right languages: phone numbers and emails line up with the other fields. */
html:not([dir="rtl"]) .mdk-kids-ar-consult .fluentform input[type="tel"],
html:not([dir="rtl"]) .mdk-kids-ar-consult .fluentform input[type="email"] {
	text-align: left;
}
