:root {
	--km-black: #202020;
	--km-dark: #191919;
	--km-dark-card: #2a2a2a;
	--km-blue: #1473ff;
	--km-blue-soft: #1c7cff;
	--km-red: #f8335d;
	--km-text: #f6f7fb;
	--km-muted: rgba(246, 247, 251, 0.72);
	--km-surface: #f1f2f3;
	--km-font-base: "Manrope", Arial, sans-serif;
	--km-font-display: "Alumni Sans", "Arial Narrow", Arial, sans-serif;
	--km-font-inter: "Inter", Arial, sans-serif;
}

@media (max-width: 940px) {
	.reviews__head,
	.estimate__inner,
	.pricing-hero__inner,
	.final-cta__inner {
		grid-template-columns: 1fr;
	}

	.reviews__head {
		gap: 26px;
	}

	.reviews__title,
	.estimate__title,
	.pricing__title,
	.final-cta__title {
		text-align: center;
	}

	.reviews__hint {
		justify-content: center;
	}

	.reviews-video {
		width: auto;
		margin: 0 0 48px;
		transform: none;
	}

	.reviews-video__item {
		flex-basis: 300px;
		height: 430px;
	}

	.reviews-wall {
		flex-wrap: wrap;
	}

	.reviews-col {
		flex: 1 1 240px;
	}

	.estimate__report,
	.estimate__calculator {
		opacity: 0.26;
	}

	.estimate__facts ul,
	.budget-questions,
	.pricing-list,
	.first-results__timeline,
	.first-results__cards,
	.first-results__bottom ul {
		grid-template-columns: repeat(2, 1fr);
	}

	.budget-answer__inner,
	.pricing-quote {
		align-items: flex-start;
		flex-direction: column;
	}

	.timing-card__inner,
	.process__grid,
	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.timing-card__visual {
		min-height: 230px;
	}

	.timing-card__light {
		border-radius: 34px 34px 0 0;
	}

	.process__phone {
		min-height: 280px;
	}

	.final-cta__person {
		opacity: 0.35;
	}
}

@media (max-width: 640px) {
	.reviews,
	.estimate,
	.launch-budget,
	.pricing__body,
	.timing,
	.first-results,
	.process,
	.faq,
	.final-cta,
	.site-footer {
		padding-top: 58px;
	}

	.reviews__title,
	.estimate__title,
	.launch-budget__title,
	.pricing__title,
	.timing__title,
	.first-results__title,
	.process__title,
	.final-cta__title {
		font-size: 42px;
	}

	.reviews__hint {
		min-height: 76px;
		padding: 14px 18px;
		border-radius: 24px;
		font-size: 15px;
	}

	.reviews__hint button {
		width: 44px;
		height: 44px;
	}

	.reviews-video {
		width: auto;
		margin: 0 0 40px;
		transform: none;
	}

	.reviews-video__item {
		flex-basis: 76vw;
		height: 430px;
	}

	.reviews-wall {
		flex-wrap: wrap;
	}

	.reviews-col {
		flex: 1 1 220px;
	}

	.reviews__more {
		width: calc(100% - 32px);
		height: 60px;
		padding: 0 18px;
		font-size: 14px;
		white-space: nowrap;
	}

	/* Smaller arrow + tighter gap so the label stays on one line */
	.reviews__more span {
		margin-left: 12px;
		font-size: 0;
	}

	.reviews__more .btn-arrow img {
		width: 18px;
		height: 18px;
	}

	.lead-form {
		padding: 30px 22px;
		border-radius: 24px;
	}

	.lead-form h3 {
		font-size: 20px;
	}

	.lead-form input,
	.lead-form button {
		height: 56px;
	}

	.lead-form button {
		font-size: 15px;
	}

	/* Stack the footer (text over icons) on narrow screens */
	.lead-form__foot {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.estimate__inner,
	.pricing-hero__inner,
	.final-cta__inner {
		gap: 34px;
	}

	.estimate__content > p,
	.pricing-hero p,
	.final-cta__content p {
		font-size: 16px;
		text-align: center;
	}

	.estimate__facts {
		padding: 24px;
	}

	.estimate__facts ul,
	.budget-questions,
	.pricing-list,
	.first-results__timeline,
	.first-results__cards,
	.first-results__bottom ul {
		grid-template-columns: 1fr;
	}

	.budget-questions div {
		min-height: 86px;
		font-size: 17px;
	}

	.budget-answer__inner {
		padding-block: 30px;
	}

	.budget-answer p {
		font-size: 22px;
	}

	.budget-answer a {
		min-width: 0;
		width: 100%;
		height: 58px;
		font-size: 18px;
	}

	.pricing-chart {
		padding: 18px;
	}

	.mini-lead {
		display: none;
	}

	.pricing-quote {
		border-radius: 28px;
		padding: 26px;
	}

	.pricing-quote img {
		width: 82px;
		height: 82px;
	}

	.pricing-quote p {
		font-size: 20px;
	}

	.timing-card__inner {
		width: min(calc(100% - 32px), 420px);
	}

	.timing-card__dark,
	.timing-card__light {
		padding: 34px 24px;
	}

	.timing-card__light div {
		grid-template-columns: 1fr;
	}

	.first-results__timeline {
		border-top: 0;
		padding-top: 0;
	}

	.first-results__timeline div::before {
		display: none;
	}

	.first-results__cards article {
		min-height: 190px;
		padding: 34px 26px;
	}

	.first-results__cards .fr-card__cal {
		width: 95px;
		opacity: 0.6;
	}

	.process__list div {
		min-height: 58px;
		padding-inline: 22px;
		font-size: 16px;
	}

	.process__phone__art {
		width: 180px;
	}

	.faq__title {
		font-size: 86px;
	}

	.faq summary,
	.faq details p {
		width: min(calc(100% - 32px), 420px);
	}

	.faq summary {
		min-height: 76px;
		font-size: 17px;
	}

	.final-cta__inner {
		min-height: 0;
		padding-bottom: 44px;
	}

	.final-cta__person {
		display: none;
	}

	.site-footer__inner {
		gap: 42px;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	background: var(--km-black);
}

body {
	margin: 0;
	background: var(--km-surface);
	color: var(--km-text);
	font-family: var(--km-font-base);
	font-size: 18px;
	letter-spacing: 0;
	overflow-x: clip;
}

a {
	color: inherit;
	text-decoration: none;
}

img,
svg {
	display: block;
	max-width: 100%;
}

.km-container {
	width: min(100%, 1440px);
	margin-inline: auto;
}

.site {
	width: min(100vw, 1440px);
	min-height: 100vh;
	margin-inline: auto;
	overflow-x: visible;
}

.site-main > section,
.after-hero {
	width: min(100vw, 1440px);
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 24px;
	width: min(100vw, 1440px);
	margin: 24px auto -94px;
	z-index: 30;
}

.admin-bar .site-header {
	top: 56px;
	margin-top: 56px;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 70px;
	padding: 0 18px 0 46px;
	border-radius: 999px;
	background: #f7f8fb;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
	color: var(--km-black);
}

.site-header__inner.km-container {
	width: min(100%, 1440px);
}

.site-logo {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	width: 132px;
	height: 70px;
}

.site-logo img {
	width: 96px;
	height: auto;
}

.site-nav {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	/* 15px keeps the menu narrow enough that it doesn't overflow its flex box
	   (which shifted the first divider off-centre); dividers then sit evenly. */
	gap: 15px;
	min-width: 0;
}

.site-nav a {
	color: rgba(32, 32, 32, 0.52);
	font-family: var(--km-font-base);
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
	color: var(--km-blue);
}

/* Desktop-only links wrapper: flatten so the <a> items sit directly in .site-nav */
.site-nav__links {
	display: contents;
}

.site-nav__close,
.site-nav__contacts {
	display: none;
}

.site-schedule {
	flex: 0 0 auto;
	color: var(--km-black);
	font-family: var(--km-font-base);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

/* Light-grey vertical separators between the header groups (desktop only) */
.site-divider {
	flex: 0 0 auto;
	align-self: center;
	width: 1px;
	height: 24px;
	background: rgba(0, 0, 0, 0.12);
}

@media (max-width: 940px) {
	.site-divider {
		display: none;
	}
}

.site-cta {
	flex: 0 0 auto;
	height: 46px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(180deg, #2b7fff 0%, #1a63e0 100%);
	color: #fff;
	font-family: var(--km-font-base);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.12s ease, filter 0.2s ease;
}

.site-cta:hover {
	filter: brightness(1.06);
}

.site-cta:active {
	transform: translateY(1px) scale(0.98);
}

/* Header phone: shown in the bar on desktop, moved into the burger popup on mobile */
.site-phone {
	flex: 0 0 auto;
	color: var(--km-black);
	font-family: var(--km-font-base);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.site-phone:hover,
.site-phone:focus-visible {
	color: var(--km-blue);
}


.site-socials {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
}

.site-socials a {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 50%;
	transition: transform 0.2s ease;
}

.site-socials a:hover,
.site-socials a:focus-visible {
	transform: translateY(-1px);
}

.site-socials img {
	width: 38px;
	height: 38px;
}

.site-socials__accent {
	position: relative;
	background: #6357ff;
	box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.15);
}

.site-socials__accent::before,
.site-socials__accent::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: #fff;
}

.site-socials__accent::before {
	inset: 7px 6px 9px 8px;
}

.site-socials__accent::after {
	width: 5px;
	height: 5px;
	right: 6px;
	bottom: 6px;
	background: #ffd92f;
}

.hero {
	position: relative;
	min-height: 665px;
	padding: 158px 0 92px;
	overflow: visible;
	background: var(--km-black);
}

.site-main > .hero {
	width: 100vw;
	margin-left: calc((min(100vw, 1440px) - 100vw) / 2);
	margin-right: calc((min(100vw, 1440px) - 100vw) / 2);
}

.hero__rings {
	position: absolute;
	top: -92px;
	left: 50%;
	width: 790px;
	max-width: none;
	opacity: 0.28;
	transform: translateX(-58%);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 868px) 493px;
	gap: 79px;
	align-items: stretch;
	justify-content: space-between;
	z-index: 2;
}

/* Background brand graphic: enlarged and sat BELOW every other hero element */
.hero-brand-visual {
	position: absolute;
	top: -84px;
	left: 372px;
	z-index: 0;
	width: 632px;
	max-width: none;
	opacity: 0.92;
	pointer-events: none;
}

.hero__copy {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	/* spread heading / points / audit evenly over the full column height
	   (equal gaps, fills the space that the stretched column leaves) */
	justify-content: space-between;
	min-width: 0;
}

.hero__title {
	width: 620px;
	max-width: none;
	margin: 0;
	color: var(--km-text);
	font-family: var(--km-font-display);
	font-size: 77px;
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hero__title-line {
	display: block;
	width: max-content;
	white-space: nowrap;
}

.hero__title-line--accent {
	position: relative;
	color: var(--km-blue);
	font-weight: 700;
}

.hero__title-line--accent::after {
	content: "";
	position: absolute;
	right: -8px;
	bottom: -10px;
	left: 0;
	height: 17px;
	background: url("../images/hero-title-underline.svg") left center / 100% 100% no-repeat;
	pointer-events: none;
}

.hero__points {
	display: grid;
	/* fixed first two columns sized to their text so the visual gaps between the
	   three points are ~equal; the third column takes the rest */
	grid-template-columns: 200px 240px 1fr;
	gap: 24px;
	max-width: 868px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hero__points li {
	position: relative;
	margin: 0;
	padding-left: 24px;
	color: rgba(246, 247, 251, 0.88);
	font-family: var(--km-font-base);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.35;
}

.hero__points li strong {
	font-weight: 700;
}

.hero__points li::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 0;
	width: 11px;
	height: 11px;
	border: 2px solid var(--km-blue);
	border-radius: 50%;
}

.hero-audit {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 868px;
	max-width: 100%;
	min-height: 250px;
	margin-top: 0;
	padding: 30px 36px 30px 186px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 24px;
	background: #2a2a2a;
	box-shadow: 0 22px 46px rgba(0, 0, 0, 0.18);
}

.hero-audit__visual {
	position: absolute;
	top: 50%;
	left: 28px;
	width: 148px;
	height: 154px;
	transform: translateY(-50%);
}

.hero-audit__visual img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
}

.hero-audit__phone,
.hero-audit__chart,
.hero-audit__coin {
	position: absolute;
	border-radius: 50%;
}

.hero-audit__phone {
	top: 1px;
	left: 0;
	display: grid;
	width: 72px;
	height: 72px;
	place-items: center;
	background: #24df67;
	color: #fff;
	box-shadow: 0 10px 24px rgba(36, 223, 103, 0.28);
}

.hero-audit__phone svg {
	width: 39px;
	height: 39px;
	transform: rotate(-8deg);
}

.hero-audit__chart {
	top: 3px;
	right: 0;
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	background: var(--km-blue);
	color: #fff;
	border: 3px solid rgba(255, 255, 255, 0.16);
}

.hero-audit__chart svg {
	width: 36px;
	height: 36px;
}

.hero-audit__coin {
	display: grid;
	width: 18px;
	height: 18px;
	place-items: center;
	background: var(--km-blue);
	color: #fff;
	font-size: 9px;
	font-weight: 800;
}

.hero-audit__coin--top {
	top: -1px;
	left: -7px;
}

.hero-audit__coin--bottom {
	bottom: 0;
	left: 29px;
}

.hero-audit__content {
	position: relative;
	z-index: 2;
	min-width: 0;
}

.hero-audit__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	min-width: 0;
}

.hero-audit__title {
	max-width: 470px;
	min-width: 0;
	margin: 0;
	color: #fff;
	font-family: var(--km-font-base);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.42;
	overflow-wrap: anywhere;
}

.hero-audit__title a {
	color: var(--km-blue-soft);
	font-weight: 700;
}

.hero-audit__button {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 62px;
	padding: 0 36px;
	border-radius: 999px;
	background: linear-gradient(180deg, #ff4c73 0%, #ed204c 100%);
	box-shadow: 0 14px 28px rgba(248, 51, 93, 0.36);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	max-width: 100%;
}

.hero-audit__button .btn-arrow img {
	width: 17px;
	height: 17px;
}

.hero-audit__note {
	max-width: 660px;
	margin: 24px 0 0;
	color: rgba(246, 247, 251, 0.78);
	font-family: var(--km-font-base);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.55;
}

.hero-audit__note strong {
	font-weight: 700;
}

.hero-mark {
	position: absolute;
	top: -10px;
	left: 382px;
	width: 205px;
	height: 205px;
	z-index: 1;
	border-radius: 50%;
	background: #222;
	filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.18));
}

.hero-mark__text {
	position: absolute;
	inset: -28px;
	width: calc(100% + 56px);
	height: calc(100% + 56px);
	max-width: none;
	opacity: 0.94;
	animation: km-spin 24s linear infinite;
}

.hero-mark__core {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	width: 108px;
	height: 108px;
	place-items: center;
	border-radius: 50%;
	background: var(--km-blue);
	box-shadow: inset 0 -10px 24px rgba(0, 0, 0, 0.2), 0 18px 36px rgba(20, 115, 255, 0.2);
	transform: translate(-50%, -50%);
}

.hero-mark__core svg {
	width: 86px;
	height: 86px;
	transform: rotate(-8deg);
}

