/* /services/site/ — разработка сайтов
   Prefix: mkl-ws
*/

body.mkl-page--site .creatium-migr-header-wrap img,
body.mkl-page--site .creatium-migr-footer-wrap img,
body.mkl-page--site .creatium-page-body .mkl-section[class*="mkl-ws-"] img.emoji,
body.mkl-page--site .creatium-page-body .mkl-section[class*="mkl-ws-"] img.wp-smiley {
	width: 1.1em !important;
	height: 1.1em !important;
	max-width: none !important;
	min-width: 0 !important;
	min-height: 0 !important;
	display: inline !important;
	vertical-align: -0.12em;
	margin: 0 0.05em 0 0;
	object-fit: contain;
}

body.mkl-page--site .creatium-page-body img.mkl-ws-media {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	display: block;
}

:root {
	--ws-bg: #d7aff8;
	--ws-bg-soft: #e8d8fb;
	--ws-cream: #f7f4ef;
	--ws-ink: #231971;
	--ws-text: #2a2742;
	--ws-muted: #4b4768;
	--ws-accent: #6451e6;
	--ws-dark: #100943;
	--ws-white: #fff;
	--ws-note: #fff6c8;
	--ws-radius: 14px;
}

.mkl-section[class*="mkl-ws-"].node > .wrapper1 {
	background-color: var(--ws-bg);
}

/* Integrations: full-bleed white so scheme reads clearly */
.mkl-section.mkl-ws-integ.node > .wrapper1 {
	background-color: #fff;
}

.mkl-section.mkl-ws-integ.node > .wrapper1 > .wrapper2 {
	background: transparent;
}

.mkl-section.mkl-ws-hero.node > .padding_top,
.mkl-section.mkl-ws-hero.node > .padding_bottom {
	padding-top: 0;
	padding-bottom: 0;
	height: 0;
	min-height: 0;
	overflow: hidden;
}

.mkl-section.mkl-ws-why.node > .padding_top,
.mkl-section.mkl-ws-process.node > .padding_top,
.mkl-section.mkl-ws-cms.node > .padding_top,
.mkl-section.mkl-ws-integ.node > .padding_top,
.mkl-section.mkl-ws-results.node > .padding_top,
.mkl-section.mkl-ws-pricing.node > .padding_top,
.mkl-section.mkl-ws-faq.node > .padding_top,
.mkl-section.mkl-ws-cta.node > .padding_top {
	padding-top: 40px;
}

.mkl-section.mkl-ws-why.node > .padding_bottom,
.mkl-section.mkl-ws-process.node > .padding_bottom,
.mkl-section.mkl-ws-cms.node > .padding_bottom,
.mkl-section.mkl-ws-integ.node > .padding_bottom,
.mkl-section.mkl-ws-results.node > .padding_bottom,
.mkl-section.mkl-ws-pricing.node > .padding_bottom,
.mkl-section.mkl-ws-faq.node > .padding_bottom,
.mkl-section.mkl-ws-cta.node > .padding_bottom {
	padding-bottom: 40px;
}

.mkl-ws-heading {
	margin: 0 0 1rem;
	font-family: "TTNorms Medium", sans-serif;
	font-size: clamp(28px, 3.2vw, 40px);
	line-height: 1.22;
	color: var(--ws-ink);
	text-align: left;
}

.mkl-ws-heading--hero {
	font-size: clamp(30px, 3.6vw, 44px);
}

.mkl-ws-heading--center {
	text-align: center;
}

.mkl-ws-lead {
	margin: 0 0 1.5rem;
	max-width: 780px;
	font-family: "TTNorms Regular", sans-serif;
	font-size: 17px;
	line-height: 1.7;
	color: var(--ws-text);
}

.mkl-ws-lead--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.mkl-ws-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 22px;
	border-radius: 8px;
	border: 2px solid transparent;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 17px;
	line-height: 1.25;
	text-decoration: none !important;
	cursor: pointer;
	box-sizing: border-box;
	transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.mkl-ws-btn:hover {
	transform: translateY(-1px);
}

