/* ============================================================
   КОНТЕНТНЫЕ СТРАНИЦЫ: СЕРВИС, ДОСТАВКА, О КОМПАНИИ, КОНТАКТЫ
   ============================================================ */

.mpp-page {
	background: var(--sand-2);
	color: var(--ink);
	font-family: var(--font-sans);
	overflow: clip;
}

.mpp-page__inner {
	width: min(1520px, 92vw);
	margin: 0 auto;
}

/* Hero */
.mpp-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(38px, 6vw, 76px) 0 clamp(48px, 6vw, 72px);
	background:
		radial-gradient(circle at 84% 14%, rgba(180, 111, 76, 0.22), transparent 42%),
		radial-gradient(circle at 8% 92%, rgba(232, 238, 232, 0.12), transparent 46%),
		linear-gradient(135deg, var(--green-deep) 0%, var(--green) 55%, var(--green-2) 100%);
	color: var(--sand);
}

.mpp-hero::after {
	content: "";
	position: absolute;
	right: -140px;
	top: -140px;
	width: 440px;
	height: 440px;
	border: 1px solid rgba(245, 239, 225, 0.12);
	border-radius: 50%;
	pointer-events: none;
}

.mpp-hero .mpp-page__inner {
	position: relative;
	z-index: 1;
}

.mpp-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 30px;
	color: rgba(245, 239, 225, 0.5);
	font-size: var(--fs-sm);
}

.mpp-breadcrumbs a {
	color: rgba(245, 239, 225, 0.78);
	text-decoration: none;
}

.mpp-breadcrumbs a:hover {
	color: #fff;
	text-decoration: underline;
}

