/* ─── SERVICES top-5 ─── */

/* W3/C4: lead-параграф внутри feature-карточки (раньше inline style hex+rgba). */
.mh__service-feature-lead {
	font-size: var(--text-body);
	line-height: 1.5;
	color: rgba(var(--rgb-paper), 0.78);
	margin: 0;
	max-width: 42ch;
}

/* W3/C4: row с ценой + CTA в feature-карточке (раньше inline style flex). */
.mh__service-feature-foot {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 8px;
}

/* ── Финальный layout: section-head над секцией (Mohawk-style), feature
   card занимает ВСЮ левую колонку (span 3 ряда) с вертикальным фото-фоном,
   6 малых заполняют правые 2 cols × 3 rows.
   Каждый ряд 290px — карточки большие, фото читаемые. Total ~870px grid. */
.mh__services {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	grid-template-rows: repeat(3, 290px);
	gap: 1px;
	background: var(--line);
}
.mh__service { overflow: hidden; }
.mh__service-mat { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; max-width: 14ch; }
.mh__service {
	background: var(--bg);
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 200px;
	text-decoration: none;
	color: inherit;
	position: relative;
	transition: background 150ms;
}
.mh__service:hover { background: var(--paper); }

/* ── FEATURE CARD: вертикальный плакат на ВСЮ левую колонку (span 3 ряда).
   Фото-фон вертикальный (mural 1448×1086), текст поверх с тёмным overlay. */
.mh__service--feature {
	grid-column: 1;
	grid-row: 1 / span 3;
	background: var(--ink);
	color: var(--paper);
	padding: 32px;
	overflow: hidden;
	justify-content: flex-end;
}
.mh__service--feature .mh__service-img {
	position: absolute;
	inset: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;               /* фото на всю карточку, не 16/7 */
	z-index: 0;
}
.mh__service--feature .mh__service-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
/* Тёмный градиент-overlay снизу для читаемости текста поверх фото. */
.mh__service--feature::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(var(--rgb-graphite-900), 0.88) 0%,
		rgba(var(--rgb-graphite-900), 0.55) 40%,
		rgba(var(--rgb-graphite-900), 0.18) 75%,
		rgba(var(--rgb-graphite-900), 0.05) 100%
	);
	z-index: 1;
	pointer-events: none;
}
.mh__service--feature > *:not(.mh__service-img) {
	position: relative;
	z-index: 2;
}
.mh__service--feature:hover { background: var(--color-ink-black); }
.mh__service-num {
	font-family: var(--font-mh-mono);
	font-size: var(--text-eyebrow); /* 11px → token */
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fg-quiet);
}
.mh__service--feature .mh__service-num { color: var(--accent); }
.mh__service-img {
	width: 100%;
	aspect-ratio: 16 / 7;
	background: var(--bg-deep);
	overflow: hidden;
	margin-top: auto;
}
.mh__service--feature .mh__service-img { aspect-ratio: 16 / 8; }
.mh__service-img img { width: 100%; height: 100%; object-fit: cover; }
.mh__service-title {
	font-family: var(--font-mh-display);
	font-weight: 700;
	font-size: 21px;
	line-height: 1.1;
	letter-spacing: -0.012em;
	margin: 0;
	color: var(--fg);
}
/* Feature title крупнее для editorial-акцента (по фидбеку: «крупнее и читаемо»). */
.mh__service--feature .mh__service-title {
	font-size: clamp(32px, 3.4vw, 44px);
	line-height: 0.98;
	color: var(--paper);
}
.mh__service-num {
	font-family: var(--font-mh-mono);
	font-size: var(--text-mono-sm); /* 12px → token */
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fg-quiet);
}
.mh__service--feature .mh__service-num {
	color: var(--accent);
	font-size: var(--text-body-sm);
}
.mh__service-from b {
	font-family: var(--font-mh-display);
	font-weight: 700;
	font-size: 19px;
	color: var(--fg);
	letter-spacing: -0.008em;
	white-space: nowrap; /* W4: компенсация удалённого &nbsp; в «по запросу» */
}
.mh__service--feature .mh__service-from b {
	font-size: var(--text-price); /* 22px → token */
	color: var(--paper);
}
.mh__service-from-label {
	font-family: var(--font-mh-mono);
	font-size: var(--text-mono-2xs);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fg-quiet);
}
.mh__service--feature .mh__service-from-label { color: rgba(var(--rgb-paper),0.65); }
.mh__service-mats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.mh__service-mat {
	font-family: var(--font-mh-mono);
	font-size: var(--text-mono-2xs);
	letter-spacing: 0.04em;
	padding: 4px 9px;
	border: 1px solid var(--line);
	color: var(--fg-mute);
}
.mh__service--feature .mh__service-mat {
	border-color: rgba(var(--rgb-paper),0.25);
	color: rgba(var(--rgb-paper),0.78);
}
.mh__service-from {
	font-family: var(--font-mh-mono);
	font-size: var(--text-body-sm);
	color: var(--fg);
	display: inline-flex;
	gap: 8px;
	align-items: baseline;
}
.mh__service--feature .mh__service-from { color: var(--paper); }
.mh__service-from-label {
	font-size: var(--text-mono-2xs);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fg-quiet);
}
.mh__service--feature .mh__service-from-label { color: rgba(var(--rgb-paper),0.55); }
.mh__service-from b { font-weight: 600; }
.mh__service-pin {
	position: absolute;
	top: 28px; right: 28px;
	font-family: var(--font-mh-mono);
	font-size: var(--text-mono-3xs);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
	padding: 4px 8px;
	border: 1px solid var(--accent);
}
.mh__service-more {
	font-family: var(--font-mh-mono);
	font-size: var(--text-eyebrow); /* 11px → token */
	letter-spacing: 0.16em;
	text-transform: uppercase;
	display: inline-flex;
	gap: 8px;
	align-items: center;
	color: var(--fg);
	white-space: nowrap; /* W4: компенсация удалённого &nbsp; в «К услуге →» */
}
.mh__service--feature .mh__service-more { color: var(--accent); }