.mkl-ws-btn--primary {
	background: var(--ws-accent);
	color: var(--ws-white);
}

.mkl-ws-btn--outline {
	background: transparent;
	border-color: var(--ws-ink);
	color: var(--ws-ink);
}

.mkl-ws-btn--outline:hover {
	background: var(--ws-accent);
	border-color: var(--ws-accent);
	color: var(--ws-white);
}

.mkl-ws-btn--light {
	background: var(--ws-white);
	color: var(--ws-ink);
}

.mkl-ws-badge {
	display: inline-block;
	margin: 0 0 12px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid rgba(35, 25, 113, 0.12);
	font-family: "TTNorms Medium", sans-serif;
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--ws-ink);
}

/* HERO */
.mkl-ws-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 36px;
	align-items: center;
}

.mkl-ws-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(28px, 4vw, 56px) 0;
}

.mkl-ws-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
}

.mkl-ws-hero__stats {
	width: 100%;
	max-width: 560px;
	border: 1px solid rgba(35, 25, 113, 0.18);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.35);
	overflow: hidden;
}

.mkl-ws-hero__stat {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 12px 16px;
	border-bottom: 1px solid rgba(35, 25, 113, 0.12);
}

.mkl-ws-hero__stat:last-child {
	border-bottom: 0;
}

.mkl-ws-hero__stat strong {
	display: block;
	color: var(--ws-ink);
	font-family: "TTNorms Medium", sans-serif;
}

.mkl-ws-hero__stat span {
	display: block;
	font-size: 14px;
	color: var(--ws-muted);
}

.mkl-ws-hero__check {
	color: var(--ws-accent);
	font-weight: 700;
}

.mkl-ws-hero__media {
	min-width: 0;
	padding: clamp(20px, 3vw, 40px) 0;
}

.mkl-ws-hero__media img {
	max-width: min(100%, 520px) !important;
	margin: 0 auto;
	border-radius: 18px;
}

/* WHY */
.mkl-ws-why__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 8px 0 24px;
}

.mkl-ws-why__stat {
	padding: 18px 16px;
	background: rgba(255, 255, 255, 0.45);
	border-radius: 14px;
}

.mkl-ws-why__stat strong {
	display: block;
	font-size: clamp(28px, 3vw, 36px);
	color: var(--ws-ink);
	line-height: 1.1;
}

.mkl-ws-why__stat > span {
	display: block;
	margin: 6px 0 8px;
	font-family: "TTNorms Medium", sans-serif;
	color: var(--ws-accent);
}

.mkl-ws-why__stat p {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--ws-muted);
}

.mkl-ws-table-wrap {
	overflow-x: auto;
	margin: 0 0 20px;
	border-radius: 12px;
}

.mkl-ws-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	background: rgba(255, 255, 255, 0.55);
}

.mkl-ws-table th,
.mkl-ws-table td {
	padding: 12px 14px;
	border-bottom: 1px solid rgba(35, 25, 113, 0.12);
	text-align: left;
	vertical-align: top;
	font-size: 15px;
	line-height: 1.45;
	color: var(--ws-text);
}

.mkl-ws-table thead th {
	background: var(--ws-ink);
	color: var(--ws-white);
	font-family: "TTNorms Medium", sans-serif;
	border-bottom: 0;
}

.mkl-ws-table tbody tr:last-child td {
	border-bottom: 0;
}

.mkl-ws-quote {
	margin: 0;
	padding: 18px 20px;
	border-left: 4px solid var(--ws-accent);
	background: rgba(255, 255, 255, 0.4);
	border-radius: 0 12px 12px 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--ws-ink);
}

.mkl-ws-note {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 16px 0 20px;
	padding: 16px 18px;
	background: var(--ws-note);
	border-radius: 12px;
	border: 1px solid rgba(180, 140, 20, 0.25);
}

.mkl-ws-note p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ws-text);
}

/* PROCESS / TYPES */
.mkl-ws-types {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 8px 0 28px;
}