.mpp-hero__eyebrow {
	display: inline-block;
	color: rgba(245, 239, 225, 0.58);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.mpp-hero__title {
	max-width: 920px;
	margin: 10px 0 16px;
	color: var(--sand);
	font-size: clamp(34px, 5vw, 60px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.mpp-hero__lead {
	max-width: 790px;
	margin: 0;
	color: rgba(245, 239, 225, 0.8);
	font-size: clamp(16px, 1.5vw, 20px);
	line-height: 1.55;
}

.mpp-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.mpp-badge {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border: 1px solid rgba(245, 239, 225, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(245, 239, 225, 0.9);
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.mpp-hero__updated {
	margin: 18px 0 0;
	color: rgba(245, 239, 225, 0.42);
	font-size: 12px;
}

/* Навигация по странице */
.mpp-nav {
	position: sticky;
	top: 32px !important;
	z-index: 50;
	display: flex;
	gap: 4px;
	width: fit-content;
	max-width: 100%;
	margin: -30px auto 0;
	padding: 7px;
	overflow-x: auto;
	border: 1px solid var(--sand-3);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 18px 45px -30px rgba(13, 36, 28, 0.65);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	scrollbar-width: none;
}

.mpp-nav::-webkit-scrollbar {
	display: none;
}

.mpp-nav a {
	flex: 0 0 auto;
	padding: 9px 14px;
	border-radius: 999px;
	color: var(--green);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}

.mpp-nav a:hover,
.mpp-nav a:focus-visible {
	background: var(--sand-2);
	color: var(--green-deep);
}

/* Секции */
.mpp-section {
	padding: clamp(36px, 5vw, 64px) 0 0;
	scroll-margin-top: 90px;
}

.mpp-section__head {
	max-width: 820px;
	margin-bottom: 26px;
}

.mpp-eyebrow {
	display: inline-block;
	color: var(--green-2);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.mpp-section h2 {
	margin: 8px 0 12px;
	color: var(--green-deep);
	font-size: clamp(26px, 3.2vw, 38px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.mpp-lead {
	margin: 0;
	color: var(--muted);
	font-size: clamp(15px, 1.3vw, 18px);
	line-height: 1.65;
}

/* Сетки и карточки */
.mpp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
}

.mpp-grid--2 {
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.mpp-card {
	padding: 24px;
	border: 1px solid var(--sand-3);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 42px -34px rgba(13, 36, 28, 0.55);
}

.mpp-card h3 {
	margin: 0 0 10px;
	color: var(--green-deep);
	font-size: 19px;
	font-weight: 650;
	line-height: 1.3;
}

.mpp-card p {
	margin: 0 0 12px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.65;
}

.mpp-card p:last-child {
	margin-bottom: 0;
}

.mpp-card a {
	color: var(--green-2);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(32, 88, 69, 0.25);
}

.mpp-card a:hover {
	color: var(--green-deep);
	border-bottom-color: currentColor;
}

.mpp-card__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 16px;
	border-radius: 14px;
	background: var(--green);
	color: var(--sand);
	font-size: 18px;
}

.mpp-card--ok {
	border-top: 4px solid #2f8f5b;
}

.mpp-card--ok .mpp-card__icon {
	background: #1f7a4d;
}

.mpp-card--warn {
	border-top: 4px solid #b42318;
}

.mpp-card--warn .mpp-card__icon {
	background: #b42318;
}

/* Таймлайн */
.mpp-timeline {
	display: grid;
	gap: 12px;
}

.mpp-timeline__item {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 18px;
	padding: 20px 22px;
	border: 1px solid var(--sand-3);
	border-radius: 16px;
	background: #fff;
}

.mpp-timeline__when {
	color: var(--green);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.mpp-timeline h3 {
	margin: 0 0 6px;
	color: var(--green-deep);
	font-size: 18px;
	line-height: 1.3;
}

.mpp-timeline p {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.65;
}

/* Шаги */
.mpp-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	counter-reset: mppstep;
}

.mpp-step {
	position: relative;
	padding: 64px 22px 22px;
	border: 1px solid var(--sand-3);
	border-radius: 18px;
	background: #fff;
}

.mpp-step::before {
	counter-increment: mppstep;
	content: counter(mppstep);
	position: absolute;
	top: 20px;
	left: 22px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--green);
	color: var(--sand);
	font-size: 15px;
	font-weight: 700;
}

.mpp-step h3 {
	margin: 0 0 8px;
	color: var(--green-deep);
	font-size: 18px;
	line-height: 1.3;
}

.mpp-step p {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.65;
}

/* FAQ */
.mpp-faq {
	display: grid;
	gap: 10px;
}

.mpp-faq details {
	overflow: hidden;
	border: 1px solid var(--sand-3);
	border-radius: 14px;
	background: #fff;
}

.mpp-faq summary {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	color: var(--green-deep);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	cursor: pointer;
	list-style: none;
}

.mpp-faq summary::-webkit-details-marker {
	display: none;
}

.mpp-faq summary::after {
	content: "+";
	color: var(--green-2);
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
}

.mpp-faq details[open] summary::after {
	content: "−";
}

.mpp-faq summary:focus-visible {
	outline: 2px solid var(--violet);
	outline-offset: -2px;
}

.mpp-faq__body {
	padding: 0 22px 20px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.7;
}

.mpp-faq__body p {
	margin: 0 0 10px;
}

.mpp-faq__body p:last-child {
	margin-bottom: 0;
}

/* Заметки */
.mpp-note,
.mpp-warning {
	margin: 22px 0 0;
	padding: 18px 22px;
	border-radius: 0 14px 14px 0;
	color: var(--ink);
	font-size: 15px;
	line-height: 1.65;
}

.mpp-note {
	border-left: 4px solid var(--green-2);
	background: rgba(22, 61, 47, 0.06);
}

.mpp-warning {
	border-left: 4px solid #b42318;
	background: rgba(180, 35, 24, 0.06);
}

.mpp-note strong,
.mpp-warning strong {
	color: var(--green-deep);
}

/* Списки */
.mpp-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding-left: 22px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.65;
}

.mpp-list li::marker {
	color: var(--green-2);
}

/* Контакты */
.mpp-contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 16px;
}

.mpp-contact-card {
	padding: 24px;
	border: 1px solid var(--sand-3);
	border-radius: 18px;
	background: #fff;
}

.mpp-contact-card h3 {
	margin: 0 0 10px;
	color: var(--green-deep);
	font-size: 18px;
	line-height: 1.3;
}

.mpp-contact-card a {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--green);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	word-break: break-word;
}

.mpp-contact-card a:hover {
	color: var(--green-2);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mpp-contact-card p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
}

.mpp-contact-card__big {
	margin: 0 0 8px !important;
	color: var(--green-deep) !important;
	font-size: 19px !important;
	font-weight: 700;
}

/* Таблица реквизитов */
.mpp-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--sand-3);
	border-radius: 16px;
	background: #fff;
}

.mpp-requisites {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
}

.mpp-requisites th,
.mpp-requisites td {
	padding: 14px 18px;
	border-bottom: 1px solid var(--sand-3);
	text-align: left;
	vertical-align: top;
	font-size: 15px;
	line-height: 1.55;
}

.mpp-requisites th {
	width: 36%;
	background: var(--sand-2);
	color: var(--green-deep);
	font-weight: 600;
}

.mpp-requisites td {
	color: var(--muted);
}

.mpp-requisites tr:last-child th,
.mpp-requisites tr:last-child td {
	border-bottom: 0;
}

.mpp-requisites a {
	color: var(--green-2);
}

/* Карта */
.mpp-map {
	overflow: hidden;
	border: 1px solid var(--sand-3);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 18px 44px -36px rgba(13, 36, 28, 0.55);
}

.mpp-map iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
}