@keyframes km-spin {
	to {
		transform: rotate(360deg);
	}
}

.hero-media {
	position: relative;
	z-index: 1;
	width: 493px;
	height: 657px;
	margin: 0;
	overflow: hidden;
	border-radius: 24px;
	background: #303030;
	box-shadow: 0 26px 58px rgba(0, 0, 0, 0.36);
}

.hero-media > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.hero-media::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 132px;
	background: linear-gradient(180deg, rgba(25, 25, 25, 0) 0%, rgba(25, 25, 25, 0.78) 100%);
	pointer-events: none;
}

.hero-media__play {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	width: 60px;
	height: 60px;
	place-items: center;
	border-radius: 50%;
	background: linear-gradient(180deg, #ff4a6f 0%, #ef2450 100%);
	box-shadow: 0 16px 28px rgba(248, 51, 93, 0.35);
	z-index: 2;
}

.hero-media__play img {
	width: 35px;
	height: 40px;
	margin-left: 4px;
}

.hero-media__stats {
	position: absolute;
	right: 24px;
	bottom: 26px;
	left: 24px;
	z-index: 3;
	display: grid;
	grid-template-columns: auto auto;
	justify-content: space-between;
	align-items: center;
	min-height: 86px;
	padding: 14px 40px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	background: rgba(25, 25, 25, 0.68);
	backdrop-filter: blur(10px);
}

.hero-media__stats span {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.hero-media__stats strong {
	color: var(--km-blue);
	font-family: var(--km-font-base);
	font-size: 52px;
	font-weight: 700;
	line-height: 0.9;
	letter-spacing: 0;
}

.hero-media__stats em {
	color: rgba(246, 247, 251, 0.86);
	font-family: var(--km-font-base);
	font-size: 17px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.15;
}

.hero__transition {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 0;
	background: transparent;
	z-index: 5;
}

.hero__transition::before {
	content: none;
}

.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: -48px;
	width: 190px;
	height: 95px;
	max-width: none;
	transform: translateX(-50%);
}

.after-hero {
	height: 28px;
	background: var(--km-surface);
}

.section-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: max-content;
	margin: 0 auto 50px;
	padding: 19px 40px;
	border-radius: 999px;
	background: #fff;
	color: #909090;
	font-family: var(--km-font-base);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.section-badge span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(32, 32, 32, 0.34);
}

.section-title {
	margin: 0;
	color: var(--km-black);
	font-family: var(--km-font-display);
	font-size: 78px;
	font-weight: 500;
	line-height: 0.9;
	letter-spacing: 0;
	text-align: center;
	text-transform: uppercase;
}

.section-title span {
	color: var(--km-blue);
	font-weight: 700;
}

.benefits {
	background: var(--km-surface);
	color: var(--km-black);
	padding: 68px 0 92px;
}

.benefits .km-container {
	width: min(100%, 1440px);
}

.benefits__title {
	margin-bottom: 64px;
}

.benefits__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 46px 28px;
}