.mkl-ws-types__card {
	padding: 0;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 14px;
}

.mkl-ws-types__img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	max-height: none !important;
	object-fit: cover;
	aspect-ratio: 16 / 10;
	margin: 0 !important;
	border-radius: 0 !important;
	display: block;
	background: var(--ws-cream);
}

.mkl-ws-types__body {
	padding: 14px 16px 16px;
}

.mkl-ws-types__card h3 {
	margin: 0 0 8px;
	font-size: 17px;
	color: var(--ws-ink);
}

.mkl-ws-types__card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ws-text);
}

.mkl-ws-process__sub {
	margin: 0 0 28px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 22px;
	color: var(--ws-ink);
	text-align: center;
}

/* Vertical timeline: center spine + alternating cards */
.mkl-ws-vline {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	position: relative;
	max-width: 920px;
}

.mkl-ws-vline::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 8px;
	bottom: 8px;
	width: 3px;
	margin-left: -1.5px;
	background: rgba(35, 25, 113, 0.28);
	border-radius: 2px;
}

.mkl-ws-vline__item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
	gap: 0 12px;
	align-items: center;
	margin-bottom: 22px;
}

.mkl-ws-vline__item:last-child {
	margin-bottom: 0;
}

.mkl-ws-vline__num {
	grid-column: 2;
	grid-row: 1;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--ws-ink);
	color: var(--ws-white);
	font-family: "TTNorms Medium", sans-serif;
	font-size: 18px;
	box-shadow: 0 0 0 6px var(--ws-bg);
}

.mkl-ws-vline__card {
	padding: 16px 18px;
	background: rgba(255, 255, 255, 0.62);
	border: 1px solid rgba(35, 25, 113, 0.1);
	border-radius: 14px;
	position: relative;
}

.mkl-ws-vline__card::before {
	content: "";
	position: absolute;
	top: 50%;
	width: 18px;
	height: 2px;
	background: rgba(35, 25, 113, 0.35);
	transform: translateY(-50%);
}

.mkl-ws-vline__item:nth-child(odd) .mkl-ws-vline__card {
	grid-column: 1;
	grid-row: 1;
	text-align: right;
}

.mkl-ws-vline__item:nth-child(odd) .mkl-ws-vline__card::before {
	right: -18px;
}

.mkl-ws-vline__item:nth-child(even) .mkl-ws-vline__card {
	grid-column: 3;
	grid-row: 1;
	text-align: left;
}

.mkl-ws-vline__item:nth-child(even) .mkl-ws-vline__card::before {
	left: -18px;
}

.mkl-ws-vline__card h4 {
	margin: 0 0 4px;
	font-size: 17px;
	color: var(--ws-ink);
}

.mkl-ws-vline__card p {
	margin: 0;
	font-size: 15px;
	color: var(--ws-muted);
}

/* INTEGRATIONS — scheme + labels at connector tips (desktop overlay) */
.mkl-ws-integ__scheme {
	position: relative;
	margin: 12px auto 32px;
	max-width: min(100%, 920px);
}

.mkl-ws-integ__scheme-media {
	position: relative;
	width: 100%;
	max-width: 780px;
	margin: 0 auto;
}

.mkl-ws-integ__scheme-stage {
	position: relative;
	width: 100%;
}

.mkl-ws-integ__scheme-img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	border-radius: 0;
}

.mkl-ws-integ__scheme-center {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	margin: 0;
	padding: 0 8px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: clamp(16px, 2.1vw, 24px);
	line-height: 1.15;
	letter-spacing: 0.01em;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	pointer-events: none;
	text-shadow: 0 1px 8px rgba(16, 9, 67, 0.35);
}

.mkl-ws-integ__label {
	position: absolute;
	z-index: 3;
	box-sizing: border-box;
	width: max-content;
	max-width: min(190px, 26%);
	padding: 0;
	background: none;
	border-radius: 0;
	box-shadow: none;
	transform: translateY(-50%);
}

.mkl-ws-integ__label--tl {
	top: 30%;
	left: 2%;
	text-align: left;
}