/* CTA */
.mpp-related {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 40px 0 0;
	padding: 14px;
	border: 1px solid var(--sand-3);
	border-radius: 16px;
	background: #fff;
}

.mpp-related__label {
	margin-right: 4px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mpp-related a {
	padding: 8px 12px;
	border-radius: 999px;
	background: var(--sand-2);
	color: var(--green);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

/* Контакты — сетка 3 × 2, без описаний */
.mpp-contact-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.mpp-contact-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 150px;
	padding: 22px;
	border-color: var(--line);
	background: #fff;
	transition: transform .2s ease, box-shadow .2s ease;
}

.mpp-contact-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-soft);
}

.mpp-contact-card .mpp-card__icon {
	width: 42px;
	height: 42px;
	margin-bottom: 16px;
	border-radius: 12px;
	background: var(--sand);
	color: var(--green);
	font-size: 16px;
}

.mpp-contact-card h3 {
	margin: 0 0 8px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.mpp-contact-card a {
	margin: 0;
	color: var(--green-deep);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.mpp-contact-card__big {
	margin: 0 !important;
	color: var(--green-deep) !important;
	font-size: 20px !important;
	font-weight: 700;
}

.mpp-contact-card p:not(.mpp-contact-card__big):not(:has(a)) {
	display: none;
}

@media (max-width: 900px) {
	.mpp-contact-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.mpp-contact-grid {
		grid-template-columns: 1fr;
	}
}

/* Навигация страниц: ровная высота и центрирование текста */
.mpp-nav {
	align-items: center;
	box-sizing: border-box;
}

.mpp-nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 14px;
	line-height: 1;
}

@media (max-width: 900px) {
	.mpp-nav {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		padding: 5px;
	}

	.mpp-nav a {
		min-height: 34px;
		padding: 0 11px;
	}
}

/* Контакты: bento-карточки */
.mpp-contact-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.mpp-contact-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 176px;
	padding: 24px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: linear-gradient(155deg, #fff 0%, #f7f9f5 100%);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mpp-contact-card::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--green), rgba(32, 88, 69, 0));
	opacity: 0;
	transition: opacity .2s ease;
}

.mpp-contact-card::after {
	content: '';
	position: absolute;
	right: -34px;
	bottom: -38px;
	width: 118px;
	height: 118px;
	border-radius: 50%;
	background: rgba(32, 88, 69, .045);
	pointer-events: none;
}

.mpp-contact-card > * {
	position: relative;
	z-index: 1;
}

.mpp-contact-card:hover {
	transform: translateY(-3px);
	border-color: var(--stone);
	box-shadow: 0 22px 44px -32px rgba(13, 36, 28, .55);
}

.mpp-contact-card:hover::before {
	opacity: 1;
}

.mpp-contact-card .mpp-card__icon {
	width: 44px;
	height: 44px;
	margin-bottom: 18px;
	border-radius: 13px;
	background: var(--sand);
	color: var(--green);
	font-size: 16px;
}

.mpp-contact-card h3 {
	margin: 0 0 8px;
	color: var(--muted);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .09em;
	line-height: 1.35;
	text-transform: uppercase;
}

.mpp-contact-card a,
.mpp-contact-card__big {
	margin: auto 0 0 !important;
	color: var(--green-deep) !important;
	font-size: 17px !important;
	font-weight: 700;
	line-height: 1.38;
	text-decoration: none;
	word-break: break-word;
}

.mpp-contact-card a:hover {
	color: var(--accent) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mpp-contact-card:first-child {
	border-color: transparent;
	background: linear-gradient(145deg, #0b2119 0%, #205845 100%);
}

.mpp-contact-card:first-child::before {
	background: linear-gradient(90deg, var(--copper), rgba(224, 180, 155, 0));
	opacity: 1;
}

.mpp-contact-card:first-child::after {
	background: rgba(255, 255, 255, .055);
}

.mpp-contact-card:first-child .mpp-card__icon {
	background: rgba(255, 255, 255, .12);
	color: #e0b49b;
}

.mpp-contact-card:first-child h3 {
	color: rgba(244, 246, 242, .55);
}

.mpp-contact-card:first-child a {
	color: #fff !important;
	font-size: 21px !important;
}

.mpp-contact-card:first-child a:hover {
	color: #e0b49b !important;
}

.mpp-contact-card:nth-child(5) {
	border-color: #ead8cb;
	background: linear-gradient(145deg, #fdf9f5 0%, #f4e8e1 100%);
}

.mpp-contact-card:nth-child(5) .mpp-card__icon {
	background: #f0d9ca;
	color: var(--copper);
}

.mpp-contact-card:nth-child(5) h3 {
	color: #9c6a50;
}

.mpp-contact-card:nth-child(5) .mpp-contact-card__big {
	color: var(--copper) !important;
}

@media (max-width: 900px) {
	.mpp-contact-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.mpp-contact-grid {
		grid-template-columns: 1fr;
	}

	.mpp-contact-card {
		min-height: 148px;
		padding: 20px;
	}

	.mpp-contact-card:first-child a {
		font-size: 19px !important;
	}
}

/* Устаревшие блоки: не показываем, если фильтр не сработал */
.mpp-breadcrumbs,
.mpp-hero__updated,
.mpp-cta,
.mpp-related,
.mpp-faq {
	display: none !important;
}

/* Реквизиты — современная таблица */
.mpp-table-wrap {
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--shadow-soft);
	overflow-x: auto;
}

.mpp-requisites {
	width: 100%;
	min-width: 0;
	border-collapse: separate;
	border-spacing: 0;
}

.mpp-requisites th,
.mpp-requisites td {
	padding: 15px 18px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
	font-size: 14.5px;
	line-height: 1.55;
}

.mpp-requisites th {
	width: 30%;
	background: transparent;
	color: var(--muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.mpp-requisites td {
	color: var(--ink);
	font-weight: 500;
}

.mpp-requisites tr:nth-child(even) th,
.mpp-requisites tr:nth-child(even) td {
	background: var(--paper);
}

.mpp-requisites tr:last-child th,
.mpp-requisites tr:last-child td {
	border-bottom: 0;
}

.mpp-requisites a {
	color: var(--green-2);
	text-decoration: none;
}

.mpp-requisites a:hover {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 640px) {
	.mpp-table-wrap {
		padding: 8px;
		border-radius: 16px;
	}

	.mpp-requisites,
	.mpp-requisites tbody,
	.mpp-requisites tr,
	.mpp-requisites th,
	.mpp-requisites td {
		display: block;
		width: 100%;
	}

	.mpp-requisites tr {
		padding: 10px 0;
		border-bottom: 1px solid var(--line);
	}

	.mpp-requisites tr:last-child {
		border-bottom: 0;
	}

	.mpp-requisites th {
		padding: 4px 10px;
		border: 0;
		font-size: 10px;
	}

	.mpp-requisites td {
		padding: 0 10px 8px;
		border: 0;
		font-size: 14px;
	}

	.mpp-requisites tr:nth-child(even) th,
	.mpp-requisites tr:nth-child(even) td {
		background: transparent;
	}
}

.mpp-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin: clamp(44px, 6vw, 80px) 0;
	padding: clamp(28px, 4vw, 44px);
	border-radius: 24px;
	background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 60%, var(--green-2) 100%);
	color: var(--sand);
}

.mpp-cta .mpp-eyebrow {
	color: rgba(232, 238, 232, 0.6);
}

.mpp-cta h2 {
	margin: 8px 0;
	color: var(--sand);
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.mpp-cta p {
	max-width: 560px;
	margin: 0;
	color: rgba(232, 238, 232, 0.75);
	font-size: 15px;
	line-height: 1.6;
}

.mpp-cta__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.mpp-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mpp-btn:hover {
	transform: translateY(-1px);
}

.mpp-btn--primary {
	background: var(--sand);
	color: var(--green-deep);
}

.mpp-btn--primary:hover {
	background: #fff;
	color: var(--green-deep);
}

.mpp-btn--ghost {
	border: 1px solid rgba(232, 238, 232, 0.45);
	color: var(--sand);
}

.mpp-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

/* Ссылки внутри контента */
.mpp-content a {
	color: var(--green-2);
	text-underline-offset: 2px;
}

.mpp-content a:hover {
	color: var(--green-deep);
}

/* Адаптив */
@media (max-width: 900px) {
	.mpp-timeline__item {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.mpp-timeline__when {
		display: inline-flex;
		width: fit-content;
		padding: 4px 10px;
		border-radius: 999px;
		background: var(--sand-2);
		font-size: 13px;
	}

	.mpp-cta {
		align-items: flex-start;
	}
}

@media (max-width: 768px) {
	.mpp-hero {
		padding-bottom: 46px;
	}

	.mpp-hero__meta {
		gap: 6px;
	}

	.mpp-badge {
		font-size: 11px;
	}

	.mpp-nav {
		top: 20px !important;
		margin-top: -24px;
		border-radius: 16px;
		padding: 6px;
	}

	.mpp-nav a {
		padding: 8px 11px;
		font-size: 13px;
	}

	.mpp-card,
	.mpp-contact-card,
	.mpp-step {
		padding: 20px;
	}

	.mpp-step {
		padding-top: 60px;
	}

	.mpp-map iframe {
		height: 340px;
	}

	.mpp-cta {
		border-radius: 18px;
	}

	.mpp-cta__actions {
		width: 100%;
	}

	.mpp-btn {
		flex: 1 1 auto;
		justify-content: center;
	}
}

/* ============================================================
   ЕДИНЫЙ СТИЛЬ: ТИПОГРАФИКА, СЕТКИ, КАРТОЧКИ
   ============================================================ */
.mpp-page,
.mpp-page button,
.mpp-page input,
.mpp-page textarea,
.mpp-page select {
	font-family: var(--font-sans);
}

.mpp-page h1,
.mpp-page h2,
.mpp-page h3,
.mpp-page h4,
.mpp-hero__title,
.mpp-section h2,
.mpp-card h3,
.mpp-timeline h3,
.mpp-step h3,
.mpp-contact-card h3,
.mpp-faq summary,
.mpp-cta h2,
.mpp-btn,
.mpp-nav a {
	font-family: var(--font-sans) !important;
}

.mpp-hero__title {
	font-size: clamp(30px, 4.4vw, 52px);
	line-height: 1.04;
}

.mpp-hero__lead {
	font-size: clamp(16px, 1.35vw, 18px);
	line-height: 1.6;
}

.mpp-section {
	padding-top: clamp(32px, 4.5vw, 56px);
}

.mpp-section h2 {
	font-size: clamp(24px, 3vw, 34px);
	letter-spacing: -0.025em;
}

.mpp-lead {
	font-size: 16.5px;
}

.mpp-grid {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.mpp-card {
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mpp-card:hover {
	transform: translateY(-2px);
	border-color: rgba(22, 61, 47, 0.22);
	box-shadow: 0 22px 48px -34px rgba(13, 36, 28, 0.6);
}

.mpp-card p {
	font-size: 15.5px;
	line-height: 1.7;
}

.mpp-step p,
.mpp-timeline p,
.mpp-faq__body,
.mpp-contact-card p,
.mpp-list {
	font-size: 15.5px;
	line-height: 1.7;
}

/* ============================================================
   ЮРИДИЧЕСКИЕ СТРАНИЦЫ: НОВЫЙ МАКЕТ
   ============================================================ */
.mpp-page--legal {
	overflow: visible;
}

.mpp-page--legal .mpp-hero {
	padding-bottom: clamp(40px, 5vw, 60px);
}

.mpp-legal-layout {
	display: grid;
	grid-template-columns: 320px minmax(0, 1000px);
	justify-content: center;
	gap: clamp(24px, 3vw, 40px);
	align-items: start;
	padding: clamp(26px, 4vw, 44px) 0 clamp(56px, 7vw, 88px);
}

.mpp-legal-side {
	position: sticky;
	top: 32px;
	display: grid;
	gap: 14px;
}

.mpp-legal-toc {
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.mpp-legal-toc__label {
	display: block;
	margin-bottom: 8px;
	color: var(--green);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mpp-legal-toc a {
	display: block;
	padding: 7px 0;
	border-bottom: 1px dashed var(--line);
	color: var(--muted);
	font-size: 13px;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s ease;
}

.mpp-legal-toc a:last-child {
	border-bottom: 0;
}

.mpp-legal-toc a:hover {
	color: var(--green);
}

.mpp-legal-help {
	padding: 18px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%);
	color: var(--sand);
}

.mpp-legal-help strong {
	display: block;
	margin-bottom: 8px;
	color: var(--sand);
	font-size: 15px;
}

.mpp-legal-help p {
	margin: 0;
	color: rgba(232, 238, 232, 0.72);
	font-size: 13px;
	line-height: 1.55;
}

.mpp-legal-help a {
	display: block;
	margin-top: 8px;
	color: var(--sand);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

.mpp-legal-help a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mpp-legal-article {
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid var(--line);
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.mpp-legal-article h2 {
	margin: 0 0 16px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
	color: var(--green-deep);
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.2;
	letter-spacing: -0.02em;
	scroll-margin-top: 90px;
}

.mpp-legal-article h2:first-of-type {
	padding-top: 0;
	border-top: 0;
}

.mpp-legal-article h3 {
	margin: 28px 0 10px;
	color: var(--green-deep);
	font-size: 19px;
	line-height: 1.3;
}

.mpp-legal-article p,
.mpp-legal-article li {
	color: #3f4c43;
	font-size: 16px;
	line-height: 1.8;
}

.mpp-legal-article p {
	margin: 0 0 16px;
}

.mpp-legal-article ul,
.mpp-legal-article ol {
	margin: 0 0 20px;
	padding-left: 22px;
}

.mpp-legal-article li {
	margin-bottom: 8px;
}

.mpp-legal-article a {
	color: var(--green-2);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mpp-legal-article strong {
	color: var(--green-deep);
}

.mpp-legal-article table {
	width: 100%;
	margin: 20px 0;
	border-collapse: collapse;
	font-size: 14.5px;
}

.mpp-legal-article th,
.mpp-legal-article td {
	padding: 12px 14px;
	border: 1px solid var(--sand-3);
	text-align: left;
	vertical-align: top;
}

.mpp-legal-article th {
	background: var(--sand-2);
	color: var(--green-deep);
	font-weight: 600;
}

.mpp-legal-article tr:nth-child(even) td {
	background: rgba(245, 239, 225, 0.45);
}

.mpp-legal-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.mpp-legal-actions .mpp-btn--primary {
	background: var(--green);
	color: var(--sand);
}

.mpp-legal-actions .mpp-btn--primary:hover {
	background: var(--green-2);
	color: #fff;
}

.mpp-legal-actions .mpp-btn--ghost {
	border-color: var(--line);
	color: var(--green);
}

.mpp-legal-actions .mpp-btn--ghost:hover {
	background: var(--sand-2);
	color: var(--green-deep);
}

.mpp-legal-top {
	margin-left: auto;
	color: var(--muted);
	font-size: 13px;
	text-decoration: none;
}

.mpp-legal-top:hover {
	color: var(--green);
	text-decoration: underline;
}

@media (max-width: 1200px) {
	.mpp-legal-layout {
		grid-template-columns: 1fr;
		max-width: 1000px;
		margin: 0 auto;
	}

	.mpp-legal-side {
		position: static;
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 900px) {
	.mpp-legal-layout {
		grid-template-columns: 1fr;
	}

	.mpp-legal-side {
		position: static;
		grid-template-columns: 1fr 1fr;
	}

	.mpp-legal-toc {
		max-height: none;
	}
}

@media (max-width: 640px) {
	.mpp-legal-side {
		grid-template-columns: 1fr;
	}

	.mpp-legal-article {
		border-radius: 18px;
	}

	.mpp-legal-article p,
	.mpp-legal-article li {
		font-size: 15px;
	}

	.mpp-legal-actions {
		align-items: stretch;
	}

	.mpp-legal-actions .mpp-btn {
		width: 100%;
	}

	.mpp-legal-top {
		margin-left: 0;
	}
}

/* ============================================================
   Контакты: bento-сетка
   ============================================================ */

.mpp-bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: minmax(156px, auto);
	gap: 11px;
}

.mpp-bento-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	overflow: hidden;
	padding: 20px;
	border: 1px solid rgba(20, 61, 46, .1);
	border-radius: 17px;
	background: #fff;
}

.mpp-bento-card::after {
	content: '';
	position: absolute;
	right: -34px;
	bottom: -42px;
	width: 110px;
	height: 110px;
	border: 1px solid rgba(20, 61, 46, .08);
	border-radius: 50%;
	pointer-events: none;
}

.mpp-bento-card--hero {
	grid-column: span 2;
	background:
		radial-gradient(circle at 100% 0%, rgba(224, 180, 155, .28), transparent 40%),
		linear-gradient(135deg, #102c21, #1d4c3b);
	border-color: transparent;
}

.mpp-bento-card--mail {
	background: linear-gradient(145deg, #fbf3ec, #fff);
	border-color: rgba(166, 105, 78, .18);
}

.mpp-bento-card--wide {
	grid-column: span 2;
	background: #f1f5ef;
}

.mpp-bento-card__num {
	display: block;
	margin-bottom: 14px;
	color: #9aaa9e;
	font-size: 8.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.mpp-bento-card .mpp-card__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin-bottom: 12px;
	border-radius: 10px;
	background: #eef4ef;
	color: var(--green);
	font-size: 13px;
}

.mpp-bento-card--hero .mpp-bento-card__num {
	color: rgba(255, 255, 255, .55);
}

.mpp-bento-card--hero .mpp-card__icon {
	background: rgba(255, 255, 255, .1);
	color: #e0b49b;
}

.mpp-bento-card h3 {
	margin: 0 0 7px;
	color: var(--green-deep);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.mpp-bento-card p {
	margin: 0;
	color: #64766b;
	font-size: 11.5px;
	line-height: 1.55;
}

.mpp-bento-card__value {
	display: block;
	margin-top: auto;
	padding-top: 9px;
	color: var(--green-deep);
	font-size: clamp(15px, 1.55vw, 20px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -.015em;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.mpp-bento-card a.mpp-bento-card__value:hover {
	color: #a8694e;
}

.mpp-bento-card--mail .mpp-bento-card__value {
	color: #a8694e;
	text-decoration: underline;
	text-decoration-color: rgba(166, 105, 78, .35);
	text-underline-offset: 4px;
}

.mpp-bento-card--hero h3 {
	color: #fff;
	font-size: 16px;
}

.mpp-bento-card--hero p {
	max-width: 330px;
	color: rgba(255, 255, 255, .62);
}

.mpp-bento-card--hero .mpp-bento-card__value {
	color: #fff;
	font-size: clamp(24px, 2.8vw, 38px);
	letter-spacing: -.04em;
}

.mpp-bento-card--wide .mpp-card__icon {
	background: #fff;
}

.mpp-bento-card--wide p {
	max-width: 430px;
}

.mpp-bento-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 12px;
	color: var(--green);
	font-size: 10px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

.mpp-bento-card__link i {
	color: #a8694e;
	font-size: 8px;
}

.mpp-bento-card__link:hover {
	color: #a8694e;
}

@media (max-width: 1000px) {
	.mpp-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mpp-bento-card--hero,
	.mpp-bento-card--wide {
		grid-column: span 2;
	}
}

@media (max-width: 620px) {
	.mpp-bento {
		grid-template-columns: 1fr;
		grid-auto-rows: minmax(140px, auto);
		gap: 8px;
	}

	.mpp-bento-card--hero,
	.mpp-bento-card--wide {
		grid-column: auto;
	}

	.mpp-bento-card {
		padding: 17px;
		border-radius: 14px;
	}

	.mpp-bento-card--hero .mpp-bento-card__value {
		font-size: 27px;
	}
}
