/**
 * Страница /nanesenie/ — сервис нанесения.
 */

.iv-nan-service {
	--iv-nan-bg: #f7f7f7;
	--iv-nan-ink: #111;
	--iv-nan-muted: #666;
	--iv-nan-line: #e8e8e8;
	max-width: 1120px;
	margin: 0 auto;
	padding: 8px 0 64px;
	color: var(--iv-nan-ink);
}

.iv-nan-service__hero {
	padding: 28px 0 48px;
	border-bottom: 1px solid var(--iv-nan-line);
}

.iv-nan-service__eyebrow {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--iv-nan-muted);
}

.iv-nan-service__title {
	margin: 0 0 16px;
	max-width: 18ch;
	font-size: clamp(2rem, 4.2vw, 3.25rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.iv-nan-service__lead {
	margin: 0 0 28px;
	max-width: 52ch;
	font-size: 1.125rem;
	line-height: 1.55;
	color: #333;
}

.iv-nan-service__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.iv-nan-service__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.iv-nan-service__btn--primary {
	background: #111;
	color: #fff;
	border: 1px solid #111;
}

.iv-nan-service__btn--primary:hover {
	background: #000;
	color: #fff;
}

.iv-nan-service__btn--ghost {
	background: transparent;
	color: #111;
	border: 1px solid #cfcfcf;
}

.iv-nan-service__btn--ghost:hover {
	border-color: #111;
	color: #111;
}

.iv-nan-service__h2 {
	margin: 0 0 10px;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.iv-nan-service__sub {
	margin: 0 0 28px;
	max-width: 56ch;
	color: var(--iv-nan-muted);
	line-height: 1.55;
}

.iv-nan-service__methods,
.iv-nan-service__equipment,
.iv-nan-service__process {
	padding: 56px 0 0;
}

.iv-nan-service__method-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.iv-nan-service__method {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--iv-nan-line);
}

.iv-nan-service__method-tag {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--iv-nan-muted);
}

.iv-nan-service__method-title {
	margin: 0 0 12px;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.iv-nan-service__method-text {
	margin: 0 0 16px;
	line-height: 1.55;
	color: #333;
}

.iv-nan-service__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.iv-nan-service__list li {
	position: relative;
	padding: 8px 0 8px 18px;
	border-top: 1px solid var(--iv-nan-line);
	line-height: 1.45;
	color: #333;
}

.iv-nan-service__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 16px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #111;
}

.iv-nan-service__note {
	margin-top: 20px;
	padding: 18px 22px;
	background: #111;
	color: #fff;
	line-height: 1.55;
}

.iv-nan-service__note strong {
	display: inline;
	margin-right: 6px;
}

.iv-nan-service__equip-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.iv-nan-service__equip {
	margin: 0;
	background: #fff;
	border: 1px solid var(--iv-nan-line);
	overflow: hidden;
}

.iv-nan-service__equip img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--iv-nan-bg);
}

.iv-nan-service__equip figcaption {
	display: grid;
	gap: 4px;
	padding: 14px 16px 16px;
}

.iv-nan-service__equip strong {
	font-size: 0.98rem;
	font-weight: 700;
}

.iv-nan-service__equip span {
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--iv-nan-muted);
}

.iv-nan-service__steps {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	counter-reset: iv-nan-step;
}

.iv-nan-service__steps li {
	position: relative;
	padding: 22px 18px 18px;
	background: #fff;
	border: 1px solid var(--iv-nan-line);
	counter-increment: iv-nan-step;
}

.iv-nan-service__steps li::before {
	content: counter(iv-nan-step, decimal-leading-zero);
	display: block;
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--iv-nan-muted);
}

.iv-nan-service__steps strong {
	display: block;
	margin-bottom: 6px;
	font-size: 1.05rem;
	font-weight: 800;
}

.iv-nan-service__steps span {
	display: block;
	line-height: 1.45;
	color: #444;
	font-size: 0.95rem;
}

.iv-nan-service__cta {
	margin-top: 56px;
	padding: 40px 28px;
	background: #111;
	color: #fff;
}

.iv-nan-service__cta-inner {
	max-width: 42rem;
}

.iv-nan-service__cta-title {
	margin: 0 0 10px;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.iv-nan-service__cta-text {
	margin: 0 0 22px;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.55;
}

.iv-nan-service__cta .iv-nan-service__btn--primary {
	background: #fff;
	color: #111;
	border-color: #fff;
}

.iv-nan-service__cta .iv-nan-service__btn--primary:hover {
	background: #f0f0f0;
	color: #111;
}

@media (max-width: 900px) {
	.iv-nan-service__method-grid,
	.iv-nan-service__equip-grid,
	.iv-nan-service__steps {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.iv-nan-service__hero {
		padding-top: 12px;
	}

	.iv-nan-service__title {
		max-width: none;
	}

	.iv-nan-service__btn {
		width: 100%;
	}
}

/* Скрыть дублирующий title темы — H1 рисует лендинг */
body.page-nanesenie .hero-section,
body.page-nanesenie .entry-header {
	display: none;
}