.mkl-ws-integ__label--tr {
	top: 30%;
	right: 2%;
	text-align: left;
}

.mkl-ws-integ__label--bl {
	top: 74%;
	left: 2%;
	text-align: left;
}

.mkl-ws-integ__label--br {
	top: 74%;
	right: 2%;
	text-align: left;
}

.mkl-ws-integ__label strong {
	display: block;
	margin-bottom: 2px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: clamp(16px, 1.5vw, 20px);
	line-height: 1.2;
	color: var(--ws-ink);
}

.mkl-ws-integ__label p {
	margin: 0;
	font-size: clamp(12px, 1.1vw, 14px);
	line-height: 1.35;
	color: var(--ws-muted);
}

.mkl-ws-integ__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.mkl-ws-integ__card {
	padding: 18px 18px 16px;
	background: rgba(215, 175, 248, 0.16);
	border: 1px solid rgba(35, 25, 113, 0.08);
	border-radius: 14px;
}

.mkl-ws-integ__card h3 {
	margin: 0 0 10px;
	font-size: 18px;
	color: var(--ws-ink);
}

.mkl-ws-integ__card p {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ws-text);
}

.mkl-ws-integ__for {
	margin-top: 8px !important;
	font-size: 13px !important;
	color: var(--ws-muted) !important;
}

/* RESULTS */
.mkl-ws-results__media {
	margin: 0 0 20px;
}

.mkl-ws-results__media img {
	border-radius: 16px;
	max-height: 360px;
	object-fit: cover;
	object-position: center;
}

.mkl-ws-results__bars {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 8px 0 24px;
}

.mkl-ws-results__bar strong {
	display: block;
	font-size: 28px;
	color: var(--ws-ink);
	margin-bottom: 8px;
}

.mkl-ws-results__track {
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.55);
	overflow: hidden;
	margin-bottom: 8px;
}

.mkl-ws-results__track span {
	display: block;
	height: 100%;
	background: var(--ws-ink);
	border-radius: 999px;
}

.mkl-ws-results__bar p {
	margin: 0;
	font-size: 14px;
	color: var(--ws-muted);
}

.mkl-ws-cases {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 22px;
}

.mkl-ws-cases__card {
	display: flex;
	flex-direction: column;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(35, 25, 113, 0.08);
	border-radius: 16px;
	overflow: hidden;
}

.mkl-ws-cases__card header {
	padding: 14px 18px;
	background: rgba(100, 81, 230, 0.16);
	font-family: "TTNorms Medium", sans-serif;
	font-size: 14px;
	letter-spacing: 0.05em;
	color: var(--ws-ink);
}

.mkl-ws-cases__body {
	padding: 16px 18px 18px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.mkl-ws-cases__body > p {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ws-text);
}

.mkl-ws-cases__body > p strong {
	color: var(--ws-ink);
	font-family: "TTNorms Medium", sans-serif;
}

.mkl-ws-cases__metrics {
	list-style: none;
	margin: auto 0 0;
	padding: 12px 0 0;
	border-top: 1px solid rgba(35, 25, 113, 0.1);
	display: grid;
	gap: 10px;
}

.mkl-ws-cases__metrics li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(100, 81, 230, 0.08);
	font-size: 15px;
	line-height: 1.4;
	color: var(--ws-ink);
	font-family: "TTNorms Medium", sans-serif;
}

.mkl-ws-cases__metrics li > span:first-child {
	flex-shrink: 0;
	line-height: 1.2;
}

/* PRICING extras */
.mkl-ws-pricing__extras {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 8px;
}

.mkl-ws-pricing__extra {
	padding: 16px;
	background: rgba(255, 255, 255, 0.45);
	border-radius: 12px;
}

.mkl-ws-pricing__extra strong {
	display: block;
	margin-bottom: 6px;
	color: var(--ws-ink);
}

.mkl-ws-pricing__extra p {
	margin: 0;
	font-size: 14px;
	color: var(--ws-muted);
}

