/* Продвижение сайтов в Яндекс — page styles
   Prefix: mkl-ynd
   Body: mkl-page--prodvizhenie-sajtov-v-yandeks
*/

body.mkl-page--prodvizhenie-sajtov-v-yandeks .creatium-migr-header-wrap img,
body.mkl-page--prodvizhenie-sajtov-v-yandeks .creatium-migr-footer-wrap img,
body.mkl-page--prodvizhenie-sajtov-v-yandeks .creatium-page-body .mkl-section[class*="mkl-ynd-"] img.emoji,
body.mkl-page--prodvizhenie-sajtov-v-yandeks .creatium-page-body .mkl-section[class*="mkl-ynd-"] 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--prodvizhenie-sajtov-v-yandeks .creatium-page-body .mkl-section[class*="mkl-ynd-"] img {
	height: auto;
	max-width: 100%;
}

body.mkl-page--prodvizhenie-sajtov-v-yandeks .creatium-page-body .mkl-ynd-cta__contacts img {
	width: 24px !important;
	height: 24px !important;
	max-width: 24px !important;
	flex-shrink: 0;
	filter: brightness(0) invert(1);
}

:root {
	--ynd-bg: #d7aff8;
	--ynd-bg-soft: #e8d8fb;
	--ynd-ink: #231971;
	--ynd-text: #2a2742;
	--ynd-muted: #5a5670;
	--ynd-accent: #6451e6;
	--ynd-dark: #100943;
	--ynd-yellow: #fff3b0;
	--ynd-white: #fff;
}

.mkl-section[class*="mkl-ynd-"] {
	color: var(--ynd-text);
}

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

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

.mkl-section.mkl-ynd-eco.node > .padding_top,
.mkl-section.mkl-ynd-directions.node > .padding_top,
.mkl-section.mkl-ynd-stages.node > .padding_top,
.mkl-section.mkl-ynd-expertise.node > .padding_top,
.mkl-section.mkl-ynd-cases.node > .padding_top,
.mkl-section.mkl-ynd-pricing.node > .padding_top,
.mkl-section.mkl-ynd-faq.node > .padding_top,
.mkl-section.mkl-ynd-cta.node > .padding_top {
	padding-top: 40px;
}

.mkl-section.mkl-ynd-eco.node > .padding_bottom,
.mkl-section.mkl-ynd-directions.node > .padding_bottom,
.mkl-section.mkl-ynd-stages.node > .padding_bottom,
.mkl-section.mkl-ynd-expertise.node > .padding_bottom,
.mkl-section.mkl-ynd-cases.node > .padding_bottom,
.mkl-section.mkl-ynd-pricing.node > .padding_bottom,
.mkl-section.mkl-ynd-faq.node > .padding_bottom,
.mkl-section.mkl-ynd-cta.node > .padding_bottom {
	padding-bottom: 40px;
}

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

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

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

.mkl-ynd-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: 18px;
	line-height: 1.25;
	text-decoration: none !important;
	cursor: pointer;
	box-sizing: border-box;
	transition: transform .15s ease, background .15s ease, color .15s ease;
}

.mkl-ynd-btn--primary {
	background: var(--ynd-accent);
	color: #fff !important;
}

.mkl-ynd-btn--primary:hover { transform: translateY(-1px); filter: brightness(1.05); }

.mkl-ynd-btn--outline {
	background: transparent;
	border-color: var(--ynd-accent);
	color: var(--ynd-ink) !important;
}

.mkl-ynd-btn--outline:hover { background: rgba(100, 81, 230, 0.08); }

.mkl-ynd-btn--light {
	background: #fff;
	color: var(--ynd-accent) !important;
	width: 100%;
	margin-top: 8px;
}

.mkl-ynd-btn--light:hover { background: #f4f1ff; }

body.mkl-page--prodvizhenie-sajtov-v-yandeks .creatium-page-body img.mkl-ynd-media,
.mkl-ynd-media {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	object-fit: cover;
	border-radius: 12px;
}

/* ── HERO: 2 columns, image right ── */
.mkl-ynd-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 28px;
	align-items: center;
}

.mkl-ynd-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(24px, 3vw, 48px) 0;
}

.mkl-ynd-hero__lead {
	max-width: 660px;
}

.mkl-ynd-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 22px;
}

.mkl-ynd-hero__stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	width: 100%;
	border-radius: 14px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.5);
}

.mkl-ynd-hero__stat {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 14px 18px;
	border-bottom: 1px solid rgba(35, 25, 113, 0.1);
}

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

.mkl-ynd-hero__check {
	flex-shrink: 0;
	color: var(--ynd-accent);
	font-weight: 700;
}

.mkl-ynd-hero__stat strong {
	display: block;
	margin-bottom: 2px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 16px;
	color: var(--ynd-ink);
}

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

.mkl-ynd-hero__media {
	min-width: 0;
	display: flex;
	justify-content: center;
	align-items: stretch;
	align-self: stretch;
}