.benefit-card {
	position: relative;
	min-height: 230px;
	overflow: visible;
	border-radius: 24px;
	background: #fff;
	padding: 64px 38px 30px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.benefit-card__number {
	position: absolute;
	top: -28px;
	left: 58px;
	width: 118px;
	height: 59px;
	max-width: none;
	z-index: 3;
}

.benefit-card h3 {
	position: relative;
	z-index: 2;
	max-width: 270px;
	margin: 0;
	color: var(--km-black);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.28;
}

.benefit-card p {
	position: relative;
	z-index: 2;
	max-width: 310px;
	margin: 36px 0 0;
	color: rgba(32, 32, 32, 0.76);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
}

.benefit-card p strong,
.benefit-card b {
	font-weight: 800;
}

.benefit-card__lead {
	position: absolute;
	z-index: 0;
	width: 145px;
	padding: 15px 16px;
	border-radius: 10px;
	background: #f4f5f6;
	color: rgba(32, 32, 32, 0.72);
	font-size: 9px;
	font-weight: 500;
	line-height: 1.35;
	opacity: 0.55;
}

.benefit-card__lead::before {
	content: "+";
	position: absolute;
	top: -12px;
	left: -11px;
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	border-radius: 50%;
	background: #55d66d;
	color: #fff;
	font-size: 17px;
	font-weight: 800;
}

.benefit-card__lead strong,
.benefit-card__lead span {
	display: block;
}

.benefit-card__lead strong {
	margin-bottom: 5px;
	color: rgba(32, 32, 32, 0.86);
	font-size: 12px;
}

.benefit-card__lead--one {
	top: 50px;
	right: -16px;
}

.benefit-card__lead--two {
	right: -8px;
	bottom: 70px;
	width: 118px;
	transform: rotate(-2deg);
}

.benefit-card__arrow {
	position: absolute;
	top: 38px;
	right: 16px;
	width: 156px;
	height: 136px;
	z-index: 0;
	opacity: 0.78;
	transform: scale(0.88);
	transform-origin: right top;
}

.benefit-card__arrow img:nth-child(1) {
	position: absolute;
	top: 0;
	left: 0;
	width: 54px;
	filter: drop-shadow(0 10px 18px rgba(20, 115, 255, 0.24));
}

.benefit-card__arrow img:nth-child(2) {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 126px;
}

.benefit-card__arrow span {
	position: absolute;
	right: 14px;
	bottom: 9px;
	width: 118px;
	height: 118px;
	border-radius: 50%;
	background: #ffdc14;
	z-index: -1;
}

.benefit-card__image {
	position: absolute;
	z-index: 0;
	opacity: 0.78;
	pointer-events: none;
}

.benefit-card__image--stopwatch {
	right: 44px;
	bottom: 28px;
	width: 145px;
}

.benefit-card__image--brand {
	right: 12px;
	bottom: 18px;
	width: 95px;
}

.benefit-card__image--funnel {
	top: 40px;
	right: 18px;
	width: 142px;
}

.benefit-card__image--scale {
	right: -28px;
	bottom: 20px;
	width: 205px;
}

.benefit-card--funnel p,
.benefit-card--scale p {
	max-width: 290px;
}

.benefit-card {
	min-height: 252px;
	padding: 62px 38px 30px;
}

.benefit-card__number {
	top: -30px;
	left: 56px;
	width: 118px;
	height: 59px;
}

.benefit-card h3 {
	max-width: 272px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.24;
}

.benefit-card p {
	max-width: 320px;
	margin-top: 30px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42;
}

.benefit-card p strong,
.benefit-card b {
	font-weight: 700;
}

.benefit-card__lead {
	z-index: 1;
	width: 124px;
	padding: 13px 15px;
	border-radius: 8px;
	background: #f4f5f6;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
	color: rgba(32, 32, 32, 0.55);
	font-size: 7px;
	line-height: 1.45;
	opacity: 1;
}

.benefit-card__lead::before {
	top: -13px;
	left: -12px;
	width: 24px;
	height: 24px;
	background: #66d881;
	font-size: 18px;
}

.benefit-card__lead strong {
	margin-bottom: 5px;
	color: rgba(32, 32, 32, 0.54);
	font-size: 11px;
	font-weight: 700;
}

.benefit-card__lead--primary {
	top: 58px;
	right: 8px;
}

.benefit-card__lead--secondary {
	right: -18px;
	bottom: 22px;
	width: 112px;
	padding: 12px 14px;
	opacity: 0.4;
	z-index: 0;
}

.benefit-card__lead--secondary::before {
	opacity: 0.72;
}

.benefit-card__decor {
	position: absolute;
	z-index: 1;
	max-width: none;
	pointer-events: none;
}

.benefit-card__decor--lead-main {
	top: 56px;
	right: 36px;
	width: 141px;
}

.benefit-card__decor--lead-small {
	right: 34px;
	bottom: 38px;
	width: 85px;
	opacity: 0.9;
}

.benefit-card__decor--trend {
	top: 45px;
	right: 22px;
	z-index: 3;
	width: 45px;
}

.benefit-card--leads h3 {
	max-width: 236px;
}

.benefit-card--leads-small h3 {
	max-width: 258px;
}

.benefit-card--leads p,
.benefit-card--leads-small p {
	max-width: 270px;
}

.benefit-card--leads-small .benefit-card__lead--primary {
	top: 62px;
	right: 10px;
	width: 132px;
}

.benefit-card__trend,
.benefit-card__money,
.benefit-card__pin {
	position: absolute;
	z-index: 3;
	border-radius: 50%;
	background: #202020;
	color: #fff;
}

.benefit-card__trend {
	top: 42px;
	right: 32px;
	width: 44px;
	height: 44px;
}

.benefit-card__trend::before {
	content: "";
	position: absolute;
	left: 12px;
	bottom: 13px;
	width: 20px;
	height: 14px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	transform: skew(-25deg) rotate(-8deg);
}

.benefit-card__trend::after {
	content: "";
	position: absolute;
	right: 11px;
	top: 13px;
	width: 7px;
	height: 7px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
}

.benefit-card__money {
	top: 42px;
	right: 34px;
	display: grid;
	width: 50px;
	height: 50px;
	place-items: center;
	font-size: 31px;
	font-weight: 500;
}

.benefit-card__pin {
	right: 78px;
	top: 166px;
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
}

.benefit-card__pin::before {
	content: "";
	width: 12px;
	height: 12px;
	border: 2px solid #fff;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
}

.benefit-card__arrow {
	top: 30px;
	right: -2px;
	width: 148px;
	height: 136px;
	opacity: 1;
	transform: none;
}

.benefit-card__arrow img:nth-child(1) {
	top: 0;
	left: 12px;
	width: 48px;
	filter: blur(1px) drop-shadow(0 10px 18px rgba(20, 115, 255, 0.24));
}

.benefit-card__arrow img:nth-child(2) {
	right: 0;
	bottom: 0;
	width: 112px;
}

.benefit-card__arrow::after {
	content: "";
	position: absolute;
	top: 10px;
	right: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 30% 30%, #8b4cff 0 18%, transparent 19%),
		radial-gradient(circle at 70% 30%, #13acee 0 18%, transparent 19%),
		radial-gradient(circle at 32% 72%, #18d86e 0 18%, transparent 19%),
		radial-gradient(circle at 70% 72%, #ff4c73 0 18%, transparent 19%);
}

.benefit-card__image {
	z-index: 1;
	opacity: 1;
}

.benefit-card__image--stopwatch {
	right: 8px;
	top: 42px;
	width: 142px;
}

.benefit-card__image--arrow-grouped {
	top: 32px;
	right: -8px;
	z-index: 1;
	width: 158px;
	opacity: 1;
}

.benefit-card__image--funnel {
	top: 40px;
	right: 26px;
	width: 161px;
}

.benefit-card--funnel::after {
	content: none;
	position: absolute;
	right: 26px;
	bottom: 22px;
	z-index: 0;
	width: 68px;
	height: 36px;
	background:
		radial-gradient(circle, #202020 0 45%, transparent 46%) 0 0 / 22px 22px,
		radial-gradient(circle, #202020 0 45%, transparent 46%) 11px 11px / 22px 22px;
	opacity: 0.95;
}

.benefit-card__image--scale {
	right: -20px;
	bottom: 78px;
	width: 206px;
}

.benefit-card__image--leads-small-grouped {
	top: 52px;
	right: 16px;
	z-index: 2;
	width: 182px;
	opacity: 1;
}

.benefit-card--scale::before,
.benefit-card--scale::after {
	position: absolute;
	z-index: 2;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #202020;
	color: #fff;
	font-size: 18px;
	font-weight: 800;
}

.benefit-card--scale::before {
	content: none;
	top: 94px;
	right: 128px;
	width: 44px;
	height: 44px;
}

.benefit-card--scale::after {
	content: none;
	top: 98px;
	right: 10px;
	width: 66px;
	height: 38px;
	border-radius: 999px;
	font-size: 8px;
}

.benefit-card--arrow h3 {
	max-width: 276px;
}

.benefit-card--arrow p {
	max-width: 306px;
}

.benefit-card--funnel h3,
.benefit-card--scale h3 {
	max-width: 236px;
}

.benefit-card--funnel p,
.benefit-card--scale p {
	max-width: 274px;
}

.benefit-card--stopwatch p {
	max-width: 270px;
}

.cases {
	background: var(--km-surface);
	color: var(--km-black);
	padding: 66px 0 102px;
}

.cases .km-container {
	width: min(100%, 1440px);
}

.cases__title {
	margin-bottom: 72px;
	font-size: 98px;
}

.cases__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.case-card {
	position: relative;
	min-height: 470px;
	overflow: hidden;
	border-radius: 28px;
	padding: 36px 40px 32px;
	background: #17264a;
	color: #fff;
}

.case-card--purple {
	background: linear-gradient(135deg, #7843ff 0%, #582be5 100%);
}

.case-card--navy {
	background: #102754;
}

.case-card--blue {
	background: #2557c8;
}

.case-card--charcoal {
	background: #222;
}

.case-card--graphite {
	background: #2a2a2d;
}

.case-card--deep {
	background: #061b33;
}

.case-card__content {
	position: relative;
	z-index: 3;
}

.case-card h3 {
	max-width: 330px;
	margin: 0 0 26px;
	font-family: var(--km-font-display);
	font-size: 48px;
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: 0;
	text-transform: uppercase;
}

.case-card h3 span {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 5px;
	/* keep the domain (e.g. UC-INTER.RU, KORGER-AUTO.RU) on a single line so it
	   never breaks at the hyphen */
	white-space: nowrap;
}

.case-card ul {
	display: grid;
	gap: 14px;
	max-width: 250px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.case-card li {
	position: relative;
	padding-left: 28px;
	font-family: var(--km-font-base);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.28;
}

.case-card li strong {
	font-weight: 600;
}

.case-card__value {
	white-space: nowrap;
}

.case-card li::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 0;
	width: 10px;
	height: 10px;
	border: 1.5px solid #fff;
	border-radius: 50%;
}

.case-card a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	min-width: 184px;
	height: 50px;
	margin-top: 24px;
	border-radius: 999px;
	background: #fff;
	color: var(--km-black);
	font-family: var(--km-font-base);
	font-size: 18px;
	font-weight: 600;
}

.case-card a img,
.cases__more img {
	width: 13px;
	height: 13px;
	flex: 0 0 auto;
}

.case-card__image {
	position: absolute;
	z-index: 1;
	pointer-events: none;
}

.case-card__image--main {
	right: -12px;
	bottom: -12px;
	max-width: 230px;
	max-height: 250px;
	object-fit: contain;
}

.case-card--purple .case-card__image--main {
	right: -18px;
	bottom: -18px;
	width: 215px;
	max-height: none;
	transform: none;
}

.case-card--navy .case-card__image--main {
	right: -6px;
	bottom: -14px;
	width: 205px;
	max-height: none;
	opacity: 1;
}

.case-card--navy .case-card__image--second {
	right: 38px;
	bottom: -10px;
	width: 140px;
	opacity: 0.86;
}

.case-card--blue .case-card__image--main {
	right: -10px;
	bottom: -10px;
	width: 280px;
	max-width: none;
	max-height: none;
}

.case-card--charcoal .case-card__image--main {
	right: -10px;
	bottom: 0;
	width: 178px;
	max-height: none;
	opacity: 0.86;
}

.case-card--graphite .case-card__image--main {
	right: 4px;
	bottom: -8px;
	width: 150px;
	max-height: none;
}

.case-card--deep .case-card__image--main {
	right: -12px;
	bottom: -12px;
	width: 215px;
	max-height: none;
}

.cases__more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	width: calc((200% - 19.5px) / 3);
	height: 60px;
	margin: -60px auto 0 0;
	border-radius: 999px;
	background: linear-gradient(180deg, #ff4c73 0%, #cf123d 100%);
	box-shadow: 0 18px 36px rgba(248, 51, 93, 0.22);
	color: #fff;
	font-family: var(--km-font-base);
	font-size: 18px;
	font-weight: 600;
}

.niches {
	background: var(--km-surface);
	color: var(--km-black);
	padding: 4px 0 106px;
}

.niches__title {
	margin-bottom: 26px;
	font-size: 92px;
}

.niches__title span {
	position: relative;
	display: inline-block;
}

.niches__title span::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -8px;
	left: 0;
	height: 13px;
	border-bottom: 2px solid var(--km-blue);
	border-radius: 50%;
}

.niches__lead {
	max-width: 970px;
	margin: 0 auto 74px;
	color: rgba(32, 32, 32, 0.78);
	font-size: 21px;
	font-weight: 500;
	line-height: 1.45;
	text-align: center;
}

.niches-showcase {
	position: relative;
	/* visible so the lower "Новая заявка" card can hang below the plaque;
	   the blob is positioned to end right at the bottom edge, so nothing
	   blue/yellow leaks past it */
	overflow: visible;
	max-width: 1440px;
	margin: 0 auto;
	border-radius: 50px;
	background: var(--km-dark);
	color: #fff;
}

.niches-showcase__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 720px) minmax(260px, 1fr);
	width: 100%;
	max-width: none;
	margin-inline: 0;
	padding: 0 64px;
	min-height: 460px;
	align-items: center;
}

.niches-showcase__content {
	position: relative;
	z-index: 4;
	padding: 78px 0;
}

.niches-showcase__content h3 {
	margin: 0 0 34px;
	color: #fff;
	font-family: var(--km-font-base);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.24;
	white-space: nowrap;
}

.niches-showcase__content h3 span {
	color: var(--km-blue);
}

.niches-showcase__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	max-width: 720px;
	margin-bottom: 34px;
}

.niches-showcase__tags-break {
	flex-basis: 100%;
	height: 0;
	margin: 0;
}

.niches-showcase__tags span {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	background: #2a2a2a;
	padding: 0 28px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 15px;
	font-weight: 500;
}

.niches-showcase__content p {
	max-width: 610px;
	margin: 0 0 34px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.55;
}

.niches-showcase__content strong {
	display: inline-flex;
	min-height: 58px;
	align-items: center;
	border-radius: 999px;
	background: var(--km-blue);
	padding: 0 34px;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
}

.niches-showcase__visual {
	position: absolute;
	inset: auto 0 0 auto;
	z-index: 1;
	width: 936px;
	overflow: visible;
	/* blob ends right at the section's bottom edge; the lower card hangs
	   below the plaque (section uses overflow: visible) */
	transform: translateY(54px);
}

.niches-showcase__visual::before {
	content: none;
	position: absolute;
	top: -104px;
	left: 60px;
	width: 590px;
	height: 590px;
	border: 62px solid rgba(255, 255, 255, 0.03);
	border-radius: 50%;
}

.niches-showcase__visual > img {
	width: 100%;
	max-width: none;
	height: auto;
}

.niches-showcase__blue {
	position: absolute;
	right: 0;
	bottom: -210px;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	background: var(--km-blue);
}

.niches-showcase__yellow {
	position: absolute;
	right: 0;
	bottom: -20px;
	width: 360px;
	height: 210px;
	border-radius: 50% 0 0 50%;
	background: #ffdf17;
	transform: rotate(-10deg);
}

.niches-showcase__yandex {
	position: absolute;
	top: 118px;
	left: 220px;
	display: grid;
	width: 115px;
	height: 115px;
	place-items: center;
	border-radius: 50%;
	background: #fc3f1d;
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.niches-showcase__yandex img {
	width: 55px;
	height: 55px;
}

.niches-lead {
	position: absolute;
	z-index: 3;
	border-radius: 14px;
	background: #fff;
	color: rgba(32, 32, 32, 0.74);
	box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
}

.niches-lead::before {
	content: "+";
	position: absolute;
	top: -17px;
	left: -16px;
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 50%;
	background: #55d66d;
	color: #fff;
	font-size: 28px;
	font-weight: 800;
}

.niches-lead b,
.niches-lead span {
	display: block;
}

.niches-lead b {
	margin-bottom: 7px;
	color: rgba(32, 32, 32, 0.72);
	font-size: 20px;
}

.niches-lead--small {
	top: 260px;
	left: 70px;
	width: 185px;
	padding: 18px 22px;
}

.niches-lead--large {
	right: -12px;
	bottom: 52px;
	width: 330px;
	padding: 28px 36px;
	font-size: 16px;
}

.niches-lead--large b {
	font-size: 30px;
}

/* ---- Niches mosaic (1440px) ---- */
.niches__categories {
	display: flex;
	align-items: flex-start;
	gap: 30px;
	padding: 90px 0 0;
}

.niches-left {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 30px;
}

.niches-row {
	display: flex;
	align-items: flex-start;
	gap: 30px;
}

.niches-stack {
	display: flex;
	flex: 0 0 244px;
	flex-direction: column;
	gap: 30px;
}

.niches-right {
	display: flex;
	flex: 0 0 422px;
	flex-direction: column;
	gap: 30px;
}

/* fixed dimensions per the macet */
.niche-card--services  { flex: 1 1 auto; min-height: 433px; }
.niche-card--rent      { min-height: 212px; }
.niche-card--tourism   { min-height: 173px; }
.niche-card--products  { min-height: 515px; }
.niche-card--production,
.niche-card--medicine  { flex: 1 1 0; min-height: 269px; }
.niche-card--realestate { min-height: 193px; }
.niche-card--education { flex: 1 1 auto; min-height: 211px; }
.niche-card--apps      { flex: 0 0 330px; min-height: 111px; }

.niche-card {
	position: relative;
	min-width: 0;
	padding: 60px 26px 22px;
	background: transparent;
	color: var(--km-black);
}

/* white card body */
.niche-card::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: 30px;
	right: 0;
	bottom: 0;
	left: 0;
	border-radius: 22px;
	background: #fff;
}

/* title pill, straddling the top edge of the card */
.niche-card > h3 {
	position: absolute;
	top: 0;
	left: 30px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	max-width: calc(100% - 60px);
	height: 48px;
	margin: 0;
	padding: 0 26px;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(32, 32, 32, 0.06);
	font-family: var(--km-font-display);
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.niche-card__check {
	font-size: 20px;
	line-height: 1;
}

.niche-card ul {
	position: relative;
	z-index: 2;
	margin: 0;
	padding: 0;
	list-style: none;
}

.niche-card li {
	margin: 0;
	color: rgba(32, 32, 32, 0.82);
	font-family: var(--km-font-base);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}

.niche-card__ico {
	margin-right: 4px;
}

/* two-column lists (Услуги, Образование) flow column by column */
.niche-card--wide ul {
	columns: 2;
	column-gap: 30px;
}

.niche-card--wide li {
	break-inside: avoid;
}

/* Mobile-only regrouped niches carousel (hidden on desktop) */
.niches__categories--mobile {
	display: none;
}

/* Extra specificity beats the later `.niche-cta { display: flex }` rule */
.niche-cta.niche-cta--mobile {
	display: none;
}

.niche-cta {
	position: relative;
	display: flex;
	min-height: 211px;
	flex-direction: column;
	justify-content: space-between;
	gap: 30px;
	border-radius: 24px;
	background: #202020;
	padding: 32px 34px 28px;
	color: #fff;
}

.niche-cta__icon {
	position: absolute;
	top: 30px;
	right: 32px;
	width: 60px;
	height: 60px;
}

.niche-cta h3 {
	max-width: 320px;
	margin: 0;
	color: #fff;
	font-family: var(--km-font-base);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
}

.niche-cta a {
	display: inline-flex;
	width: 100%;
	height: 56px;
	align-items: center;
	justify-content: center;
	gap: 14px;
	border-radius: 999px;
	background: linear-gradient(180deg, #ff4c73 0%, #ed204c 100%);
	color: #fff;
	font-family: var(--km-font-base);
	font-size: 15px;
	font-weight: 600;
}

/* Desktop: match the form CTAs at 18px (stays 15px on tablet/mobile) */
@media (min-width: 941px) {
	.niche-cta a {
		font-size: 18px;
	}
}

/* === Static legal pages (Privacy policy, Consent) — page.php === */
/* Keep the whole canvas light: the landing keeps a dark <html> background,
   which otherwise peeks out above the header (margin collapse) and beside the
   1440px column. flow-root contains the header's top margin so no dark strip. */
body.page:not(.home) {
	background: #fff;
}

body.page:not(.home) #page.site {
	background: #fff;
	display: flow-root;
}

.legal-page {
	background: #fff;
	color: #202020;
	padding: 150px 0 90px;
}

.legal-page__inner {
	max-width: 900px;
}

.legal-page__title {
	margin: 0 0 32px;
	font-family: var(--km-font-display);
	font-size: 52px;
	font-weight: 600;
	line-height: 1.05;
	text-transform: uppercase;
}

.legal-page__content {
	font-family: var(--km-font-base);
	font-size: 16px;
	line-height: 1.7;
	color: rgba(32, 32, 32, 0.82);
}

.legal-page__content h2 {
	margin: 36px 0 14px;
	font-family: var(--km-font-base);
	font-size: 24px;
	font-weight: 700;
	color: #202020;
}

.legal-page__content h3 {
	margin: 28px 0 12px;
	font-family: var(--km-font-base);
	font-size: 19px;
	font-weight: 700;
	color: #202020;
}

.legal-page__content p {
	margin: 0 0 14px;
}

.legal-page__content ul,
.legal-page__content ol {
	margin: 0 0 16px;
	padding-left: 22px;
}

.legal-page__content li {
	margin-bottom: 8px;
}

.legal-page__content a {
	color: var(--km-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.legal-page__content strong {
	color: #202020;
}

@media (max-width: 640px) {
	.legal-page {
		padding: 110px 0 60px;
	}

	.legal-page__title {
		font-size: 34px;
		margin-bottom: 22px;
	}

	.legal-page__content {
		font-size: 15px;
	}

	.legal-page__content h2 {
		font-size: 20px;
	}

	.legal-page__content h3 {
		font-size: 17px;
	}
}

/* White diagonal arrow icon inside red buttons */
.btn-arrow {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
}

.btn-arrow img {
	display: block;
	width: 22px;
	height: 22px;
}

.reviews__more .btn-arrow img {
	width: 26px;
	height: 26px;
}

.niche-cta .btn-arrow img {
	width: 18px;
	height: 18px;
}

.site-footer__brand .btn-arrow img {
	width: 13px;
	height: 13px;
}

.reviews {
	/* Full-bleed so the 1500px video line can centre on the viewport without
	   the section edges clipping the first/last cards */
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 88px 0 0;
	background: var(--km-surface);
	color: var(--km-black);
	overflow: hidden;
}

.reviews__head {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 64px;
	margin-bottom: 58px;
}

.reviews__title {
	font-size: 110px;
	text-align: left;
}

.reviews__hint {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 96px;
	border-radius: 999px;
	background: #fff;
	padding: 0 34px 0 58px;
	color: rgba(32, 32, 32, 0.82);
	font-size: 22px;
	font-weight: 500;
}

.reviews__hint button {
	display: grid;
	width: 62px;
	height: 62px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: linear-gradient(180deg, #ff4c73 0%, #d81945 100%);
	color: #fff;
	font-size: 24px;
	cursor: pointer;
}

/* Video reviews — horizontal scroll carousel. The track is full-bleed, but its
   first card is anchored to the content column (same left gutter as .km-container)
   so the leftmost video is never clipped, and the row bleeds only to the right. */
/* The track lives inside .km-container (.reviews-video-wrap), so its left edge
   always lines up with the "Отзывы" title. It scrolls horizontally within the
   container width; the right-most card is naturally half-visible as a swipe hint. */
.reviews-video {
	display: flex;
	gap: 24px;
	margin: 0 0 64px;
	padding: 0 0 6px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.reviews-video::-webkit-scrollbar {
	display: none;
}

.reviews-video__item {
	position: relative;
	flex: 0 0 340px;
	height: 480px;
	overflow: hidden;
	border-radius: 30px;
	background: #222;
	scroll-snap-align: start;
}

.reviews-video__poster {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.62);
	/* Some browsers (e.g. Yandex) overlay their own video controls on a <video>
	   and swallow the click. Disabling pointer events on the poster lets the
	   click reach the play button / card handler. The playing <video> uses the
	   .reviews-video__media class instead, which keeps its native controls. */
	pointer-events: none;
}

/* The injected player (video or iframe) fills the card */
.reviews-video__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
	background: #000;
}

.reviews-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	width: 78px;
	height: 78px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: linear-gradient(180deg, #ff4c73 0%, #e51d49 100%);
	box-shadow: 0 14px 30px rgba(229, 29, 73, 0.4);
	transform: translate(-50%, -50%);
	cursor: pointer;
	transition: transform 0.15s ease;
}

.reviews-video__play:hover {
	transform: translate(-50%, -50%) scale(1.08);
}

.reviews-video__play img {
	width: 35px;
	height: 40px;
	margin-left: 5px;
}

.reviews-wall {
	display: flex;
	align-items: flex-start;
	gap: 22px;
	width: min(100%, 1440px);
	margin: 0 auto;
}

.reviews-col {
	display: flex;
	min-width: 0;
	flex: 1 1 0;
	flex-direction: column;
	gap: 22px;
}

.review-shot {
	overflow: hidden;
	border-radius: 20px;
	background: transparent;
}

.review-shot img {
	display: block;
	width: 100%;
	height: auto;
}

.reviews__more {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(calc(100% - 80px), 1040px);
	height: 72px;
	margin: 56px auto 0;
	border-radius: 999px;
	/* Telegram brand colour */
	background: linear-gradient(180deg, #2ca5e0 0%, #229ed9 100%);
	color: #fff;
	font-size: 22px;
	font-weight: 800;
}

.reviews__more span {
	display: inline-flex;
	align-items: center;
	margin-left: 18px;
}

.reviews__more span img {
	width: 30px;
	height: 30px;
}

.lead-form {
	position: relative;
	z-index: 4;
	border-radius: 34px;
	background: #fff;
	padding: 52px;
	color: var(--km-black);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.lead-form h3 {
	margin: 0 0 30px;
	font-family: var(--km-font-base);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.28;
}

.lead-form h3 span {
	color: var(--km-blue);
}

.lead-form label {
	display: block;
	margin-bottom: 14px;
}

.lead-form label span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.lead-form input {
	width: 100%;
	height: 66px;
	border: 0;
	border-radius: 999px;
	background: #eef0f2;
	padding: 0 38px;
	color: var(--km-black);
	font: 400 14px/1 var(--km-font-base);
	outline: none;
}

.lead-form button {
	display: flex;
	width: 100%;
	height: 72px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(180deg, #ff4c73 0%, #cf123d 100%);
	box-shadow: 0 18px 36px rgba(248, 51, 93, 0.32);
	color: #fff;
	font-family: var(--km-font-base);
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
}

.lead-form button {
	transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.lead-form button:hover {
	filter: brightness(1.04);
	box-shadow: 0 22px 44px rgba(248, 51, 93, 0.38);
}

/* Tactile press feedback on every form button */
.lead-form button:active {
	transform: translateY(2px) scale(0.985);
	box-shadow: 0 8px 18px rgba(248, 51, 93, 0.3);
}

.lead-form button[disabled] {
	opacity: 0.7;
	cursor: progress;
}

.lead-form button span {
	margin-left: 18px;
	font-size: 30px;
}

@media (prefers-reduced-motion: reduce) {
	.lead-form button {
		transition: none;
	}

	.lead-form button:active {
		transform: none;
	}
}

/* Footer row: the "Не хотите заполнять форму?" text on the left, social icons
   on the right. Keeping them in flow lets the status message sit full-width
   below them instead of being squeezed in beside the icons. */
.lead-form__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-top: 26px;
}

.lead-form p {
	margin: 0;
	color: rgba(32, 32, 32, 0.75);
	font-family: var(--km-font-base);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
}

.lead-form__socials {
	display: flex;
	flex-shrink: 0;
	gap: 14px;
}

.lead-form__socials a,
.lead-form__socials img {
	width: 56px;
	height: 56px;
}

.estimate {
	position: relative;
	overflow: visible;
	background: var(--km-surface);
	color: #fff;
	padding: 122px 0 88px;
}

.estimate::before {
	content: none;
}

.estimate__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 700px) 420px;
	gap: 28px;
	align-items: center;
	min-height: 555px;
	overflow: hidden;
	border-radius: 36px;
	background: var(--km-dark);
	padding: 68px 68px 64px;
}

.estimate__inner::before {
	content: "";
	position: absolute;
	top: -120px;
	left: 34%;
	width: 610px;
	height: 610px;
	border: 58px solid rgba(255, 255, 255, 0.03);
	border-radius: 50%;
	pointer-events: none;
}

.estimate__title {
	position: relative;
	z-index: 3;
	color: #fff;
	text-align: left;
	font-size: 68px;
	font-weight: 400;
}

.estimate__title span {
	font-weight: 600;
}

.estimate__content > p {
	position: relative;
	z-index: 3;
	max-width: 520px;
	margin: 34px 0 56px;
	padding-left: 56px;
	color: rgba(255, 255, 255, 0.9);
	font-family: var(--km-font-base);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.42;
}

.estimate__content > p::before {
	content: "";
	position: absolute;
	top: 14px;
	left: 0;
	width: 40px;
	height: 3px;
	border-radius: 2px;
	background: var(--km-blue);
}

.estimate__facts {
	position: relative;
	z-index: 2;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 24px;
	background: #2a2a2a;
	width: 100%;
	max-width: 720px;
	padding: 32px;
}

.estimate__facts strong {
	display: block;
	margin-bottom: 26px;
	font-family: var(--km-font-base);
	font-size: 24px;
	font-weight: 400;
}

.estimate__facts ul {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.estimate__facts li {
	position: relative;
	padding-left: 36px;
	color: rgba(255, 255, 255, 0.9);
	font-family: var(--km-font-base);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
}

.estimate__facts li img {
	position: absolute;
	top: 50%;
	left: 0;
	width: 28px;
	height: 28px;
	transform: translateY(-50%);
}

.mini-lead::before {
	content: "+";
	position: absolute;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #55d66d;
	color: #fff;
	font-weight: 800;
}

/* Combined right-side collage (doc + calculator + rings) */
.estimate__cases {
	position: absolute;
	right: -20px;
	bottom: 0;
	z-index: 1;
	width: 980px;
	pointer-events: none;
}

.estimate__lead {
	position: absolute;
	z-index: 3;
	width: 256px;
	height: auto;
	pointer-events: none;
	filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.28));
}

.estimate__lead--top {
	top: 48px;
	left: 72px;
}

.estimate__lead--bottom {
	bottom: 4px;
	left: 34%;
}

.launch-budget {
	position: relative;
	z-index: 1;
	background: var(--km-surface);
	color: var(--km-black);
	padding: 60px 0 0;
}

.launch-budget__panel {
	position: relative;
	width: min(100%, 1440px);
	margin: 0 auto;
	background: #fff;
	border-radius: 40px 40px 0 0;
	padding: 50px 50px 124px;
}

.launch-budget__badge {
	position: absolute;
	top: -18px;
	left: 50%;
	min-height: 38px;
	max-width: 460px;
	margin: 0;
	padding: 0 30px;
	transform: translateX(-50%);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.launch-budget__inner {
	width: 100%;
	max-width: none;
}

.launch-budget__title {
	max-width: 900px;
	margin: 0 auto 28px;
	font-size: 70px;
	font-weight: 400;
}

.launch-budget__title span {
	display: inline-block;
	color: var(--km-blue);
	font-weight: 700;
	background: url(../images/launch-underline.svg) bottom center / 100% auto no-repeat;
	padding-bottom: 16px;
}

.launch-budget__lead {
	max-width: 760px;
	margin: 0 auto 48px;
	color: rgba(32, 32, 32, 0.7);
	font-family: var(--km-font-base);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	text-align: center;
}

.budget-questions {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-bottom: 44px;
}

.budget-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 110px;
	border-radius: 22px;
	background: #e8eaec;
	padding: 24px 26px;
}

.budget-card p {
	margin: 0;
	color: var(--km-black);
	font-family: var(--km-font-base);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
}

.budget-card span {
	color: var(--km-blue);
	font-weight: 700;
}

.budget-card__icon {
	flex: 0 0 auto;
	width: 41px;
	height: 41px;
}

.budget-answer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 36px;
	border-radius: 30px;
	background: var(--km-dark);
	padding: 28px 40px;
	color: #fff;
}

.budget-answer p {
	margin: 0;
	font-family: var(--km-font-base);
	font-size: 28px;
	font-weight: 400;
}

.budget-answer p span {
	color: var(--km-blue);
	font-weight: 700;
}

.budget-answer a {
	display: inline-flex;
	min-width: 330px;
	height: 72px;
	align-items: center;
	justify-content: center;
	gap: 16px;
	border-radius: 999px;
	background: linear-gradient(180deg, #ff4c73 0%, #cf123d 100%);
	color: #fff;
	font-size: 23px;
	font-weight: 800;
}

.pricing {
	position: relative;
	z-index: 2;
	background: var(--km-surface);
	color: var(--km-black);
	padding: 0 0 60px;
}

.pricing__panel {
	width: min(100%, 1440px);
	margin: -100px auto 0;
	border-radius: 50px;
	background: var(--km-blue);
	padding: 50px;
}

.pricing-hero {
	color: #fff;
	padding: 0 0 50px;
}

.pricing-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 520px) minmax(500px, 1fr);
	gap: 70px;
	align-items: center;
}

.section-badge--left {
	margin-right: 0;
	margin-left: 0;
}

.pricing__title {
	color: #fff;
	text-align: left;
	font-size: 99px;
	font-weight: 400;
}

.pricing-hero__sub {
	margin: 36px 0 0;
	color: rgba(255, 255, 255, 0.95);
	font-family: var(--km-font-base);
	font-size: 19px;
	font-weight: 400;
}

.pricing-hero__sub strong {
	font-weight: 400;
}

.pricing-chart {
	position: relative;
	border-radius: 28px;
	background: #fff;
	padding: 34px;
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}

.pricing-chart img {
	width: 100%;
	border-radius: 18px;
}

.mini-lead {
	position: absolute;
	width: 210px;
	border-radius: 14px;
	background: #fff;
	padding: 17px 22px;
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
	color: rgba(32, 32, 32, 0.72);
	font-size: 12px;
}

.mini-lead::before {
	top: -14px;
	left: -14px;
	width: 30px;
	height: 30px;
	font-size: 22px;
}

.mini-lead b,
.mini-lead span {
	display: block;
}

.mini-lead b {
	font-size: 18px;
	color: rgba(32, 32, 32, 0.78);
}

.mini-lead--one {
	top: -34px;
	left: 80px;
}

.mini-lead--two {
	right: -18px;
	bottom: -26px;
}

.pricing__body {
	border-radius: 50px;
	background: #fff;
	padding: 50px;
}

.pricing__body h3 {
	margin: 0 0 40px;
	font-size: 32px;
}

.pricing-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px 22px;
	margin-bottom: 70px;
}

.pricing-list div {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--km-font-base);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
}

.pricing-list span {
	display: grid;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 50%;
	background: var(--km-blue);
	color: #fff;
	font-size: 18px;
	font-weight: 800;
}

.pricing-quote {
	display: flex;
	align-items: center;
	gap: 34px;
	border-radius: 999px;
	background: var(--km-dark);
	padding: 28px 54px 28px 32px;
	color: #fff;
}

.pricing-quote img {
	width: 112px;
	height: 112px;
	border-radius: 50%;
	object-fit: cover;
}

.pricing-quote p {
	margin: 0;
	font-family: var(--km-font-base);
	font-size: 25px;
	font-weight: 400;
	line-height: 1.35;
}

.pricing-quote span {
	color: var(--km-blue);
	font-weight: 600;
}

.timing {
	background: var(--km-surface);
	padding: 96px 0 0;
	color: var(--km-black);
}

.timing__head {
	text-align: center;
}

.timing__title {
	margin-bottom: 56px;
	font-size: 75px;
	font-weight: 400;
}

.timing__title span {
	display: inline-block;
	color: var(--km-blue);
	font-weight: 600;
	background: url(../images/timing-underline.svg) bottom center / 100% auto no-repeat;
	padding-bottom: 14px;
}

.timing-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 675px;
	gap: 0;
	align-items: stretch;
}