/* FAQ — like avtoshkoly cards */
.mkl-ws-faq__wrap {
	padding: 8px 0 12px;
}

.mkl-ws-faq__list {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.mkl-ws-faq__item {
	padding: 18px 20px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.58);
	border: 1px solid rgba(35, 25, 113, 0.06);
}

.mkl-ws-faq__item h3 {
	margin: 0 0 8px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 18px;
	color: var(--ws-ink);
}

.mkl-ws-faq__item p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ws-text);
}

/* CTA — like avtoshkoly (form + side) */
.mkl-ws-cta__wrap {
	padding: 8px 0 12px;
}

.mkl-ws-cta__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 24px;
	align-items: start;
	margin-top: 8px;
}

.mkl-ws-cta__form-card {
	padding: 28px 24px;
	background: var(--ws-accent);
	border-radius: 18px;
	color: var(--ws-white);
}

.mkl-ws-cta__form-card h3 {
	margin: 0 0 6px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 24px;
	color: var(--ws-white);
}

.mkl-ws-cta__form-lead {
	margin: 0 0 18px;
	font-size: 16px;
	opacity: 0.92;
}

.mkl-ws-cta__field {
	margin-bottom: 12px;
}

.mkl-ws-cta__field label {
	display: block;
	margin-bottom: 6px;
	font-size: 16px;
}

.mkl-ws-cta__field input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 8px;
	background: transparent;
	color: var(--ws-white);
	font-size: 16px;
	box-sizing: border-box;
}

.mkl-ws-cta__field input::placeholder {
	color: rgba(255, 255, 255, 0.65);
}

.mkl-ws-cta__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 4px 0 12px;
	font-size: 15px;
	line-height: 1.45;
	cursor: pointer;
}

.mkl-ws-cta__consent input {
	margin-top: 3px;
	flex-shrink: 0;
	accent-color: var(--ws-white);
}

.mkl-ws-cta__consent a {
	color: inherit;
	text-decoration: underline;
}

.mkl-ws-cta__form .mkl-ws-btn {
	width: 100%;
	margin-top: 8px;
}

.mkl-ws-cta__success {
	margin-top: 12px;
	padding: 14px;
	background: rgba(255, 255, 255, 0.18);
	border-radius: 8px;
}

.mkl-ws-cta__trust {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 16px;
}

.mkl-ws-cta__trust span {
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	font-size: 15px;
	text-align: center;
}

.mkl-ws-cta__trust-wide {
	grid-column: 1 / -1;
}

.mkl-ws-cta__side-title {
	margin: 0 0 12px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 18px;
	color: var(--ws-ink);
}

.mkl-ws-cta__side-list {
	margin: 0 0 22px;
	padding: 16px 18px 16px 34px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.45);
	border: 1px solid rgba(35, 25, 113, 0.12);
	font-size: 15px;
	line-height: 1.55;
	color: var(--ws-text);
}

.mkl-ws-cta__side-list li + li {
	margin-top: 6px;
}

.mkl-ws-cta__contacts {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mkl-ws-cta__contacts li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 0;
	border-top: 1px solid rgba(35, 25, 113, 0.15);
}

.mkl-ws-cta__contacts li:last-child {
	border-bottom: 1px solid rgba(35, 25, 113, 0.15);
}