body.mkl-page--prodvizhenie-sajtov-v-yandeks .creatium-page-body .mkl-ynd-hero__media img,
.mkl-ynd-hero__media img {
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	min-height: 100%;
	margin: 0;
	border-radius: 0;
	object-fit: cover !important;
	object-position: center left;
}

/* ── ЭКОСИСТЕМА: цифры + каналы ── */
.mkl-ynd-eco__wrap { padding: 8px 0 12px; }

.mkl-ynd-eco__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 8px 0 28px;
}

.mkl-ynd-eco__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 0;
	padding: 18px 16px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.4);
	text-align: center;
}

.mkl-ynd-eco__num {
	font-family: "TTNorms Medium", sans-serif;
	font-size: clamp(34px, 4vw, 48px);
	line-height: 1.05;
	color: var(--ynd-dark);
}

.mkl-ynd-eco__stat strong {
	font-family: "TTNorms Medium", sans-serif;
	font-size: 18px;
	color: var(--ynd-ink);
}

.mkl-ynd-eco__note {
	font-size: 15px;
	line-height: 1.45;
	color: var(--ynd-muted);
}

.mkl-ynd-eco__sub {
	margin: 0 0 16px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 24px;
	color: var(--ynd-ink);
	text-align: center;
}

.mkl-ynd-eco__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 32px;
}

.mkl-ynd-eco__card {
	min-width: 0;
	padding: 16px 18px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.45);
}

body.mkl-page--prodvizhenie-sajtov-v-yandeks .creatium-page-body img.mkl-ynd-eco__icon,
.mkl-ynd-eco__icon {
	width: 40px !important;
	height: 40px !important;
	max-width: 40px !important;
	margin: 0 0 10px !important;
	display: block !important;
	object-fit: contain !important;
}

.mkl-ynd-eco__card h4 {
	margin: 0 0 6px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 19px;
	color: var(--ynd-ink);
}

.mkl-ynd-eco__card p {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--ynd-text);
}

/* ── 5 НАПРАВЛЕНИЙ ── */
.mkl-ynd-directions__list {
	display: grid;
	gap: 16px;
	margin-top: 8px;
}

.mkl-ynd-directions__item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	border-radius: 14px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.55);
}

.mkl-ynd-directions__iconbar {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(255, 255, 255, 0.45);
}

body.mkl-page--prodvizhenie-sajtov-v-yandeks .creatium-page-body img.mkl-ynd-directions__icon,
.mkl-ynd-directions__icon {
	width: 34px !important;
	height: 34px !important;
	max-width: 34px !important;
	margin: 0 !important;
	display: block !important;
	object-fit: contain !important;
}

.mkl-ynd-directions__body {
	padding: 18px 20px;
	min-width: 0;
}

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

.mkl-ynd-directions__item p {
	margin: 0 0 10px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ynd-text);
}

.mkl-ynd-directions__result {
	margin: 0 !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	color: var(--ynd-ink) !important;
}

/* ── ЭТАПЫ: таблица недель ── */
.mkl-ynd-weeks {
	margin: 12px 0 28px;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(35, 25, 113, 0.12);
	background: rgba(255, 255, 255, 0.5);
}

.mkl-ynd-weeks__head,
.mkl-ynd-weeks__row {
	display: grid;
	grid-template-columns: minmax(0, 0.22fr) minmax(0, 0.78fr);
}

.mkl-ynd-weeks__head > div {
	padding: 14px 18px;
	background: #8a2bbf;
	color: #fff;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 17px;
}

.mkl-ynd-weeks__row > div {
	padding: 16px 18px;
	border-top: 1px solid rgba(35, 25, 113, 0.1);
	font-size: 17px;
	line-height: 1.55;
	color: var(--ynd-text);
}

.mkl-ynd-weeks__label {
	font-family: "TTNorms Medium", sans-serif;
	color: var(--ynd-ink) !important;
}

.mkl-ynd-weeks__row:nth-child(2n) > div { background: rgba(255, 255, 255, 0.35); }

.mkl-ynd-stages__sub {
	margin: 0 0 16px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 26px;
	color: var(--ynd-ink);
}

.mkl-ynd-monthly {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 32px;
}

.mkl-ynd-monthly__card {
	min-width: 0;
	padding-left: 18px;
	border-left: 3px solid var(--ynd-accent);
}

.mkl-ynd-monthly__card h4 {
	margin: 0 0 6px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 19px;
	color: var(--ynd-ink);
}

.mkl-ynd-monthly__card p {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--ynd-text);
}

/* ── ЭКСПЕРТИЗА ── */
.mkl-ynd-expertise__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 32px;
	margin: 8px 0 20px;
}

.mkl-ynd-expertise__block {
	min-width: 0;
}

.mkl-ynd-expertise__block h3 {
	margin: 0 0 8px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 20px;
	line-height: 1.35;
	color: var(--ynd-ink);
}

.mkl-ynd-expertise__block p {
	margin: 0 0 14px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--ynd-text);
}

.mkl-ynd-expertise__lsi {
	margin: 0;
	padding: 14px 18px;
	background: var(--ynd-yellow);
	border-radius: 10px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ynd-ink);
}