.timing-card__dark {
	position: relative;
	z-index: 1;
	width: calc(100% + 90px);
	border-radius: 50px;
	background: #202020;
	color: #fff;
	padding: 70px 0 70px 50px;
}

.timing-card__dark h3,
.timing-card__light h3 {
	margin: 0 0 28px;
	font-family: var(--km-font-base);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
}

.timing-card__dark h3 {
	max-width: 360px;
}

.timing-card__dark ul {
	display: grid;
	/* narrow left column (short labels), wider right column (long labels) —
	   keeps every item at 2 lines */
	grid-template-columns: 120px 1fr;
	gap: 22px 16px;
	max-width: 372px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.timing-card__dark li,
.timing-steps div {
	position: relative;
	padding-left: 40px;
	font-family: var(--km-font-base);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
}

.timing-card__dark li img,
.timing-steps img {
	position: absolute;
	left: 0;
	top: 0;
	width: 30px;
	height: 30px;
}

.timing-card__light {
	position: relative;
	z-index: 2;
	border-radius: 50px;
	background: #fff;
	color: var(--km-black);
	padding: 40px 22px 40px 40px;
}

.timing-card__sub {
	margin: 0 0 24px;
	color: rgba(32, 32, 32, 0.55);
	font-family: var(--km-font-base);
	font-size: 14px;
	font-weight: 400;
}

.timing-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px 10px;
}

/* Tighter icon offset gives the labels enough width to stay at 2 lines */
.timing-steps div {
	padding-left: 34px;
}

.timing-card__visual {
	position: absolute;
	z-index: 3;
	top: 50%;
	left: 620px;
	width: 340px;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.timing-card__lead {
	position: absolute;
	z-index: 4;
	top: 50px;
	left: 470px;
	width: 200px;
	pointer-events: none;
	filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.22));
}

.first-results {
	background: var(--km-surface);
	color: var(--km-black);
	padding: 96px 0;
}

.first-results .section-badge {
	margin: 0 auto 30px;
}

.first-results__title {
	margin: 0 auto 70px;
	text-align: center;
	font-family: var(--km-font-display);
	font-size: 70px;
	font-weight: 400;
}

.first-results__title span {
	position: relative;
	color: var(--km-blue);
	font-weight: 600;
}

.first-results__title span::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -10px;
	height: 9px;
	background: url("../images/fr-underline.svg") no-repeat center / 100% 100%;
}

.first-results__timeline {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 44px;
	margin-bottom: 70px;
}

.fr-step {
	position: relative;
}

.fr-step__dots {
	position: relative;
	display: flex;
	align-items: center;
	gap: 7px;
	height: 15px;
	margin-bottom: 22px;
}

.fr-step__dots img:not(.fr-step__arrow) {
	width: 15px;
	height: 15px;
}

.fr-step__arrow {
	position: absolute;
	top: 50%;
	left: 70px;
	width: auto;
	height: 8px;
	transform: translateY(-50%);
}

.fr-step p {
	margin: 0;
	font-family: var(--km-font-base);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(32, 32, 32, 0.85);
}

.fr-step p b {
	font-weight: 600;
	color: var(--km-black);
}

.first-results__lead {
	margin: 0 0 34px;
	font-family: var(--km-font-base);
	font-size: 20px;
	font-weight: 600;
}

.first-results__stack {
	position: relative;
}

.first-results__cards {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.first-results__cards article {
	position: relative;
	min-height: 200px;
	overflow: hidden;
	border-radius: 30px;
	background: #fff;
	padding: 30px 34px;
}

.fr-card__week {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 999px;
	background: #eef0f2;
	padding: 9px 18px;
	color: var(--km-blue);
	font-family: var(--km-font-base);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.fr-card__week img {
	width: 9px;
	height: 9px;
}

.fr-card__cal {
	position: absolute;
	top: 26px;
	right: 30px;
	width: 110px;
}

.first-results__cards p {
	max-width: 250px;
	margin: 26px 0 0;
	font-family: var(--km-font-base);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
}

.first-results__bottom {
	position: relative;
	z-index: 1;
	margin-top: -80px;
	border-radius: 30px;
	background: #202020;
	color: #fff;
	padding: 130px 50px 50px;
}

.first-results__bottom p {
	margin: 0 0 30px;
	font-family: var(--km-font-base);
	font-size: 20px;
	font-weight: 600;
}

.first-results__bottom ul {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.first-results__bottom li {
	display: flex;
	align-items: center;
	gap: 14px;
	color: rgba(255, 255, 255, 0.92);
	font-family: var(--km-font-base);
	font-size: 16px;
	font-weight: 400;
}

.first-results__bottom li img {
	flex: 0 0 auto;
	width: 13px;
	height: 13px;
}

.process {
	background: var(--km-surface);
	color: var(--km-black);
	padding: 96px 0;
}

.process .section-badge {
	margin: 0 auto 30px;
}

.process__title {
	margin: 0 auto 56px;
	text-align: center;
	font-family: var(--km-font-display);
	font-size: 70px;
	font-weight: 400;
}

.process__title span {
	position: relative;
	color: #1473ff;
	font-weight: 600;
}

.process__title span::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -8px;
	height: 10px;
	background: url("../images/process-underline.svg") no-repeat center / 100% 100%;
}

.process__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 478px;
	gap: 14px;
	align-items: start;
}

.process__list {
	display: grid;
	gap: 14px;
}

.process-step {
	display: flex;
	min-height: 72px;
	align-items: center;
	gap: 18px;
	border-radius: 999px;
	background: #fff;
	padding: 0 26px;
	cursor: pointer;
	user-select: none;
	transition: background 0.18s ease;
}

.process-step:focus-visible {
	outline: 2px solid #1473ff;
	outline-offset: 2px;
}

.process-step__badge {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	border-radius: 999px;
	background: #eef0f2;
	padding: 0 16px;
	color: #1473ff;
	font-family: var(--km-font-display);
	font-size: 22px;
	font-weight: 500;
	text-transform: uppercase;
	white-space: nowrap;
}

.process-step__badge img {
	width: 9px;
	height: 9px;
}

.process-step__name {
	font-family: var(--km-font-base);
	font-size: 18px;
	font-weight: 600;
	color: var(--km-black);
}

.process-step.is-active {
	background: #1473ff;
}

.process-step.is-active .process-step__badge {
	background: #fff;
}

.process-step.is-active .process-step__name {
	color: #fff;
}

.process__phone {
	position: relative;
	overflow: hidden;
	min-height: 100%;
	border-radius: 30px;
	background: #202020;
	color: #fff;
	padding: 44px 42px;
}

/* Big faint step number anchored to the left edge, behind all content
   (switches with the active step) */
.process__phone__num {
	position: absolute;
	z-index: 0;
	left: -10px;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--km-font-base);
	font-size: 360px;
	line-height: 0.8;
	font-weight: 800;
	letter-spacing: -10px;
	color: rgba(255, 255, 255, 0.05);
	pointer-events: none;
	white-space: nowrap;
}

