/**
 * Info / text pages — Figma header row + «Виды нанесения», «О компании», «Производство».
 */

.info-page__toolbar {
	margin-bottom: 28px;
}

.info-page__title {
	margin: 0;
}

.info-page__content,
.info-page__intro {
	max-width: 920px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text);
}

.info-page__intro--wide {
	max-width: none;
}

.info-page__content p,
.info-page__intro p {
	margin: 0 0 16px;
}

.info-page__content p:last-child,
.info-page__intro p:last-child {
	margin-bottom: 0;
}

.info-page__intro {
	margin-bottom: 24px;
}

.info-page__intro--after-title {
	margin-top: 12px;
}

.info-page__section-title {
	margin: 0 0 28px;
	font-size: 24px;
	font-weight: var(--font-weight-bold);
	line-height: 1.25;
	color: var(--color-text);
}

.info-page__section-title--sub {
	margin-top: 36px;
	margin-bottom: 12px;
	font-size: 20px;
}

.info-page__figure {
	max-width: 920px;
	margin: 0 0 24px;
	border-radius: var(--radius-md);
	overflow: hidden;
	background: #f3f3f3;
}

.info-page__figure img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

/* About — alternating feature rows (Figma «О компании») */
.about-sections {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.about-section {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	align-items: start;
}

.about-section__title {
	margin: 0 0 14px;
	font-size: 22px;
	font-weight: var(--font-weight-bold);
	line-height: 1.25;
	color: var(--color-text);
}

.about-section__text {
	font-size: 16px;
	line-height: 1.55;
	color: var(--color-text);
}

.about-section__text p {
	margin: 0 0 12px;
}

.about-section__text p:last-child {
	margin-bottom: 0;
}

.about-section__media {
	margin: 0;
	overflow: hidden;
	background: #f3f3f3;
}

.about-section__media img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

@media (min-width: 900px) {
	.about-section {
		grid-template-columns: minmax(0, 1fr) 312px;
		gap: 28px;
		align-items: center;
	}

	.about-section--reverse .about-section__content {
		order: 2;
	}

	.about-section--reverse .about-section__media {
		order: 1;
	}

	.about-section__media {
		justify-self: end;
		width: 312px;
		max-width: 100%;
	}
}

@media (min-width: 1100px) {
	.about-sections {
		gap: 56px;
	}

	.about-section {
		gap: 36px;
		grid-template-columns: minmax(0, 1fr) 340px;
	}

	.about-section__media {
		width: 340px;
	}
}

/* Production grid reuses printing-card styles */
.production-grid {
	margin-top: 8px;
}

.printing-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px 18px;
}

.printing-card {
	padding: 0 0 18px;
	border-bottom: 1px solid var(--color-border-light);
}

.printing-card--link {
	display: block;
	color: inherit;
	text-decoration: none;
	transition: opacity var(--transition);
}

.printing-card--link:hover {
	opacity: 0.88;
}

.printing-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 48px;
	margin: 0 0 12px;
	padding: 12px 14px;
	background: #f5f5f5;
	overflow: hidden;
}

.printing-card__title {
	margin: 0;
	flex: 1;
	min-width: 0;
	font-size: 18px;
	font-weight: var(--font-weight-bold);
	line-height: 1.25;
	color: var(--color-primary);
}

.printing-card__thumb {
	flex-shrink: 0;
	width: 72px;
	height: 48px;
	background: #ebebeb;
	overflow: hidden;
}

.printing-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.printing-card__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--color-text);
}

@media (min-width: 640px) {
	.printing-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 20px;
	}

	.printing-card {
		border-bottom: none;
		padding: 0;
	}
}

@media (min-width: 1100px) {
	.printing-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 28px 22px;
	}

	.printing-card__title {
		font-size: 16px;
	}
}