/* ── КЕЙСЫ ── */
.mkl-ynd-cases__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 8px 0 20px;
}

.mkl-ynd-cases__card {
	background: rgba(255, 255, 255, 0.65);
	border-radius: 12px;
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

body.mkl-page--prodvizhenie-sajtov-v-yandeks .creatium-page-body img.mkl-ynd-cases__img,
.mkl-ynd-cases__card .mkl-ynd-cases__img,
.mkl-ynd-cases__card .mkl-ynd-media {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 !important;
	border-radius: 0 !important;
	object-fit: cover !important;
	aspect-ratio: 16 / 10;
}

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

.mkl-ynd-cases__card h3 {
	margin: 0 0 10px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 18px;
	line-height: 1.35;
	color: var(--ynd-ink);
}

.mkl-ynd-cases__meta {
	margin: 0 0 6px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--ynd-text);
}

.mkl-ynd-cases__body ul {
	margin: 10px 0 0;
	padding-left: 20px;
	list-style: disc;
}

.mkl-ynd-cases__body li {
	margin-bottom: 6px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ynd-text);
}

.mkl-ynd-cases__body li strong { color: var(--ynd-ink); }

.mkl-ynd-cases__actions { margin-top: 8px; }

/* ── ТАРИФЫ: ровно 2 карточки, как в макете ── */
.mkl-pricing-cards.mkl-ynd-pricing__cards,
.mkl-ynd-pricing__cards {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 16px !important;
	max-width: 860px !important;
	margin: 12px 0 16px !important;
}

.mkl-pricing-note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--ynd-yellow);
	color: var(--ynd-text);
	font-size: 16px;
	line-height: 1.5;
}

/* ── FAQ ── */
.mkl-ynd-faq__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 8px;
}

.mkl-ynd-faq__item {
	background: rgba(255, 255, 255, 0.55);
	border-radius: 10px;
	padding: 16px 16px 16px 18px;
	border-left: 4px solid var(--ynd-dark);
}

.mkl-ynd-faq__item h3 {
	margin: 0 0 8px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 17px;
	line-height: 1.35;
	color: var(--ynd-ink);
}

.mkl-ynd-faq__item p {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--ynd-text);
}

/* ── CTA (типовой: purple form + dark side) ── */
.mkl-ynd-cta__wrap { padding: 8px 0 12px; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.mkl-ynd-cta__side {
	padding: 22px 20px;
	border-radius: 16px;
	background: var(--ynd-dark);
	color: #fff;
}

.mkl-ynd-cta__side-title {
	margin: 0 0 12px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 18px;
	color: #fff;
}

.mkl-ynd-cta__contacts {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}

.mkl-ynd-cta__contacts li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mkl-ynd-cta__contacts li:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

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

.mkl-ynd-cta__contacts strong {
	display: block;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 16px;
	color: #fff;
}

.mkl-ynd-cta__contacts a,
.mkl-ynd-cta__contacts span {
	display: block;
	font-size: 16px;
	line-height: 1.4;
	color: #fff;
	text-decoration: none;
}

.mkl-ynd-cta__contacts a:hover { opacity: 0.85; }

.mkl-ynd-cta__pills {
	display: grid;
	gap: 8px;
}

.mkl-ynd-cta__pills span {
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.12);
	font-size: 14px;
	color: #fff;
}

@media (max-width: 1100px) {
	.mkl-ynd-expertise__cols { grid-template-columns: 1fr; }
	.mkl-ynd-faq__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mkl-pricing-cards.mkl-ynd-pricing__cards,
	.mkl-ynd-pricing__cards { grid-template-columns: 1fr !important; }
}

@media (max-width: 900px) {
	.mkl-ynd-hero__layout,
	.mkl-ynd-eco__stats,
	.mkl-ynd-eco__grid,
	.mkl-ynd-monthly,
	.mkl-ynd-cases__grid,
	.mkl-ynd-faq__grid,
	.mkl-ynd-cta__layout,
	.mkl-ynd-cta__trust {
		grid-template-columns: 1fr !important;
	}

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

	body.mkl-page--prodvizhenie-sajtov-v-yandeks .creatium-page-body .mkl-ynd-hero__media img,
	.mkl-ynd-hero__media img {
		height: auto !important;
		min-height: 0;
		max-width: min(100%, 320px) !important;
		margin: 0 auto;
	}

	.mkl-ynd-directions__item { grid-template-columns: 1fr; }
	.mkl-ynd-directions__iconbar { justify-content: flex-start; padding: 14px 20px 0; background: transparent; }

	.mkl-ynd-weeks__head { display: none; }
	.mkl-ynd-weeks__row { grid-template-columns: 1fr; }
	.mkl-ynd-weeks__row > div { border-top: 1px solid rgba(35, 25, 113, 0.1); }
	.mkl-ynd-weeks__label { padding-bottom: 0 !important; }
	.mkl-ynd-weeks__text { border-top: 0 !important; padding-top: 6px !important; }

	.mkl-ynd-hero__actions { flex-direction: column; }
	.mkl-ynd-btn { width: 100%; }
}