.process__phone__text {
	position: relative;
	z-index: 2;
	max-width: 250px;
	margin: 0;
	font-family: var(--km-font-base);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

.process__phone__bullets {
	margin: 10px 0 0;
	padding-left: 20px;
}

.process__phone__bullets li {
	margin-bottom: 6px;
}

.process__phone__art {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: -16px;
	width: 242px;
}

/* Floating circle icon over the artwork (steps that need it) */
.process__phone__icon {
	position: absolute;
	z-index: 3;
}

.process__phone__icon[hidden] {
	display: none;
}

/* Animated transition when switching the active step. The .is-anim class is
   toggled (with a forced reflow) by JS on every step change to re-trigger it. */
@keyframes km-process-fade-up {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes km-process-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.process__phone.is-anim .process__phone__text,
.process__phone.is-anim .process__phone__art,
.process__phone.is-anim .process__phone__icon {
	animation: km-process-fade-up 0.4s ease both;
}

.process__phone.is-anim .process__phone__art {
	animation-delay: 0.05s;
}

/* The number keeps its translateY(-50%) centring, so fade opacity only. */
.process__phone.is-anim .process__phone__num {
	animation: km-process-fade 0.4s ease both;
}

@media (prefers-reduced-motion: reduce) {
	.process__phone.is-anim .process__phone__text,
	.process__phone.is-anim .process__phone__art,
	.process__phone.is-anim .process__phone__icon,
	.process__phone.is-anim .process__phone__num {
		animation: none;
	}
}

/* Per-step illustration sizing (compositions differ) */
.process__phone[data-step="2"] .process__phone__art {
	right: 8px;
	bottom: 0;
	width: 300px;
}

.process__phone[data-step="3"] .process__phone__art {
	right: -18px;
	bottom: 0;
	width: 372px;
}

.process__phone[data-step="4"] .process__phone__art {
	right: 0;
	bottom: 26px;
	width: 410px;
}

.process__phone[data-step="5"] .process__phone__art {
	right: 14px;
	bottom: 30px;
	width: 250px;
}

.process__phone[data-step="6"] .process__phone__art {
	right: 8px;
	bottom: 26px;
	width: 380px;
}

.process__phone[data-step="6"] .process__phone__icon {
	top: 150px;
	right: 24px;
	width: 92px;
}

.process__phone[data-step="7"] .process__phone__art {
	right: -16px;
	bottom: 24px;
	width: 320px;
}

.process__phone[data-step="8"] .process__phone__art {
	right: 12px;
	bottom: 0;
	width: 290px;
}

.process__phone[data-step="9"] .process__phone__art {
	right: 14px;
	bottom: 0;
	width: 260px;
}

.process__phone[data-step="10"] .process__phone__art {
	right: 8px;
	bottom: 26px;
	width: 300px;
}

.process__phone[data-step="10"] .process__phone__icon {
	right: 250px;
	bottom: 150px;
	width: 88px;
}

.faq {
	background: var(--km-surface);
	color: var(--km-black);
	padding: 112px 0 92px;
}

.faq .section-badge {
	margin: 0 auto 24px;
}

.faq__title {
	margin: 0 auto 60px;
	text-align: center;
	font-family: var(--km-font-display);
	font-size: 182px;
	font-weight: 400;
	line-height: 1;
}

.faq__list {
	display: grid;
	gap: 18px;
}

.faq-item {
	border-radius: 22px;
	background: #fff;
	padding: 0 36px;
}

.faq-item summary {
	display: flex;
	min-height: 84px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	cursor: pointer;
	list-style: none;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item__q {
	font-family: var(--km-font-base);
	font-size: 22px;
	font-weight: 600;
	color: var(--km-black);
}

.faq-item__icon {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	background: url("../icons/faq-plus.svg") no-repeat center / contain;
	transition: transform 0.25s ease;
}

.faq-item[open] .faq-item__icon {
	transform: rotate(45deg);
}

.faq-item p {
	margin: 0;
	padding: 0 70px 30px 0;
	font-family: var(--km-font-base);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(32, 32, 32, 0.7);
}

.final-cta {
	position: relative;
	background: var(--km-surface);
	color: #fff;
	padding: 40px 0 80px;
}

.final-cta__panel {
	position: relative;
	border-radius: 40px;
	background: #1473ff;
	padding: 46px 50px;
	/* clip the photo (dark background) to the rounded panel so it reads as a
	   clean photo panel on the right */
	overflow: hidden;
}

.final-cta__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 480px 250px;
	column-gap: 44px;
	align-items: center;
}

.final-cta .section-badge {
	margin: 0 0 36px;
}

.final-cta .section-badge span {
	background: #1473ff;
}

.final-cta__title {
	color: #fff;
	text-align: left;
	font-family: var(--km-font-display);
	font-size: 70px;
	font-weight: 400;
	line-height: 0.98;
}

.final-cta__content p {
	margin: 28px 0 0;
	max-width: 430px;
	color: #fff;
	font-family: var(--km-font-base);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
}

.final-cta__form {
	z-index: 3;
	box-shadow: none;
}

.final-cta__person {
	position: absolute;
	right: -77px; /* the PNG has ~184px of transparent margin on each side; this pulls the visible person to ~20px from the panel edge (extra margin is clipped by overflow) */
	bottom: -90px;
	width: 440px;
	height: auto;
	z-index: 2;
	pointer-events: none;
}

.site-footer {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: #202020;
	color: #fff;
	padding: 96px 0 110px;
}

.site-footer > .km-container {
	width: min(100%, 1440px);
	margin-inline: auto;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 300px 300px 220px 240px;
	column-gap: 80px;
	justify-content: center;
	align-items: start;
}

.site-footer h2 {
	margin: 0 0 40px;
	font-family: var(--km-font-display);
	font-size: 38px;
	font-weight: 400;
	text-transform: uppercase;
	color: #fff;
}

.site-footer__logo {
	width: 118px;
	margin-bottom: 70px;
}

.site-footer__brand p {
	margin: 0 0 30px;
	color: rgba(255, 255, 255, 0.55);
	font-family: var(--km-font-display);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.25;
	text-transform: uppercase;
}

.site-footer__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	border-radius: 999px;
	background: linear-gradient(180deg, #ff4c73 0%, #cf123d 100%);
	padding: 0 28px;
	color: #fff;
	font-family: var(--km-font-base);
	font-size: 12px;
	font-weight: 600;
}

.site-footer__cta .btn-arrow img {
	width: 12px;
	height: 12px;
}

.site-footer__contacts p {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	color: #fff;
	font-family: var(--km-font-inter);
	font-size: 17px;
	font-weight: 400;
}

.site-footer__contacts p img {
	width: 18px;
	height: 18px;
}

.site-footer__messengers {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 40px;
}

.site-footer__messengers span {
	margin-right: 4px;
	color: #fff;
	font-family: var(--km-font-base);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
}

.site-footer__messengers a,
.site-footer__messengers img {
	width: 30px;
	height: 30px;
}

.site-footer__nav,
.site-footer__legal {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.site-footer__nav a,
.site-footer__legal a {
	margin-bottom: 21px;
	color: rgba(255, 255, 255, 0.6);
	font-family: var(--km-font-base);
	font-size: 12px;
	font-weight: 400;
}

@media (max-width: 1200px) {
	.site-nav {
		gap: 12px;
	}

	.site-nav a {
		font-size: 10px;
	}

	.site-header__question {
		font-size: 12px;
	}

	/* collapse the niches mosaic into flexible columns */
	.niches__categories {
		flex-direction: column;
	}

	.niches-right {
		flex: 1 1 auto;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.niches-row,
	.niches-stack {
		flex: 1 1 auto;
	}

	.niches-stack {
		flex-direction: row;
	}

	.niche-card--apps,
	.niches-stack {
		flex: 1 1 0;
	}

	.niche-card {
		min-height: 0;
	}
}

@media (max-width: 940px) {
	.km-container {
		width: min(calc(100% - 32px), 680px);
	}

	.benefits .km-container {
		width: min(calc(100% - 32px), 680px);
	}

	.site-header__inner {
		gap: 12px;
	}

	.site-nav {
		display: none;
	}

	.site-header__question {
		margin-left: auto;
	}

	.hero {
		padding-top: 92px;
	}

	.hero__inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	/* single-column: no stretched height, so don't space-between */
	.hero__copy {
		justify-content: normal;
	}

	.hero__title {
		width: 100%;
		max-width: 100%;
		font-size: clamp(55px, 11vw, 77px);
	}

	.hero-mark {
		top: 8px;
		right: 0;
		left: auto;
		width: 170px;
		height: 170px;
		opacity: 0.72;
	}

	.hero-brand-visual {
		top: -24px;
		right: -90px;
		left: auto;
		width: 420px;
		opacity: 0.5;
	}

	.hero__points {
		max-width: 100%;
		margin-top: 30px;
	}

	.hero-audit {
		width: 100%;
		max-width: 535px;
		/* single-column layout: restore the gap + drop the desktop 250px sizing */
		min-height: 0;
		justify-content: flex-start;
		margin-top: 36px;
	}

	.hero-media {
		width: min(100%, 360px);
		height: 460px;
		justify-self: center;
	}

	.section-title {
		font-size: 62px;
	}

	.section-badge {
		margin-bottom: 34px;
		padding-inline: 34px;
	}

	.benefits,
	.cases {
		padding-block: 76px;
	}

	.benefits__title,
	.cases__title {
		margin-bottom: 46px;
	}

	.benefits__grid,
	.cases__grid,
	.niches__categories {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cases__grid {
		height: auto;
		gap: 30px;
	}

	.case-card {
		position: relative;
		top: auto;
		left: auto;
		width: auto;
		height: auto;
		min-height: 360px;
	}

	.cases__more {
		width: min(100%, 760px);
		margin: 30px auto 0;
	}

	.benefit-card,
	.case-card {
		padding-inline: 30px;
	}

	.case-card h3 {
		font-size: 39px;
	}

	.niches__title {
		font-size: 68px;
	}

	.niches-showcase__inner {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.niches-showcase__content {
		padding: 70px 0 310px;
	}

	.niches-showcase__visual {
		inset: auto -80px 0 auto;
		width: 620px;
		height: 330px;
	}

	.niches__categories {
		padding-top: 72px;
	}
}

@media (max-width: 640px) {
	.km-container {
		width: min(calc(100% - 32px), 440px);
	}

	.site-header {
		top: 14px;
		margin: 14px auto -58px;
	}

	.admin-bar .site-header {
		top: 60px;
		margin-top: 60px;
	}

	.site-header__inner {
		height: 44px;
		padding-inline: 14px 10px;
	}

	.site-logo,
	.site-logo img {
		width: 70px;
	}

	.site-header__question {
		display: none;
	}

	.site-socials a,
	.site-socials img {
		width: 26px;
		height: 26px;
	}

	.hero {
		min-height: auto;
		padding: 82px 0 66px;
	}

	.hero__rings {
		top: -42px;
		width: 620px;
		transform: translateX(-55%);
	}

	.hero__title {
		width: 100%;
		max-width: 100%;
		font-size: 36px;
		line-height: 0.92;
	}

	.hero__title-line {
		width: 100%;
		white-space: normal;
		transform: none;
	}

	.hero-mark {
		top: 118px;
		width: 118px;
		height: 118px;
	}

	/* Decorative Direct logo hidden on mobile — it was cut off / overlapping */
	.hero-brand-visual {
		display: none;
	}

	.hero-mark__text {
		inset: -17px;
		width: calc(100% + 34px);
		height: calc(100% + 34px);
	}

	.hero-mark__core {
		width: 66px;
		height: 66px;
	}

	.hero-mark__core svg {
		width: 54px;
		height: 54px;
	}

	.hero__points {
		grid-template-columns: 1fr;
		gap: 10px;
		margin-top: 30px;
	}

	.hero__points li {
		font-size: 14px;
		line-height: 1.35;
	}

	.hero-audit {
		width: 100%;
		max-width: 100%;
		min-height: 0;
		margin: 26px auto 0;
		padding: 92px 18px 20px;
		border-radius: 18px;
	}

	.hero-audit__visual {
		top: 17px;
		left: 20px;
		width: 92px;
		height: 95px;
	}

	.hero-audit__row {
		width: 100%;
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.hero-audit__title {
		width: 100%;
		max-width: 100%;
		font-size: 13px;
		line-height: 1.42;
	}

	.hero-audit__button {
		align-self: stretch;
		width: 100%;
	}

	.hero-audit__note {
		max-width: 100%;
		font-size: 10px;
	}

	.hero-media {
		width: 100%;
		max-width: none;
		height: 390px;
	}

	.section-badge {
		min-height: 44px;
		margin-bottom: 28px;
		padding: 0 22px;
		font-size: 10px;
	}

	.section-title,
	.cases__title,
	.niches__title {
		font-size: 46px;
		line-height: 0.94;
	}

	.benefits,
	.cases {
		padding-block: 56px;
	}

	.benefits__grid,
	.cases__grid,
	.niches__categories {
		display: grid;
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.benefit-card {
		min-height: 240px;
		padding: 62px 26px 30px;
	}

	.benefit-card h3 {
		max-width: 240px;
		font-size: 20px;
	}

	.benefit-card p {
		margin-top: 26px;
		font-size: 14px;
	}

	.benefit-card__arrow,
	.benefit-card__lead,
	.benefit-card__decor,
	.benefit-card__image {
		opacity: 0.64;
	}

	.case-card {
		min-height: 360px;
		padding: 38px 28px 32px;
	}

	.case-card h3 {
		font-size: 36px;
	}

	.case-card li {
		font-size: 15px;
	}

	.case-card a {
		min-width: 210px;
		height: 52px;
		font-size: 15px;
	}

	.case-card__image--main {
		opacity: 0.62;
	}

	.cases__more {
		height: 58px;
		margin-top: 24px;
		font-size: 17px;
	}

	.niches {
		padding-bottom: 70px;
	}

	.niches__lead {
		margin-bottom: 44px;
		font-size: 16px;
	}

	.niches-showcase__content {
		padding: 52px 0 260px;
	}

	.niches-showcase__content h3 {
		font-size: 24px;
	}

	.niches-showcase__tags span {
		min-height: 38px;
		padding-inline: 18px;
		font-size: 13px;
	}

	.niches-showcase__content strong {
		min-height: 50px;
		padding-inline: 22px;
		font-size: 14px;
	}

	.niches-showcase__visual {
		right: -230px;
		width: 560px;
		height: 290px;
	}

	.niches-showcase__yandex {
		top: 72px;
		left: 185px;
		width: 86px;
		height: 86px;
	}

	.niches-lead--small {
		top: 178px;
		left: 48px;
		width: 160px;
	}

	.niches-lead--large {
		right: 80px;
		bottom: 24px;
		width: 250px;
		padding: 20px 24px;
		font-size: 12px;
	}

	.niches-lead--large b {
		font-size: 22px;
	}

	.niche-card {
		min-height: 0;
		padding: 58px 26px 30px;
	}

	.niche-card:nth-child(1),
	.niche-card:nth-child(3),
	.niche-card:nth-child(5) {
		min-height: 0;
	}

	.niche-card h3 {
		left: 18px;
		max-width: calc(100% - 36px);
		padding-inline: 18px;
		font-size: 23px;
		white-space: normal;
	}

	.niche-card li {
		font-size: 14px;
	}

	.niche-cta {
		min-height: 220px;
		padding: 30px;
	}

	/* Heading must not run under the ruble icon (top-right) */
	.niche-cta h3 {
		max-width: calc(100% - 76px);
		font-size: 21px;
		line-height: 1.22;
	}

	.niche-cta__icon {
		top: 26px;
		right: 26px;
		width: 52px;
		height: 52px;
	}
}

@media (max-width: 940px) {
	.reviews__head,
	.estimate__inner,
	.pricing-hero__inner,
	.final-cta__inner {
		grid-template-columns: 1fr;
	}

	.reviews__head {
		gap: 26px;
	}

	.reviews__title,
	.estimate__title,
	.pricing__title,
	.final-cta__title {
		text-align: center;
	}

	.reviews__hint {
		justify-content: center;
	}

	.reviews-video {
		width: auto;
		margin: 0 0 48px;
		transform: none;
	}

	.reviews-video__item {
		flex-basis: 300px;
		height: 430px;
	}

	.reviews-wall {
		flex-wrap: wrap;
	}

	.reviews-col {
		flex: 1 1 240px;
	}

	.estimate__report,
	.estimate__calculator {
		opacity: 0.26;
	}

	.estimate__facts ul,
	.budget-questions,
	.pricing-list,
	.first-results__timeline,
	.first-results__cards,
	.first-results__bottom ul {
		grid-template-columns: repeat(2, 1fr);
	}

	.budget-answer__inner,
	.pricing-quote {
		align-items: flex-start;
		flex-direction: column;
	}

	.timing-card__inner,
	.process__grid,
	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.timing-card__visual {
		min-height: 230px;
	}

	.timing-card__light {
		border-radius: 34px 34px 0 0;
	}

	.process__phone {
		min-height: 280px;
	}

	.final-cta__person {
		opacity: 0.35;
	}
}

@media (max-width: 640px) {
	.reviews,
	.estimate,
	.launch-budget,
	.pricing__body,
	.timing,
	.first-results,
	.process,
	.faq,
	.final-cta,
	.site-footer {
		padding-top: 58px;
	}

	.reviews__title,
	.estimate__title,
	.launch-budget__title,
	.pricing__title,
	.timing__title,
	.first-results__title,
	.process__title,
	.final-cta__title {
		font-size: 42px;
	}

	.reviews__hint {
		min-height: 76px;
		padding: 14px 18px;
		border-radius: 24px;
		font-size: 15px;
	}

	.reviews__hint button {
		width: 44px;
		height: 44px;
	}

	.reviews-video {
		width: auto;
		margin: 0 0 40px;
		transform: none;
	}

	.reviews-video__item {
		flex-basis: 76vw;
		height: 430px;
	}

	.reviews-wall {
		flex-wrap: wrap;
	}

	.reviews-col {
		flex: 1 1 220px;
	}

	.reviews__more {
		width: calc(100% - 32px);
		height: 60px;
		padding: 0 18px;
		font-size: 14px;
		white-space: nowrap;
	}

	/* Smaller arrow + tighter gap so the label stays on one line */
	.reviews__more span {
		margin-left: 12px;
		font-size: 0;
	}

	.reviews__more .btn-arrow img {
		width: 18px;
		height: 18px;
	}

	.lead-form {
		padding: 30px 22px;
		border-radius: 24px;
	}

	.lead-form h3 {
		font-size: 20px;
	}

	.lead-form input,
	.lead-form button {
		height: 56px;
	}

	.lead-form button {
		font-size: 15px;
	}

	/* Stack the footer (text over icons) on narrow screens */
	.lead-form__foot {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.estimate__inner,
	.pricing-hero__inner,
	.final-cta__inner {
		gap: 34px;
	}

	.estimate__content > p,
	.pricing-hero p,
	.final-cta__content p {
		font-size: 16px;
		text-align: center;
	}

	.estimate__facts {
		padding: 24px;
	}

	.estimate__facts ul,
	.budget-questions,
	.pricing-list,
	.first-results__timeline,
	.first-results__cards,
	.first-results__bottom ul {
		grid-template-columns: 1fr;
	}

	.budget-questions div {
		min-height: 86px;
		font-size: 17px;
	}

	.budget-answer__inner {
		padding-block: 30px;
	}

	.budget-answer p {
		font-size: 22px;
	}

	.budget-answer a {
		min-width: 0;
		width: 100%;
		height: 58px;
		font-size: 18px;
	}

	.pricing-chart {
		padding: 18px;
	}

	.mini-lead {
		display: none;
	}

	.pricing-quote {
		border-radius: 28px;
		padding: 26px;
	}

	.pricing-quote img {
		width: 82px;
		height: 82px;
	}

	.pricing-quote p {
		font-size: 20px;
	}

	.timing-card__inner {
		width: min(calc(100% - 32px), 420px);
	}

	.timing-card__dark,
	.timing-card__light {
		padding: 34px 24px;
	}

	.timing-card__light div {
		grid-template-columns: 1fr;
	}

	.first-results__timeline {
		border-top: 0;
		padding-top: 0;
	}

	.first-results__timeline div::before {
		display: none;
	}

	.first-results__cards article {
		min-height: 190px;
		padding: 34px 26px;
	}

	.first-results__cards .fr-card__cal {
		width: 95px;
		opacity: 0.6;
	}

	.process__list div {
		min-height: 58px;
		padding-inline: 22px;
		font-size: 16px;
	}

	.process__phone__art {
		width: 180px;
	}

	.faq__title {
		font-size: 86px;
	}

	.faq summary,
	.faq details p {
		width: min(calc(100% - 32px), 420px);
	}

	.faq summary {
		min-height: 76px;
		font-size: 17px;
	}

	.final-cta__inner {
		min-height: 0;
		padding-bottom: 44px;
	}

	.final-cta__person {
		display: none;
	}

	.site-footer__inner {
		gap: 42px;
	}
}

/* === Mobile overflow fixes (kept last so they win over earlier rules) === */
@media (max-width: 940px) {
	/* Timing card: stack into one column, drop fixed widths & floats */
	.timing-card {
		grid-template-columns: 1fr;
	}

	.timing-card__dark {
		width: 100%;
	}

	.timing-card__light {
		width: auto;
	}

	.timing-card__dark ul,
	.timing-steps {
		grid-template-columns: 1fr;
		max-width: 100%;
	}

	.timing-card__dark h3,
	.timing-card__light h3 {
		max-width: 100%;
	}

	.timing-card__visual,
	.timing-card__lead {
		display: none;
	}

	/* Estimate: single column, drop the 599px/438px fixed tracks */
	.estimate__inner {
		grid-template-columns: 1fr;
		padding: 28px 20px;
	}

	.estimate__content,
	.estimate__facts,
	.estimate__form {
		width: 100%;
		max-width: 100%;
	}

	.estimate__facts ul {
		grid-template-columns: 1fr;
	}

	.estimate__cases {
		display: none;
	}

	/* Niches showcase: let the heading wrap, tighten padding, clip the blob */
	.niches-showcase {
		overflow: hidden;
	}

	.niches-showcase__inner {
		grid-template-columns: 1fr;
		padding-inline: 24px;
	}

	.niches-showcase__content h3 {
		white-space: normal;
	}
}

/* === Mobile overflow fixes, part 2 (pricing / final-cta / hero decor) === */
@media (max-width: 940px) {
	/* Use minmax(0,1fr) so chart/form children can shrink below their natural width */
	.pricing-hero__inner,
	.final-cta__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.pricing-hero__inner > *,
	.final-cta__inner > * {
		min-width: 0;
	}

	.pricing__body {
		padding: 28px 20px;
	}

	.final-cta__panel {
		padding: 30px 20px;
	}

	.pricing-chart img {
		max-width: 100%;
		height: auto;
	}

	/* Clip faint decorative brand graphic that bleeds off the right edge */
	.hero {
		overflow: hidden;
	}
}

/* === Mobile overflow fixes, part 3 (badges + safety clip) === */
@media (max-width: 940px) {
	/* Long badges must wrap instead of forcing max-content width */
	.section-badge {
		max-width: 100%;
		white-space: normal;
		text-align: center;
	}

	/* Final safety net: clip decorative graphics that bleed past the edge.
	   Use `clip` (not `hidden`) so it does NOT become a scroll container — that
	   would break the sticky header on mobile. */
	.site {
		overflow-x: clip;
	}
}

/* === Mobile overflow fixes, part 4 (niches cards mosaic → single column) === */
@media (max-width: 940px) {
	.niches__categories,
	.niches-left,
	.niches-right,
	.niches-row,
	.niches-stack {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		min-width: 0;
		flex: 0 0 auto;
	}

	.niche-card {
		flex: 0 0 auto;
		min-height: 0;
	}

	/* Услуги / Образование lists: one column on a narrow screen */
	.niche-card--wide ul {
		columns: 1;
	}
}

/* === Mobile, part 7: reviews — masonry wall + round controls === */
@media (max-width: 640px) {
	/* Screenshot wall: 2-column masonry of small shots, not a full-width stack */
	.reviews-wall {
		display: block;
		width: auto;
		columns: 2;
		column-gap: 10px;
	}

	.reviews-col {
		display: contents;
	}

	.review-shot {
		margin-bottom: 10px;
		break-inside: avoid;
	}

	/* Hint arrows: perfect circles, centered glyphs, never shrink to ovals */
	.reviews__hint button {
		flex: 0 0 auto;
		aspect-ratio: 1 / 1;
		font-size: 20px;
		line-height: 1;
	}

	/* Video play button: solid circle, optically centred triangle */
	.reviews-video__play {
		width: 64px;
		height: 64px;
		aspect-ratio: 1 / 1;
	}

	.reviews-video__play img {
		width: 26px;
		height: 30px;
		margin-left: 4px;
	}
}

/* === Mobile, part 8: niches showcase ("Опыт в 80+") — macet layout === */
@media (max-width: 640px) {
	.niches-showcase__inner {
		padding: 0 16px 36px;
	}

	.niches-showcase__content {
		padding: 46px 0 0;
	}

	/* Heading wraps to 2 lines */
	.niches-showcase__content h3 {
		margin-bottom: 22px;
		font-size: 22px;
		line-height: 1.26;
		white-space: normal;
	}

	/* Tags form a compact mosaic (drop the forced line break, shrink pills) */
	.niches-showcase__tags {
		gap: 6px;
		margin-bottom: 24px;
	}

	.niches-showcase__tags-break {
		display: none;
	}

	.niches-showcase__tags span {
		min-height: 34px;
		padding: 0 11px;
		font-size: 11px;
	}

	/* Description stretches to ~2 lines */
	.niches-showcase__content p {
		max-width: 100%;
		margin-bottom: 22px;
		font-size: 14px;
		line-height: 1.5;
	}

	/* Blue callout becomes a rounded 2-line box */
	.niches-showcase__content strong {
		display: flex;
		min-height: 0;
		padding: 15px 22px;
		border-radius: 22px;
		font-size: 15px;
		line-height: 1.35;
	}

	/* Visual flows in below the text (no more odd bottom crop) */
	.niches-showcase__visual {
		position: static;
		inset: auto;
		width: 100%;
		max-width: 360px;
		height: auto;
		margin: 18px auto 0;
		transform: none;
	}

	.niches-showcase__visual > img {
		width: 100%;
		height: auto;
	}
}

/* === Niches categories → horizontal swipe carousel (mobile) === */
.niches__hint {
	display: none;
}

@media (max-width: 640px) {
	.niches__hint {
		display: flex;
		align-items: center;
		gap: 14px;
		min-height: 64px;
		margin-bottom: 18px;
		padding: 12px 14px 12px 22px;
		border-radius: 24px;
		background: #fff;
		color: rgba(32, 32, 32, 0.82);
		font-size: 15px;
		font-weight: 500;
	}

	.niches__hint span {
		flex: 1 1 auto;
	}

	.niches__hint button {
		flex: 0 0 auto;
		display: grid;
		width: 44px;
		height: 44px;
		aspect-ratio: 1 / 1;
		place-items: center;
		border: 0;
		border-radius: 50%;
		background: linear-gradient(180deg, #ff4c73 0%, #d81945 100%);
		color: #fff;
		font-size: 20px;
		line-height: 1;
		cursor: pointer;
	}

	/* Promote nested wrappers so each niche card is a direct slide */
	.niches-left,
	.niches-right,
	.niches-row,
	.niches-stack {
		display: contents;
	}

	.niches__categories {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 16px;
		width: 100%;
		padding: 4px 0;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}

	.niches__categories::-webkit-scrollbar {
		display: none;
	}

	.niche-card,
	.niche-cta {
		flex: 0 0 88%;
		min-height: 0;
		scroll-snap-align: start;
	}
}

/* === Mobile, part 10: 16px side gutters for sections that force full width === */
@media (max-width: 640px) {
	.cases .km-container {
		width: min(calc(100% - 32px), 440px);
	}
}

/* === Mobile, part 11: estimate section ("Узнайте стоимость заявки") === */
@media (max-width: 640px) {
	/* Dark panel sits 16px from the screen edges */
	.estimate__inner {
		width: min(calc(100% - 32px), 440px);
		padding: 26px 18px;
	}

	/* Heading + description left-aligned */
	.estimate__title,
	.estimate__content > p {
		text-align: left;
	}

	.estimate__content > p {
		padding-left: 52px;
	}

	/* "Новая заявка" decorative cards — much smaller, tucked into corners */
	.estimate__lead {
		width: 132px;
	}

	.estimate__lead--top {
		top: 14px;
		left: auto;
		right: 10px;
	}

	.estimate__lead--bottom {
		bottom: 8px;
		left: 14px;
	}

	/* Form heading: smaller so it fits ~3 lines */
	.lead-form h3 {
		font-size: 18px;
		line-height: 1.3;
	}

	/* Submit button: scale the label down on narrow screens so long text
	   ("Узнать стоимость заявки") fits without overflowing; wrap as a safety net */
	.lead-form button {
		gap: 10px;
		font-size: clamp(12px, 3.6vw, 15px);
		white-space: normal;
	}

	.lead-form button .btn-arrow img {
		width: 16px;
		height: 16px;
	}

	/* Messenger icons were oversized on small screens */
	.lead-form__socials a,
	.lead-form__socials img {
		width: 44px;
		height: 44px;
	}

	/* "Не хотите заполнять форму?…" — fits 2 lines */
	.lead-form p {
		font-size: 11px;
		line-height: 1.4;
	}
}

/* === Mobile, part 12: launch-budget — widen to 16px side gutters === */
@media (max-width: 640px) {
	/* Panel had 50px side padding squishing content; the inner km-container
	   already supplies the 16px gutter, so zero the panel sides to avoid
	   doubling up */
	.launch-budget__panel {
		padding: 72px 0 100px;
	}
}

/* === Mobile, part 13: pricing ("Стоимость работы") — 16px gutters + type === */
@media (max-width: 640px) {
	/* Blue panel had 50px side padding squishing the white blocks; cut to 16px.
	   Pull up less (was -100px) so it doesn't stick to the dark block above */
	.pricing__panel {
		margin-top: -60px;
		padding: 40px 16px 36px;
		border-radius: 30px;
	}

	.pricing__body {
		padding: 28px 18px;
		border-radius: 28px;
	}

	/* "В работу входит:" fits one line */
	.pricing__body h3 {
		margin-bottom: 26px;
		font-size: 24px;
	}

	/* List rows: smaller text + bubble so each item fits ~2 lines */
	.pricing-list {
		gap: 22px;
		margin-bottom: 34px;
	}

	.pricing-list div {
		gap: 12px;
		font-size: 14px;
		line-height: 1.3;
	}

	.pricing-list span {
		flex: 0 0 38px;
		width: 38px;
		height: 38px;
		font-size: 14px;
	}

	/* Quote text at 14px */
	.pricing-quote p {
		font-size: 14px;
		line-height: 1.45;
	}
}

/* === Mobile, part 14: timing ("Сколько времени занимает запуск") === */
@media (max-width: 640px) {
	/* Two separate rounded cards with a small gap */
	.timing-card {
		gap: 14px;
	}

	/* Dark card: symmetric padding + room at the bottom for the stopwatch */
	.timing-card__dark {
		overflow: hidden;
		padding: 30px 22px 212px;
		border-radius: 28px;
	}

	.timing-card__dark h3 {
		font-size: 18px;
	}

	/* Smaller check bullets */
	.timing-card__dark li {
		padding-left: 32px;
	}

	.timing-card__dark li img {
		width: 22px;
		height: 22px;
	}

	/* Restore the stopwatch + "Новая заявка" card, anchored to the dark bottom */
	.timing-card__visual {
		display: block;
		position: absolute;
		top: auto;
		left: auto;
		right: -14px;
		bottom: -22px;
		width: 220px;
		transform: none;
	}

	.timing-card__lead {
		display: block;
		position: absolute;
		top: auto;
		left: 18px;
		right: auto;
		bottom: 96px;
		width: 174px;
		transform: none;
	}

	/* White card: full rounding (was top-only) + 16px heading */
	.timing-card__light {
		padding: 30px 22px;
		border-radius: 28px;
	}

	.timing-card__light h3 {
		font-size: 16px;
	}

	.timing-steps img {
		width: 26px;
		height: 26px;
	}
}

/* === Mobile, part 15: first-results ("Когда появляются первые обращения") === */
@media (max-width: 640px) {
	/* Timeline step paragraphs at 14px */
	.fr-step p {
		font-size: 14px;
		line-height: 1.5;
	}

	/* Week cards: calendar top-right at full colour, text flows below it */
	.first-results__cards article {
		min-height: 0;
		padding: 18px 20px 24px;
	}

	/* Calendar floats top-right so the description text starts right after the
	   "N неделя" pill and wraps around it */
	.first-results__cards .fr-card__cal {
		position: static;
		float: right;
		width: 104px;
		margin: 2px 0 8px 14px;
		opacity: 1;
	}

	.first-results__cards p {
		max-width: 100%;
		margin-top: 14px;
		font-size: 14px;
		line-height: 1.45;
	}

	/* Dark conclusion card: clean gap + 16px-ish side padding (was 50px) */
	.first-results__bottom {
		margin-top: 16px;
		padding: 36px 22px 36px;
		border-radius: 28px;
	}

	.first-results__bottom p {
		font-size: 20px;
	}

	.first-results__bottom li {
		align-items: flex-start;
		font-size: 16px;
	}

	.first-results__bottom li img {
		margin-top: 4px;
	}
}

/* === Mobile, part 16: process ("Этапы работы над проектом") === */
@media (max-width: 640px) {
	/* 10 steps in a compact 2-column grid; phone spans full width below */
	.process__grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.process__list {
		display: contents;
	}

	/* higher specificity to beat ".process__list div" */
	.process__grid .process-step {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		min-height: 0;
		padding: 13px 14px;
		border-radius: 18px;
	}

	.process-step__badge {
		min-height: 0;
		padding: 5px 11px;
		font-size: 13px;
	}

	.process-step__name {
		font-size: 13px;
		line-height: 1.3;
	}

	/* Phone card: text on top, phone image flows below it (no overlap) */
	.process__phone {
		grid-column: 1 / -1;
		min-height: 0;
		padding: 26px 22px 0;
	}

	.process__phone__text {
		max-width: 100%;
	}

	.process__phone__num {
		left: auto;
		right: 18px;
		top: 16px;
		transform: none;
		font-size: 130px;
		letter-spacing: -6px;
	}

	/* All step illustrations flow below the text, centred, on mobile */
	.process__phone .process__phone__art {
		position: static;
		right: auto;
		bottom: auto;
		display: block;
		width: min(100%, 300px);
		margin: 16px auto 0;
	}

	/* Floating icon flows under the art on mobile (no absolute overlap) */
	.process__phone .process__phone__icon {
		position: static;
		display: block;
		width: 70px;
		margin: 14px auto 0;
		inset: auto;
	}
}

/* === Mobile, part 17: FAQ — smaller type, smaller icon, full-width answer === */
@media (max-width: 640px) {
	.faq-item {
		padding: 0 18px;
		border-radius: 18px;
	}

	/* Consistent vertical padding instead of a fixed height, so 2- and 3-line
	   questions get the same internal spacing */
	.faq-item summary {
		min-height: 0;
		padding: 16px 0;
		gap: 14px;
	}

	/* Drop the odd 420px width clamp on summary / answer */
	.faq summary,
	.faq details p {
		width: auto;
	}

	/* Question text smaller (was 22px) */
	.faq-item__q {
		font-size: 14px;
		line-height: 1.35;
	}

	/* Smaller +/× icon (was 46px) */
	.faq-item__icon {
		width: 36px;
		height: 36px;
	}

	/* Answer: smaller + full width (was 22px with 70px right padding) */
	.faq-item p {
		padding: 0 0 22px;
		font-size: 14px;
		line-height: 1.5;
	}
}

/* === Mobile, part 18: final-cta — left align, 14px button, tighter bottom === */
@media (max-width: 640px) {
	/* Heading + description left-aligned */
	.final-cta__title,
	.final-cta__content p {
		text-align: left;
	}

	/* Title smaller so it fits in 3 lines (was 42px) */
	.final-cta__title {
		font-size: 38px;
	}

	/* Badge dot stays a circle (flex was squishing it into an oval) */
	.final-cta .section-badge span {
		flex: 0 0 10px;
	}

	/* Submit button: 14px Semibold */
	.final-cta__form button {
		font-size: 14px;
		font-weight: 600;
	}

	/* Trim the empty blue space under the form */
	.final-cta__panel {
		padding-bottom: 16px;
	}

	.final-cta__inner {
		padding-bottom: 0;
	}

	/* Hide the "Заполните форму…" heading in the estimate form on mobile */
	.estimate__form h3 {
		display: none;
	}
}

/* === Mobile, part 19: footer layout (macet) === */
@media (max-width: 640px) {
	.site-footer {
		padding: 54px 0 46px;
	}

	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
		column-gap: 20px;
		row-gap: 44px;
		justify-content: stretch;
		/* full-bleed footer was touching the screen edges — add 16px gutters */
		padding-inline: 16px;
	}

	/* the bottom requisites row needs the same 16px gutters */
	.site-footer__bottom {
		padding-inline: 16px;
	}

	.site-footer h2 {
		margin-bottom: 18px;
		font-size: 18px;
	}

	/* Brand: centred logo, then text (left) + button (right) */
	.site-footer__brand {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"logo logo"
			"text cta";
		align-items: center;
		column-gap: 14px;
	}

	.site-footer__logo {
		grid-area: logo;
		justify-self: center;
		margin: 0 0 22px;
	}

	.site-footer__brand p {
		grid-area: text;
		margin: 0;
		font-size: 15px;
	}

	.site-footer__cta {
		grid-area: cta;
	}

	/* Contacts (left) + messengers (right) */
	.site-footer__contacts {
		grid-column: 1 / -1;
		display: grid;
		/* contacts column sized to its content so the phone/email fit on one
		   line; the 20px gap keeps them off the messengers block */
		grid-template-columns: auto 1fr;
		grid-template-areas:
			"head ."
			"phone msg"
			"email msg";
		column-gap: 20px;
		align-content: start;
	}

	.site-footer__contacts h2 {
		grid-area: head;
	}

	.site-footer__contacts p {
		margin-bottom: 14px;
		font-size: 15px;
		white-space: nowrap;
	}

	.site-footer__contacts p:nth-of-type(1) {
		grid-area: phone;
	}

	.site-footer__contacts p:nth-of-type(2) {
		grid-area: email;
	}

	.site-footer__messengers {
		grid-area: msg;
		flex-wrap: wrap;
		margin-top: 6px;
	}

	.site-footer__messengers span {
		flex: 1 1 100%;
		margin: 0 0 12px;
	}

	/* Menu (left) + legal (right) */
	.site-footer__nav {
		grid-column: 1;
	}

	.site-footer__legal {
		grid-column: 2;
	}
}

/* === Header burger menu (mobile): logo left, socials centre, popup nav === */
.site-burger {
	display: none;
}

@media (max-width: 940px) {
	.site-header__inner {
		position: relative;
		justify-content: space-between;
	}

	/* On mobile the bar shows only the logo + burger; everything else moves
	   into the fullscreen menu */
	.site-schedule,
	.site-socials,
	.site-phone,
	.site-cta {
		display: none;
	}

	.site-logo {
		order: 1;
	}

	.site-burger {
		order: 3;
		display: flex;
		flex: 0 0 auto;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 4px;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--km-blue);
		cursor: pointer;
	}

	.site-burger span {
		width: 18px;
		height: 2px;
		border-radius: 2px;
		background: #fff;
	}

	/* Fullscreen slide-in menu */
	.site-nav {
		position: fixed;
		inset: 0;
		z-index: 100;
		display: flex;
		flex: 0 0 auto;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		min-width: 0;
		padding: 74px 24px 28px;
		background: #fff;
		overflow-y: auto;
		visibility: hidden;
		transform: translateX(100%);
		transition: transform 0.3s ease, visibility 0.3s ease;
	}

	.site-header.is-menu-open .site-nav {
		visibility: visible;
		transform: none;
	}

	.site-nav__close {
		display: flex;
		position: absolute;
		top: 18px;
		right: 18px;
		width: 42px;
		height: 42px;
		align-items: center;
		justify-content: center;
		border: 0;
		background: transparent;
		color: #202020;
		font-size: 34px;
		line-height: 1;
		cursor: pointer;
	}

	.site-nav__links {
		display: flex;
		flex-direction: column;
		gap: 2px;
	}

	.site-nav__links a {
		padding: 14px 0;
		color: var(--km-black);
		font-size: 20px;
		font-weight: 700;
		text-transform: none;
	}

	.site-nav__contacts {
		display: flex;
		flex-direction: column;
		gap: 20px;
		margin-top: 24px;
		padding-top: 24px;
		border-top: 1px solid rgba(0, 0, 0, 0.08);
	}

	.site-nav__contacts .site-nav__phone,
	.site-nav__contacts .site-nav__email {
		display: flex;
		align-items: center;
		gap: 12px;
		color: var(--km-black);
		font-size: 16px;
		font-weight: 600;
		text-transform: none;
	}

	.site-nav__ico {
		display: inline-flex;
		flex: 0 0 auto;
		color: var(--km-blue);
	}

	.site-nav__ico svg {
		width: 22px;
		height: 22px;
	}

	.site-nav__messengers {
		display: flex;
		align-items: center;
		gap: 22px;
	}

	.site-nav__messengers a {
		display: flex;
		align-items: center;
		gap: 10px;
		color: var(--km-black);
		font-size: 15px;
		font-weight: 600;
		text-transform: none;
	}

	.site-nav__messengers img {
		width: 30px;
		height: 30px;
	}

	.site-nav__schedule {
		display: flex;
		align-items: center;
		gap: 12px;
		color: rgba(32, 32, 32, 0.7);
		font-family: var(--km-font-base);
		font-size: 15px;
	}

	.site-nav__cta {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		margin-top: 6px;
		height: 56px;
		border: 0;
		border-radius: 999px;
		background: linear-gradient(180deg, #ff4c73 0%, #cf123d 100%);
		color: #fff;
		font-family: var(--km-font-base);
		font-size: 17px;
		font-weight: 700;
		cursor: pointer;
	}

	.site-nav__cta-ico {
		display: inline-flex;
	}

	.site-nav__cta-ico svg {
		width: 20px;
		height: 20px;
	}
}

/* === Mobile, part 5: hero underline + grey audit block + stats === */
@media (max-width: 640px) {
	/* Blue underline hugs the "с гарантией" text, not the full row width */
	.hero__title-line--accent {
		display: inline-block;
		width: auto;
	}

	/* Grey audit block: stack as heading → button → note; the block ends right
	   after the note (the phone illustration is hidden on mobile) */
	.hero-audit {
		display: flex;
		flex-direction: column;
		padding: 28px 20px;
	}

	/* Phone illustration hidden on mobile */
	.hero-audit__visual {
		display: none;
	}

	.hero-audit__row {
		gap: 16px;
	}

	.hero-audit__title {
		font-size: 21px;
		line-height: 1.3;
	}

	.hero-audit__button {
		font-size: 16px;
	}

	.hero-audit__note {
		margin-top: 16px;
		font-size: 13px;
		line-height: 1.5;
	}

	/* Stats badge: shrink the numbers so labels stop colliding */
	.hero-media__stats {
		right: 16px;
		left: 16px;
		gap: 12px;
		padding: 14px 16px;
	}

	.hero-media__stats span {
		gap: 8px;
	}

	.hero-media__stats strong {
		font-size: 32px;
	}

	.hero-media__stats em {
		font-size: 12px;
		line-height: 1.1;
	}
}

/* === Mobile, part 6: benefits — images at the bottom, smaller index === */
@media (max-width: 640px) {
	/* Smaller round index badge (01/02/03…) instead of the big pill */
	.benefit-card__number {
		top: -18px;
		left: 22px;
		width: 74px;
		height: 37px;
	}

	/* Card flows top → bottom; text uses the full width */
	.benefit-card {
		min-height: 0;
		padding: 40px 24px 28px;
	}

	.benefit-card h3,
	.benefit-card p {
		max-width: 100%;
	}

	/* Restore full opacity (an earlier mobile rule dimmed the visuals) */
	.benefit-card__image,
	.benefit-card__decor {
		opacity: 1;
	}

	/* Single grouped visuals (02,03,04,05,06): drop into normal flow at the bottom */
	.benefit-card__image--arrow-grouped,
	.benefit-card__image--leads-small-grouped,
	.benefit-card__image--stopwatch,
	.benefit-card__image--funnel,
	.benefit-card__image--scale {
		position: static;
		display: block;
		inset: auto;
		width: auto;
		max-width: 240px;
		height: auto;
		margin: 28px auto 0;
	}

	/* Card 01 "leads": anchor the 3-piece composition to the bottom */
	.benefit-card--leads {
		padding-bottom: 150px;
	}

	.benefit-card__decor--lead-main {
		top: auto;
		right: auto;
		bottom: 24px;
		left: 24px;
		width: 150px;
	}

	.benefit-card__decor--lead-small {
		top: auto;
		right: 24px;
		bottom: 40px;
		width: 92px;
	}

	.benefit-card__decor--trend {
		top: auto;
		right: 64px;
		bottom: 112px;
		width: 46px;
	}
}

/* === Mobile, part 22: regrouped niches carousel + CTA below it === */
@media (max-width: 640px) {
	/* Swap the desktop masonry carousel for the mobile grouped one */
	.niches__categories:not(.niches__categories--mobile) {
		display: none;
	}

	.niches__categories--mobile {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 16px;
		width: 100%;
		padding: 4px 0;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}

	.niches__categories--mobile::-webkit-scrollbar {
		display: none;
	}

	/* Each slide is a vertical stack of one or more category cards */
	.niche-slide {
		display: flex;
		flex: 0 0 88%;
		flex-direction: column;
		gap: 16px;
		min-width: 0;
		scroll-snap-align: start;
	}

	/* Cards inside a slide flow normally (full width, natural height) */
	.niche-slide .niche-card {
		flex: 0 0 auto;
		width: 100%;
		min-height: 0;
		scroll-snap-align: none;
	}

	/* CTA pulled out of the slider — always sits below the niches */
	.niche-cta.niche-cta--mobile {
		display: flex;
		width: calc(100% - 32px);
		margin: 22px auto 0;
	}
}

/* === Mobile, part 21: misc fixes (budget answer, arrows, niches, hero badge, header) === */

/* (1) Launch-budget answer: stack text full-width, button below + smaller */
@media (max-width: 640px) {
	.budget-answer {
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		padding: 26px 22px;
	}

	.budget-answer p {
		font-size: 19px;
		line-height: 1.3;
	}

	.budget-answer a {
		width: 100%;
		min-width: 0;
		height: 54px;
		gap: 10px;
		font-size: 16px;
		font-weight: 700;
	}

	.budget-answer a .btn-arrow img {
		width: 15px;
		height: 15px;
	}
}

/* (2,3) Reviews + niches arrow buttons: geometric chevron, perfectly centred */
@media (max-width: 640px) {
	.reviews__hint button,
	.niches__hint button {
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 0;
		line-height: 0;
		padding: 0;
	}

	.reviews__hint button::before,
	.niches__hint button::before {
		content: "";
		display: block;
		width: 9px;
		height: 9px;
		border: solid #fff;
		border-width: 2px 2px 0 0;
	}

	.reviews__hint button:nth-of-type(1)::before,
	.niches__hint-prev::before {
		transform: translateX(3px) rotate(-135deg);
	}

	.reviews__hint button:nth-of-type(2)::before,
	.niches__hint-next::before {
		transform: translateX(-3px) rotate(45deg);
	}
}

/* (3) Niches "Опыт в 80+": drop the H2 underline; press the showcase image to
   the bottom and add breathing room before the next block */
@media (max-width: 640px) {
	.niches__title span::after,
	.process__title span::after {
		display: none;
	}

	.niches-showcase {
		margin-bottom: 30px;
	}

	.niches-showcase__inner {
		/* let the blob sit flush against the section's bottom edge */
		padding-bottom: 0;
	}

	.niches-showcase__visual {
		margin-top: 14px;
		/* the blob PNG has ~31px (6%) of transparent margin at its bottom; pull
		   the box down by that share so the *visible* blob sits flush at the
		   section edge. Scales with width, and doesn't touch the desktop image. */
		margin-bottom: -3.3%;
	}
}

/* (4) Hero: stop the down-arrow badge being clipped by the section's
   overflow. `clip` on X still trims the side-bleed graphic, but lets the
   badge overhang the bottom edge. */
@media (max-width: 640px) {
	.hero {
		overflow: visible;
		overflow-x: clip;
	}

	.hero__scroll {
		z-index: 6;
	}
}

/* (5) Header: add vertical air; socials + burger same size, a touch smaller */
@media (max-width: 640px) {
	.site-header__inner {
		height: 54px;
		padding-inline: 16px 12px;
	}

	.site-socials a,
	.site-socials img {
		width: 36px;
		height: 36px;
	}

	.site-burger {
		width: 36px;
		height: 36px;
	}
}

/* ── Lead form submit status ─────────────────────────────── */
.lead-form__status {
	width: 100%;
	margin: 22px 0 0;
	padding: 14px 18px;
	border-radius: 14px;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
	animation: km-process-fade-up 0.35s ease both;
}

.lead-form__status.is-ok {
	color: #0a7a3d;
	background: rgba(16, 185, 129, 0.12);
}

.lead-form__status.is-error {
	color: #c01632;
	background: rgba(220, 38, 56, 0.10);
}

/* ── Footer bottom bar: requisites + copyright (after a divider) ─────────── */
.site-footer__bottom {
	margin-top: 56px;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.site-footer__requisites,
.site-footer__copyright {
	margin: 0;
	color: rgba(255, 255, 255, 0.5);
	font-family: var(--km-font-base);
	font-size: 14px;
	line-height: 1.5;
}

/* ── Cookie notice ──────────────────────────────────────────────────────── */
.km-cookie {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 18px max(16px, calc((100vw - 1440px) / 2));
	background: rgba(20, 20, 20, 0.96);
	color: rgba(255, 255, 255, 0.82);
	box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
}

.km-cookie[hidden] {
	display: none;
}

.km-cookie__text {
	flex: 1;
	margin: 0;
	font-family: var(--km-font-base);
	font-size: 14px;
	line-height: 1.5;
}

.km-cookie__text a {
	color: #4a9bff;
}

.km-cookie__accept {
	flex-shrink: 0;
	height: 48px;
	padding: 0 40px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(180deg, #2b7fff 0%, #1a63e0 100%);
	color: #fff;
	font-family: var(--km-font-base);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.12s ease, filter 0.2s ease;
}

.km-cookie__accept:hover {
	filter: brightness(1.06);
}

.km-cookie__accept:active {
	transform: translateY(1px) scale(0.98);
}

@media (max-width: 640px) {
	.km-cookie {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding: 16px;
		text-align: left;
	}

	.km-cookie__accept {
		width: 100%;
	}
}

/* ── Lead form consent checkbox ─────────────────────────────────────────── */
/* label.lead-form__consent — beat the generic `.lead-form label { display:block }` */
.lead-form label.lead-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 16px;
	color: rgba(32, 32, 32, 0.6);
	font-family: var(--km-font-base);
	font-size: 12px;
	line-height: 1.4;
	cursor: pointer;
}

/* Custom checkbox: native iOS checkboxes ignore width/height and reserve extra
   space, which pushed the consent text far to the right. appearance:none gives
   an identical 18px box everywhere. */
.lead-form__consent input {
	flex: 0 0 auto;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	margin: 0;
	padding: 0;
	border: 1.5px solid rgba(0, 0, 0, 0.28);
	border-radius: 5px;
	background: #fff;
	cursor: pointer;
	position: relative;
}

.lead-form__consent input:checked {
	background: var(--km-blue);
	border-color: var(--km-blue);
}

.lead-form__consent input:checked::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* Un-hide the consent text: the generic `.lead-form label span` is sr-only
   (used to visually hide the field labels), which was also hiding this text */
.lead-form .lead-form__consent span {
	position: static;
	width: auto;
	height: auto;
	overflow: visible;
	clip: auto;
	clip-path: none;
}

.lead-form__consent a {
	color: var(--km-blue);
	text-decoration: underline;
}

/* Highlight when the user submits without ticking consent. */
.lead-form__consent.is-invalid {
	animation: km-consent-shake 0.35s ease;
}

.lead-form__consent.is-invalid span {
	color: #e11d48;
}

.lead-form__consent.is-invalid input {
	outline: 2px solid #e11d48;
	outline-offset: 2px;
	border-radius: 3px;
}

@keyframes km-consent-shake {
	0%, 100% { transform: translateX(0); }
	20%, 60% { transform: translateX(-4px); }
	40%, 80% { transform: translateX(4px); }
}

.lead-form button[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
	filter: grayscale(0.15);
}

/* Reviews carousel drag-to-scroll cursor */
.reviews-video { cursor: grab; }
.reviews-video.is-grabbing { cursor: grabbing; user-select: none; }
.reviews-video.is-grabbing .reviews-video__item { pointer-events: none; }

/* ── Callback modal (popup form) ────────────────────────────────────────── */
.km-modal {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.km-modal[hidden] {
	display: none;
}

.km-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(2px);
	cursor: pointer;
	animation: km-process-fade 0.2s ease both;
}

.km-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 520px);
	max-height: 92vh;
	overflow-y: auto;
	animation: km-process-fade-up 0.28s ease both;
}

.km-modal__form {
	width: 100%;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.km-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: none;
	color: #202020;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.km-modal__close:hover {
	opacity: 0.6;
}

/* Keep the heading clear of the close button */
.km-modal__form h3 {
	padding-right: 42px;
}

body.km-modal-open,
body.km-menu-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.km-modal {
		padding: 14px;
	}

	.km-modal__close {
		top: 12px;
		right: 12px;
	}
}

/* ── Review screenshot lightbox ─────────────────────────────────────────── */
.reviews-wall .review-shot img {
	cursor: zoom-in;
}

.km-lightbox {
	position: fixed;
	inset: 0;
	z-index: 320;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.km-lightbox[hidden] {
	display: none;
}

.km-lightbox__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	cursor: zoom-out;
	animation: km-process-fade 0.2s ease both;
}

.km-lightbox__img {
	position: relative;
	z-index: 1;
	max-width: min(92vw, 520px);
	max-height: 90vh;
	width: auto;
	height: auto;
	border-radius: 18px;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
	animation: km-process-fade-up 0.28s ease both;
}

.km-lightbox__close {
	position: absolute;
	top: 20px;
	right: 24px;
	z-index: 2;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.km-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.24);
}

/* ── Budget accordion (block 8) ─────────────────────────────────────────── */
.budget-accordion {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.budget-faq {
	background: #edeff2;
	border-radius: 18px;
	overflow: hidden;
}

.budget-faq summary {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 22px 28px;
	cursor: pointer;
	list-style: none;
}

.budget-faq summary::-webkit-details-marker {
	display: none;
}

.budget-faq__icon {
	flex: 0 0 auto;
	display: inline-flex;
}

.budget-faq__icon img {
	width: 34px;
	height: 34px;
}

.budget-faq__q {
	flex: 1 1 auto;
	color: var(--km-black);
	font-family: var(--km-font-base);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
}

.budget-faq__accent {
	color: var(--km-blue);
}

.budget-faq__chevron {
	position: relative;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: linear-gradient(180deg, #ff4c73 0%, #cf123d 100%);
	transition: filter 0.2s ease;
}

.budget-faq__chevron::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translate(-50%, -70%) rotate(45deg);
	transition: transform 0.25s ease;
}

.budget-faq__chevron::before {
	transition: transform 0.3s ease;
}

.budget-faq[open] .budget-faq__chevron::before {
	transform: translate(-50%, -30%) rotate(-135deg);
}

.budget-faq__a {
	overflow: hidden;
	padding: 0 28px 24px 80px;
	color: rgba(32, 32, 32, 0.72);
	font-family: var(--km-font-base);
	font-size: 15px;
	line-height: 1.65;
}

.budget-faq.is-animating .budget-faq__a {
	transition: height 0.3s ease, padding-bottom 0.3s ease;
}

.budget-faq__a > :first-child {
	margin-top: 0;
}

.budget-faq__a > :last-child {
	margin-bottom: 0;
}

.budget-faq__a p {
	margin: 0 0 12px;
}

.budget-faq__a ul {
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.budget-faq__a li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 6px;
}

.budget-faq__a li::before {
	content: "";
	position: absolute;
	top: 0.6em;
	left: 4px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--km-blue);
}

.budget-accordion__note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 30px 0 0;
	color: rgba(32, 32, 32, 0.6);
	font-family: var(--km-font-base);
	font-size: 15px;
}

.budget-accordion__note img {
	width: 26px;
	height: 26px;
}

@media (max-width: 640px) {
	.budget-faq summary {
		gap: 12px;
		padding: 16px 18px;
	}

	.budget-faq__q {
		font-size: 16px;
	}

	.budget-faq__a {
		padding: 0 18px 18px 48px;
		font-size: 14px;
	}
}

/* ── Process step 5: show the structure schema larger, below the text ────── */
.process__phone[data-step="5"] {
	display: flex;
	flex-direction: column;
}

.process__phone[data-step="5"] .process__phone__text {
	max-width: 100%;
	position: relative;
	flex: 0 0 auto;
}

.process__phone[data-step="5"] .process__phone__art {
	position: static;
	right: auto;
	bottom: auto;
	flex: 0 0 auto;
	align-self: center;
	width: 100%;
	max-width: 340px;
	height: auto;
	margin: 16px auto 0;
	border-radius: 12px;
}

/* ══ Laptop range (941–1439px): add side gutters + fit the header & hero ══ */
@media (min-width: 941px) and (max-width: 1439px) {
	/* Content never touches the screen edges below 1440 */
	.km-container {
		padding-inline: 28px;
		box-sizing: border-box;
	}

	/* Header: shrink nav + controls so items don't collide */
	.site-header__inner {
		gap: 14px;
		padding: 0 14px 0 34px;
	}

	.site-nav {
		gap: 13px;
	}

	.site-nav a {
		font-size: 11px;
	}

	.site-schedule {
		font-size: 12px;
	}

	.site-cta {
		height: 44px;
		padding: 0 20px;
		font-size: 13px;
	}

	.site-socials a,
	.site-socials img {
		width: 34px;
		height: 34px;
	}

	/* Hero: shrink the photo + gap so the two columns fit inside the gutters */
	.hero__inner {
		grid-template-columns: minmax(0, 1fr) 430px;
		column-gap: 44px;
	}

	.hero__title {
		width: 100%;
		max-width: 100%;
		font-size: 64px;
	}

	.hero-audit {
		width: 100%;
	}

	.hero-media {
		width: 430px;
		height: 572px;
	}

	/* Benefit cards are narrower here — fade the decorative art so the titles
	   read cleanly over it (same treatment as the ≤1200 breakpoint) */
	.benefit-card__image,
	.benefit-card__decor {
		opacity: 0.6;
	}
}
