/* v321 — Target LP consistency: FV veil, varied trust imagery, centered PC section titles. */

/* Food-company FV now uses the same image-layer + overlay architecture as the restaurant FV. */
.smp-food-company-v320 .smp-foodlp-hero--background {
	position: relative;
	isolation: isolate;
	min-height: 620px;
	padding: 0 !important;
	overflow: hidden;
	background: #07162e !important;
	background-image: none !important;
}

.smp-food-company-v320 .smp-foodlp-hero__background {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.smp-food-company-v320 .smp-foodlp-hero__background::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.68) 28%, rgba(0, 0, 0, 0.34) 58%, rgba(0, 0, 0, 0.18) 100%),
		linear-gradient(180deg, rgba(7, 22, 46, 0.24) 0%, rgba(7, 22, 46, 0.20) 100%);
}

.smp-food-company-v320 .smp-foodlp-hero__background img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 620px;
	object-fit: cover;
	object-position: center center;
}

.smp-food-company-v320 .smp-foodlp-hero--background::after {
	content: none !important;
	display: none !important;
}

.smp-food-company-v320 .smp-foodlp-hero__grid {
	position: relative;
	z-index: 1;
}

/* Trust imagery: six genuinely different scenes, so crops should show their subject naturally. */
.smp-food-company-v320 .smp-food-polish-reason figure img,
.smp-food-company-v320 .smp-food-polish-reason:nth-child(5) figure img,
.smp-food-company-v320 .smp-food-polish-reason:nth-child(6) figure img {
	object-position: center center !important;
}

/* Desktop section-heading rule for the two target LPs. Mobile stays naturally left-aligned where needed. */
@media (min-width: 769px) {
	.smp-food-company-page section:not(.smp-foodlp-hero) .smp-foodlp-center-title,
	.smp-food-company-page section:not(.smp-foodlp-hero) .smp-food-polish-value__content h2,
	.smp-food-company-page section:not(.smp-foodlp-hero) .smp-foodlp-consult__content h2,
	.smp-food-company-page section:not(.smp-foodlp-hero) .smp-target-final-cta__inner h2,
	.smp-restaurant-owner-page section:not(.smp-reslp-hero) .smp-reslp-center-title,
	.smp-restaurant-owner-page section:not(.smp-reslp-hero) .smp-reslp-value__copy h2,
	.smp-restaurant-owner-page section:not(.smp-reslp-hero) .smp-reslp-recommended__panel h2,
	.smp-restaurant-owner-page section:not(.smp-reslp-hero) .smp-reslp-consult__content h2,
	.smp-restaurant-owner-page section:not(.smp-reslp-hero) .smp-target-final-cta__inner h2 {
		text-align: center !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	.smp-food-company-page section:not(.smp-foodlp-hero) .smp-target-section-kicker,
	.smp-food-company-page section:not(.smp-foodlp-hero) .smp-foodlp-section-label,
	.smp-food-company-page .smp-food-polish-heading-row .smp-target-section-kicker,
	.smp-food-company-page .smp-food-polish-heading-row .smp-foodlp-center-title,
	.smp-restaurant-owner-page section:not(.smp-reslp-hero) .smp-reslp-section-label {
		text-align: center !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	/* Keep split-section body copy readable while the heading treatment stays consistent. */
	.smp-food-company-page .smp-food-polish-value__content > p:not(.smp-foodlp-section-label),
	.smp-food-company-page .smp-foodlp-consult__content > p,
	.smp-restaurant-owner-page .smp-reslp-value__copy .smp-reslp-section-copy,
	.smp-restaurant-owner-page .smp-reslp-recommended__panel .smp-reslp-section-copy,
	.smp-restaurant-owner-page .smp-reslp-consult__content > p {
		text-align: left;
	}
}

@media (max-width: 820px) {
	.smp-food-company-v320 .smp-foodlp-hero__background img {
		min-height: 610px;
		object-position: 66% center;
	}

	.smp-food-company-v320 .smp-foodlp-hero__background::after {
		background:
			linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0.88) 100%),
			linear-gradient(90deg, rgba(7, 22, 46, 0.40) 0%, rgba(7, 22, 46, 0.14) 100%);
	}
}

@media (max-width: 560px) {
	.smp-food-company-v320 .smp-foodlp-hero__background img {
		min-height: 580px;
		object-position: 70% center;
	}
}

@media (min-width: 769px) {
	.smp-food-company-page .smp-food-polish-heading-row > div,
	.smp-food-company-page .smp-food-polish-flow__intro > div {
		max-width: 860px !important;
		margin-left: auto !important;
		margin-right: auto !important;
		text-align: center !important;
	}
}

@media (max-width: 768px) {
	.smp-food-company-v320 .smp-foodlp-hero__background::after {
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.68) 34%, rgba(0, 0, 0, 0.52) 100%);
	}
}