.mkl-ws-cta__contacts li > div {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.mkl-ws-cta__contacts strong {
	display: block;
	margin: 0;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 16px;
	color: var(--ws-ink);
}

.mkl-ws-cta__contacts a,
.mkl-ws-cta__contacts span {
	display: block;
	font-size: 16px;
	line-height: 1.4;
	color: var(--ws-text);
	text-decoration: none;
}

.mkl-ws-cta__contacts a:hover {
	color: var(--ws-accent);
}

body.mkl-page--site .creatium-page-body .mkl-ws-cta__contacts img {
	width: 24px !important;
	height: 24px !important;
	max-width: 24px !important;
	display: block !important;
}

@media (max-width: 980px) {
	.mkl-ws-hero__layout,
	.mkl-ws-types,
	.mkl-ws-cases,
	.mkl-ws-cta__layout,
	.mkl-ws-why__stats,
	.mkl-ws-integ__grid,
	.mkl-ws-results__bars,
	.mkl-ws-pricing__extras {
		grid-template-columns: 1fr;
	}

	.mkl-ws-vline::before {
		left: 24px;
		margin-left: 0;
	}

	.mkl-ws-vline__item {
		grid-template-columns: 48px minmax(0, 1fr);
		gap: 0 14px;
	}

	.mkl-ws-vline__num {
		grid-column: 1;
	}

	.mkl-ws-vline__item:nth-child(odd) .mkl-ws-vline__card,
	.mkl-ws-vline__item:nth-child(even) .mkl-ws-vline__card {
		grid-column: 2;
		text-align: left;
	}

	.mkl-ws-vline__item:nth-child(odd) .mkl-ws-vline__card::before,
	.mkl-ws-vline__item:nth-child(even) .mkl-ws-vline__card::before {
		left: -14px;
		right: auto;
		width: 14px;
	}

	.mkl-ws-heading--center,
	.mkl-ws-lead--center {
		text-align: left;
		margin-left: 0;
		margin-right: 0;
	}

	.mkl-ws-hero__media {
		order: -1;
	}

	.mkl-ws-types {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Tablet / narrow desktop: keep overlay, tighten type so it still fits */
@media (max-width: 1100px) and (min-width: 981px) {
	.mkl-ws-integ__scheme-media {
		max-width: 700px;
	}

	.mkl-ws-integ__label {
		max-width: min(160px, 24%);
	}

	.mkl-ws-integ__label strong {
		font-size: 15px;
	}

	.mkl-ws-integ__label p {
		font-size: 12px;
	}

	.mkl-ws-integ__scheme-center {
		font-size: clamp(15px, 1.8vw, 20px);
	}
}

/*
 * ≤980: absolute overlay breaks — scheme on top, labels in 2×2 under it.
 * Positions still map tl/tr/bl/br so order matches the diagram.
 */
@media (max-width: 980px) {
	.mkl-ws-integ__scheme {
		max-width: 640px;
	}

	.mkl-ws-integ__scheme-media {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"stage stage"
			"tl tr"
			"bl br";
		gap: 14px 18px;
		max-width: 560px;
	}

	.mkl-ws-integ__scheme-stage {
		grid-area: stage;
	}

	.mkl-ws-integ__label {
		position: static;
		transform: none;
		width: 100%;
		max-width: none;
		padding: 10px 12px;
		background: rgba(215, 175, 248, 0.14);
		border: 1px solid rgba(35, 25, 113, 0.08);
		border-radius: 12px;
	}

	.mkl-ws-integ__label--tl { grid-area: tl; top: auto; left: auto; right: auto; text-align: left; }
	.mkl-ws-integ__label--tr { grid-area: tr; top: auto; left: auto; right: auto; text-align: left; }
	.mkl-ws-integ__label--bl { grid-area: bl; top: auto; left: auto; right: auto; text-align: left; }
	.mkl-ws-integ__label--br { grid-area: br; top: auto; left: auto; right: auto; text-align: left; }

	.mkl-ws-integ__label strong {
		font-size: 16px;
	}

	.mkl-ws-integ__label p {
		font-size: 13px;
	}

	.mkl-ws-integ__scheme-center {
		font-size: clamp(14px, 4.2vw, 20px);
	}
}

@media (max-width: 560px) {
	.mkl-ws-types {
		grid-template-columns: 1fr;
	}

	.mkl-ws-btn {
		width: 100%;
	}

	.mkl-ws-integ__scheme-media {
		grid-template-columns: 1fr;
		grid-template-areas:
			"stage"
			"tl"
			"tr"
			"bl"
			"br";
		gap: 10px;
		max-width: none;
	}

	.mkl-ws-integ__scheme {
		max-width: none;
	}

	.mkl-ws-integ__label {
		padding: 12px 14px;
	}
}
