/* Страница «Цены на установку забора» — отдельная дизайн-система страницы */
:root {
	--z-accent: #0566ec;
	--z-accent-dark: #0453c0;
	--z-ink: #001a34;
	--z-muted: #5b6b7a;
	--z-line: #e3ecf6;
	--z-soft: #f2f7fd;
	--z-radius: 16px;
	--z-shadow: 0 10px 30px rgba(0, 26, 52, .07);
}

.psg-z, .psg-hero, .psg-trust, .psg-calc, .psg-included, .psg-prices, .psg-piles, .psg-gates, .psg-gallery, .psg-steps, .psg-cta {
	color: var(--z-ink);
	font-family: inherit;
	box-sizing: border-box;
}
.psg-z *, .psg-hero *, .psg-trust *, .psg-calc *, .psg-included *, .psg-prices *, .psg-piles *, .psg-gates *, .psg-gallery *, .psg-steps *, .psg-cta * { box-sizing: border-box; }

.psg-h2 {
	font-size: 2.1vw;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.01em;
	margin: 0 0 .6vw;
	text-align: left;
}
.psg-h2--white { color: #fff; }
.psg-sub { font-size: 1.02vw; line-height: 1.6; color: var(--z-muted); margin: 0 0 1.6vw; max-width: 52em; }

/* ---------- Кнопки ---------- */
.psg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 52px; padding: 0 24px; border-radius: 12px; border: 1.5px solid transparent;
	font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer;
	transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.psg-btn--primary { background: var(--z-accent); color: #fff !important; box-shadow: 0 8px 20px rgba(5, 102, 236, .22); }
.psg-btn--primary:hover { background: var(--z-accent-dark); transform: translateY(-1px); }
.psg-btn--ghost { background: #fff; color: var(--z-accent) !important; border-color: #bcd6f7; }
.psg-btn--ghost:hover { border-color: var(--z-accent); background: #f6faff; }
.psg-btn--block { width: 100%; }

/* ---------- Hero ---------- */
.psg-hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(900px 420px at 88% 8%, rgba(5, 102, 236, .10), transparent 62%),
		radial-gradient(700px 380px at 4% 92%, rgba(5, 102, 236, .07), transparent 60%),
		#f7fbff;
	border: 1px solid var(--z-line);
	border-radius: 26px;
	padding: 3vw;
	margin-bottom: 1.6vw;
}
.psg-hero__inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: 3vw; align-items: center; }
.psg-badge {
	display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 100px;
	background: #e7f0ff; color: var(--z-accent); font-size: 12px; font-weight: 600; letter-spacing: .01em;
}
.psg-hero__title { font-size: 3vw; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin: 16px 0 14px; }
.psg-hero__lead { font-size: 1.06vw; line-height: 1.6; color: var(--z-muted); margin: 0 0 1.6vw; max-width: 34em; }
.psg-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.psg-hero__stats { display: flex; gap: 2.4vw; margin: 2vw 0 0; padding: 0; list-style: none; }
.psg-hero__stats li { display: flex; flex-direction: column; gap: 2px; }
.psg-hero__stats b { font-size: 1.45vw; font-weight: 700; letter-spacing: -.01em; }
.psg-hero__stats span { font-size: .78vw; color: var(--z-muted); }
.psg-hero__media .psg-photo { height: 100%; min-height: 300px; }

/* ---------- Плейсхолдеры фото ---------- */
.psg-photo {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	border: 2px dashed #c9dcf3; border-radius: 18px; background: linear-gradient(160deg, #eef5fe, #e2edfb);
	color: #7b93ae; text-align: center; padding: 18px; min-height: 190px;
}
.psg-photo__icon { font-size: 26px; opacity: .55; }
.psg-photo__text { font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.psg-photo--hero { aspect-ratio: 4 / 3; }
.psg-photo--big { min-height: 100%; }
.psg-photo--wide { margin-top: 1.4vw; }

/* ---------- Плашки доверия ---------- */
.psg-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1vw; margin-bottom: 2.4vw; }
.psg-trust__card {
	display: flex; flex-direction: column; gap: 6px;
	background: #fff; border: 1px solid var(--z-line); border-radius: var(--z-radius);
	padding: 1.15vw 1.1vw; box-shadow: 0 4px 16px rgba(0, 26, 52, .04);
}
.psg-trust__card b { font-size: .96vw; font-weight: 600; }
.psg-trust__card span { font-size: .82vw; line-height: 1.45; color: var(--z-muted); }
.psg-trust__icon {
	width: 40px; height: 40px; border-radius: 50%; background: #e9f1ff; color: var(--z-accent);
	display: inline-flex; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 4px;
}

/* ---------- Калькулятор ---------- */
.psg-calc {
	background: #fff; border: 1px solid var(--z-line); border-radius: 22px;
	box-shadow: var(--z-shadow); padding: 2.2vw; margin-bottom: 2.4vw; scroll-margin-top: 120px;
}
.psg-calc__head { margin-bottom: 1.4vw; }
.psg-calc__body { display: grid; grid-template-columns: 1fr 390px; gap: 2vw; align-items: start; }
.psg-calc__fields { display: flex; flex-direction: column; gap: 1.3vw; }
.psg-field { display: flex; flex-direction: column; gap: 8px; }
.psg-field__label { font-size: .92vw; font-weight: 600; color: var(--z-ink); }
.psg-field__label b { color: var(--z-accent); }
.psg-range {
	-webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 100px;
	background: #dbe7f5; outline: none; cursor: pointer;
}
.psg-range::-webkit-slider-thumb {
	-webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
	background: #fff; border: 3px solid var(--z-accent); box-shadow: 0 2px 8px rgba(5, 102, 236, .35); cursor: grab;
}
.psg-range::-moz-range-thumb {
	width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--z-accent); cursor: grab;
}
.psg-segmented { display: inline-flex; background: var(--z-soft); border-radius: 12px; padding: 4px; gap: 4px; }
.psg-segmented label { position: relative; cursor: pointer; }
.psg-segmented input { position: absolute; opacity: 0; pointer-events: none; }
.psg-segmented span {
	display: block; padding: 9px 20px; border-radius: 9px; font-size: 13px; font-weight: 600;
	color: var(--z-muted); transition: background .18s, color .18s;
}
.psg-segmented input:checked + span { background: #fff; color: var(--z-accent); box-shadow: 0 2px 8px rgba(0, 26, 52, .09); }
.psg-calc__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8vw; }
.psg-input {
	height: 46px; border: 1.5px solid #dbe7f4; border-radius: 11px; padding: 0 12px;
	font-size: 14px; color: var(--z-ink); background: #fff; outline: none; transition: border-color .18s, box-shadow .18s;
}
.psg-input:focus { border-color: var(--z-accent); box-shadow: 0 0 0 3px rgba(5, 102, 236, .13); }
.psg-hint { font-size: .78vw; line-height: 1.5; color: #8b9bab; margin: 0; }

.psg-calc__result {
	background: var(--z-soft); border: 1px solid var(--z-line); border-radius: 18px; padding: 1.5vw;
	position: sticky; top: 100px;
}
.psg-calc__cap { display: block; font-size: .8vw; color: var(--z-muted); margin-bottom: 4px; }
.psg-calc__total { display: block; font-size: 2.15vw; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; color: var(--z-accent); margin-bottom: 1vw; }
.psg-calc__breakdown { list-style: none; margin: 0 0 1.1vw; padding: 0; }
.psg-calc__breakdown li {
	display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
	font-size: .84vw; padding: .45vw 0; border-bottom: 1px dashed #d6e4f3; color: var(--z-muted);
}
.psg-calc__breakdown li:last-child { border-bottom: none; }
.psg-calc__breakdown b { color: var(--z-ink); font-weight: 600; white-space: nowrap; }
.psg-calc__note { display: block; margin-top: 10px; font-size: .74vw; color: #8b9bab; line-height: 1.45; }

/* ---------- Что входит ---------- */
.psg-included { margin-bottom: 2.4vw; }
.psg-included__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1vw; }
.psg-included__card {
	display: flex; flex-direction: column; gap: 6px; background: #fff;
	border: 1px solid var(--z-line); border-radius: var(--z-radius); padding: 1.1vw;
	transition: transform .18s, box-shadow .18s;
}
.psg-included__card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 26, 52, .07); }
.psg-included__card b { font-size: .94vw; font-weight: 600; }
.psg-included__card span { font-size: .8vw; line-height: 1.45; color: var(--z-muted); }
.psg-included__icon {
	width: 42px; height: 42px; border-radius: 12px; background: #eaf2ff; color: var(--z-accent);
	display: inline-flex; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 4px;
}

/* ---------- Карточки цен ---------- */
.psg-prices { margin-bottom: 2.4vw; }
.psg-prices__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4vw; margin-bottom: 1.2vw; }
.psg-price-card {
	position: relative; background: #fff; border: 1px solid var(--z-line); border-radius: 20px;
	padding: 1.8vw; box-shadow: 0 6px 22px rgba(0, 26, 52, .05);
}
.psg-price-card--hit { border: 2px solid var(--z-accent); box-shadow: 0 14px 34px rgba(5, 102, 236, .16); }
.psg-price-card__badge {
	position: absolute; top: -13px; left: 1.8vw; background: var(--z-accent); color: #fff;
	font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 100px; letter-spacing: .02em;
}
.psg-price-card__name { font-size: 1.35vw; font-weight: 700; margin: 0 0 6px; }
.psg-price-card__note { font-size: .86vw; color: var(--z-muted); margin: 0 0 1vw; line-height: 1.5; }
.psg-price-card__price { font-size: 2.5vw; font-weight: 700; letter-spacing: -.02em; line-height: 1; margin-bottom: 1vw; }
.psg-price-card__price span { font-size: .9vw; font-weight: 500; color: var(--z-muted); margin-left: 6px; }
.psg-price-card__list { list-style: none; margin: 0 0 1.4vw; padding: 0; }
.psg-price-card__list li { position: relative; padding-left: 22px; font-size: .88vw; line-height: 1.6; color: #28405c; }
.psg-price-card__list li::before {
	content: "✓"; position: absolute; left: 0; top: 0; color: var(--z-accent); font-weight: 700; font-size: .85vw;
}

/* ---------- Плашка-примечание ---------- */
.psg-note-card {
	display: flex; align-items: center; gap: 1vw; background: var(--z-soft);
	border: 1px solid var(--z-line); border-radius: var(--z-radius); padding: 1vw 1.3vw;
}
.psg-note-card__icon {
	width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--z-accent);
	display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex: none;
}
.psg-note-card div { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.psg-note-card b { font-size: .95vw; }
.psg-note-card span { font-size: .82vw; color: var(--z-muted); line-height: 1.45; }

/* ---------- Сваи ---------- */
.psg-piles { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.4vw; align-items: start; margin-bottom: 2.4vw; }
.psg-checks { list-style: none; margin: 0 0 .4vw; padding: 0; }
.psg-checks li { position: relative; padding-left: 26px; font-size: .95vw; line-height: 1.7; color: #28405c; }
.psg-checks li::before {
	content: "✓"; position: absolute; left: 0; top: 1px; color: var(--z-accent); font-weight: 700;
}
.psg-piles__table { background: #fff; border: 1px solid var(--z-line); border-radius: 20px; padding: 1.4vw; box-shadow: 0 6px 22px rgba(0, 26, 52, .05); }
.psg-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .92vw; margin-bottom: 1vw; }
.psg-table th, .psg-table td { padding: .7vw .8vw; text-align: left; border-bottom: 1px solid #eef3f9; }
.psg-table th { font-size: .8vw; font-weight: 600; color: var(--z-muted); text-transform: uppercase; letter-spacing: .04em; }
.psg-table tbody tr:hover td { background: #f8fbff; }
.psg-table td:first-child { font-weight: 600; }

/* ---------- Ворота ---------- */
.psg-gates { margin-bottom: 2.4vw; }
.psg-gates__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2vw; margin-bottom: 1.2vw; }
.psg-gate-card {
	display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--z-line);
	border-radius: 18px; padding: 1.4vw; box-shadow: 0 6px 20px rgba(0, 26, 52, .045);
}
.psg-gate-card__name { font-size: 1.1vw; font-weight: 700; margin: 0; }
.psg-gate-card__note { font-size: .84vw; line-height: 1.5; color: var(--z-muted); margin: 0 0 auto; }
.psg-gate-card__price { font-size: 1.5vw; font-weight: 700; color: var(--z-ink); margin: .6vw 0; }
.psg-gate-card .psg-btn { height: 44px; font-size: 13px; }

/* ---------- Галерея ---------- */
.psg-gallery { margin-bottom: 2.4vw; }
.psg-gallery__grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 1vw; }
.psg-gallery__grid .psg-photo--big { grid-row: span 2; }

/* ---------- Шаги ---------- */
.psg-steps { margin-bottom: 2.4vw; }
.psg-steps__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1vw; }
.psg-step { position: relative; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--z-line); border-radius: var(--z-radius); padding: 1.2vw 1vw; }
.psg-step__num {
	width: 34px; height: 34px; border-radius: 50%; background: var(--z-accent); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; margin-bottom: 4px;
}
.psg-step b { font-size: .93vw; font-weight: 600; }
.psg-step span:last-child { font-size: .8vw; line-height: 1.45; color: var(--z-muted); }

/* ---------- CTA ---------- */
.psg-cta {
	display: grid; grid-template-columns: 1fr 420px; gap: 2.4vw; align-items: center;
	background: linear-gradient(135deg, #0566ec, #0a4fd0 70%);
	border-radius: 24px; padding: 2.4vw; color: #fff; margin-bottom: 1vw;
}
.psg-cta__text p { font-size: 1vw; line-height: 1.6; color: rgba(255, 255, 255, .86); margin: 0 0 1vw; max-width: 30em; }
.psg-cta__phone { display: inline-block; font-size: 1.5vw; font-weight: 700; color: #fff !important; text-decoration: none; }
.psg-form { background: #fff; border-radius: 18px; padding: 1.4vw; display: flex; flex-direction: column; gap: .8vw; }
.psg-form__field { display: flex; flex-direction: column; gap: 6px; }
.psg-form__field span { font-size: .78vw; font-weight: 600; color: var(--z-muted); }
.psg-form__field input, .psg-form__field textarea {
	height: 46px; border: 1.5px solid #dbe7f4; border-radius: 11px; padding: 0 12px;
	font-size: 14px; color: var(--z-ink); outline: none; font-family: inherit; transition: border-color .18s, box-shadow .18s;
}
.psg-form__field textarea { height: auto; padding: 10px 12px; resize: vertical; }
.psg-form__field input:focus, .psg-form__field textarea:focus { border-color: var(--z-accent); box-shadow: 0 0 0 3px rgba(5, 102, 236, .13); }
.psg-form__note { font-size: .72vw; color: #8b9bab; text-align: center; line-height: 1.45; }
.psg-form__note.is-error { color: #d0342c; }
.psg-form__note.is-ok { color: #1a9d5a; }

/* FAQ/details внутри контента страницы */
.page-blocks details {
	border: 1px solid var(--z-line); border-radius: 14px; padding: .9vw 1.1vw; margin-bottom: .7vw; background: #fff;
}
.page-blocks details summary { cursor: pointer; font-weight: 600; font-size: 1vw; list-style: none; }
.page-blocks details summary::-webkit-details-marker { display: none; }
.page-blocks details summary::after { content: "+"; float: right; color: var(--z-accent); font-weight: 700; }
.page-blocks details[open] summary::after { content: "–"; }
.page-blocks details p { margin: .7vw 0 0; color: var(--z-muted); font-size: .95vw; line-height: 1.6; }

/* ---------- Мобильная версия ---------- */
@media (max-width: 1100px) {
	.psg-hero__inner, .psg-calc__body, .psg-piles, .psg-cta { grid-template-columns: 1fr; }
	.psg-trust, .psg-included__grid, .psg-steps__grid { grid-template-columns: repeat(2, 1fr); }
	.psg-gates__grid { grid-template-columns: 1fr; }
	.psg-gallery__grid { grid-template-columns: 1fr; grid-template-rows: auto; }
	.psg-gallery__grid .psg-photo--big { grid-row: auto; min-height: 240px; }
	.psg-calc__result { position: static; }
	.psg-h2 { font-size: 5vw; }
	.psg-sub { font-size: 3.5vw; margin-bottom: 4vw; }
	.psg-hero { padding: 5vw; border-radius: 20px; }
	.psg-hero__title { font-size: 7vw; }
	.psg-hero__lead { font-size: 3.6vw; }
	.psg-hero__stats { gap: 5vw; margin-top: 5vw; flex-wrap: wrap; }
	.psg-hero__stats b { font-size: 4.6vw; }
	.psg-hero__stats span { font-size: 2.9vw; }
	.psg-trust__card, .psg-included__card, .psg-step { padding: 4vw 3.6vw; }
	.psg-trust__card b, .psg-included__card b, .psg-step b { font-size: 3.6vw; }
	.psg-trust__card span, .psg-included__card span, .psg-step span:last-child { font-size: 3.1vw; }
	.psg-calc { padding: 5vw; border-radius: 18px; }
	.psg-field__label { font-size: 3.5vw; }
	.psg-calc__row { grid-template-columns: 1fr 1fr; gap: 3vw; }
	.psg-calc__total { font-size: 8vw; }
	.psg-calc__cap, .psg-calc__note, .psg-hint { font-size: 3vw; }
	.psg-calc__breakdown li { font-size: 3.3vw; padding: 1.6vw 0; }
	.psg-price-card { padding: 5vw; }
	.psg-price-card__name { font-size: 4.6vw; }
	.psg-price-card__note, .psg-price-card__list li { font-size: 3.3vw; }
	.psg-price-card__price { font-size: 8.5vw; }
	.psg-price-card__price span { font-size: 3.2vw; }
	.psg-prices__grid { grid-template-columns: 1fr; gap: 4vw; }
	.psg-note-card { flex-direction: column; align-items: flex-start; gap: 3vw; padding: 4vw; }
	.psg-note-card b { font-size: 3.5vw; }
	.psg-note-card span { font-size: 3.1vw; }
	.psg-checks li { font-size: 3.5vw; }
	.psg-piles__table { padding: 4vw; }
	.psg-table { font-size: 3.2vw; }
	.psg-table th { font-size: 2.8vw; }
	.psg-table th, .psg-table td { padding: 2.4vw 2vw; }
	.psg-gate-card { padding: 4.5vw; }
	.psg-gate-card__name { font-size: 4.4vw; }
	.psg-gate-card__note { font-size: 3.2vw; }
	.psg-gate-card__price { font-size: 5.6vw; }
	.psg-cta { padding: 5vw; border-radius: 18px; }
	.psg-cta__text p { font-size: 3.5vw; }
	.psg-cta__phone { font-size: 5.4vw; }
	.psg-form { padding: 4.5vw; gap: 3vw; }
	.psg-form__field span { font-size: 3vw; }
	.psg-form__field input, .psg-form__field textarea { height: 12vw; font-size: 3.8vw; border-radius: 3vw; }
	.psg-form__field textarea { height: auto; }
	.psg-form__note { font-size: 2.7vw; }
	.page-blocks details { padding: 3.4vw 4vw; border-radius: 3.4vw; }
	.page-blocks details summary { font-size: 3.6vw; }
	.page-blocks details p { font-size: 3.3vw; margin-top: 2.6vw; }
}

/* Полная ширина для лендинга + читаемая колонка для текстовых блоков */
.page-blocks--zabor { max-width: 100%; margin-bottom: 3vw; }
.page-blocks--zabor > h2, .page-blocks--zabor > p, .page-blocks--zabor > ul, .page-blocks--zabor > ol,
.page-blocks--zabor > details, .page-blocks--zabor > figure {
	max-width: 62vw; margin-left: auto; margin-right: auto;
}
.psg-hero__stats b { white-space: nowrap; font-size: 1.25vw; }
.psg-trust__icon svg, .psg-included__icon svg, .psg-note-card__icon svg { width: 20px; height: 20px; }
.psg-photo__icon svg { opacity: .8; }
.page-blocks details summary { list-style: none; }
.page-blocks details summary::-webkit-details-marker { display: none; }
@media (max-width: 1100px) {
	.page-blocks--zabor > h2, .page-blocks--zabor > p, .page-blocks--zabor > ul, .page-blocks--zabor > ol,
	.page-blocks--zabor > details, .page-blocks--zabor > figure { max-width: 100%; }
	.psg-hero__stats b { font-size: 4.4vw; }
}

/* Карточки ворот одинаковой высоты, кнопка прижата вниз */
.psg-gates__grid { align-items: stretch; }
.psg-gate-card { height: 100%; }
.psg-gate-card .psg-btn { margin-top: auto; }
.psg-trust__icon svg, .psg-included__icon svg { width: 22px; height: 22px; stroke-width: 1.9; }
.psg-included__icon, .psg-trust__icon { color: var(--z-accent); }

/* Сетки не должны раздуваться от содержимого */
.psg-hero__inner > *, .psg-calc__body > *, .psg-piles > *, .psg-cta > * { min-width: 0; }
@media (max-width: 1100px) {
	.psg-hero__inner { grid-template-columns: minmax(0, 1fr); }
	.psg-hero__media .psg-photo { min-height: 220px; height: 220px; aspect-ratio: auto; }
	.psg-calc__body { grid-template-columns: minmax(0, 1fr); }
}

/* Галочки в списках: размер не должен схлопываться на мобильном */
@media (max-width: 1100px) {
	.psg-price-card__list li { padding-left: 6vw; }
	.psg-price-card__list li::before { font-size: 3.6vw; top: 0; }
	.psg-checks li { padding-left: 6.5vw; }
	.psg-checks li::before { font-size: 3.6vw; }
}

/* ===== Секции страницы собраны блоками Гутенберга ===== */
.psg-hero.wp-block-group { padding: 3vw; border-radius: 26px; }
.psg-hero .psg-hero__cols { gap: 3vw; align-items: center; margin: 0; }
.psg-hero .psg-hero__cols .wp-block-column { min-width: 0; }
.psg-hero__title { font-size: 3vw; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin: 16px 0 14px; }
.psg-hero__lead { font-size: 1.06vw; line-height: 1.6; color: var(--z-muted); margin: 0 0 1.4vw; }
.psg-badge { display: inline-block; padding: 7px 14px; border-radius: 100px; background: #e7f0ff; color: var(--z-accent); font-size: 12px; font-weight: 600; margin: 0; }
.psg-hero__actions.wp-block-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 1.4vw; }
.psg-stats { font-size: .95vw; color: var(--z-muted); margin: 0; }
.psg-stats strong { color: var(--z-ink); font-size: 1.15vw; }

/* Кнопки: гасим стили ядра внутри наших кнопок */
.psg-btn.wp-block-button { display: inline-flex; align-items: center; justify-content: center; margin: 0; }
.psg-btn .wp-block-button__link {
	background: transparent !important; color: inherit !important; border: 0 !important;
	padding: 0 !important; border-radius: 0 !important; box-shadow: none !important;
	font-size: inherit !important; font-weight: inherit !important; line-height: 1 !important;
	width: 100%; text-align: center; text-decoration: none;
}
.psg-btn--primary.wp-block-button { background: var(--z-accent) !important; color: #fff !important; }
.psg-btn--primary.wp-block-button:hover { background: var(--z-accent-dark) !important; }
.psg-btn--ghost.wp-block-button { background: #fff !important; color: var(--z-accent) !important; border-color: #bcd6f7 !important; }
.psg-btn--block.wp-block-button { width: 100%; }

/* Карточки-колонки */
.psg-cards { gap: 1vw; margin: 0 0 2vw; align-items: stretch; }
.psg-cards > .wp-block-column { flex: 1 1 0; min-width: 0; }
.psg-card {
	background: #fff; border: 1px solid var(--z-line); border-radius: var(--z-radius);
	padding: 1.2vw 1.1vw; box-shadow: 0 4px 16px rgba(0, 26, 52, .04);
}
.psg-card__title { font-size: .98vw; font-weight: 600; line-height: 1.3; margin: 0 0 6px; text-align: left; }
.psg-card__text { font-size: .82vw; line-height: 1.5; color: var(--z-muted); margin: 0; }
.psg-card--price { padding: 1.8vw; position: relative; }
.psg-price { font-size: 2.4vw; font-weight: 700; letter-spacing: -.02em; line-height: 1; margin: .8vw 0 1vw; }
.psg-price span { font-size: .9vw; font-weight: 500; color: var(--z-muted); margin-left: 4px; }
.psg-card--hit { border: 2px solid var(--z-accent); box-shadow: 0 14px 34px rgba(5, 102, 236, .16); }
.psg-card__badge { position: absolute; top: -13px; left: 1.8vw; margin: 0; background: var(--z-accent); color: #fff; font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 100px; }
.psg-card--price .wp-block-list { margin: 0 0 1.2vw; padding-left: 0; list-style: none; }
.psg-card--price .wp-block-list li { position: relative; padding-left: 22px; font-size: .88vw; line-height: 1.6; color: #28405c; margin-bottom: 2px; }
.psg-card--price .wp-block-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--z-accent); font-weight: 700; }
.psg-step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--z-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; margin: 0 0 8px; }

/* Плашка-примечание */
.psg-note.wp-block-group { background: var(--z-soft); border: 1px solid var(--z-line); border-radius: var(--z-radius); padding: 1vw 1.3vw; margin: 0 0 2vw; }
.psg-note p { margin: 0; font-size: .9vw; line-height: 1.6; color: #28405c; }
.psg-note a { color: var(--z-accent); }

/* Плейсхолдеры фото */
.psg-photo.wp-block-group { display: flex; align-items: center; justify-content: center; min-height: 220px; border: 2px dashed #c9dcf3; border-radius: 18px; background: linear-gradient(160deg, #eef5fe, #e2edfb); color: #7b93ae; padding: 18px; margin: 0; }
.psg-photo--tall { min-height: 300px; }
.psg-photo p { margin: 0; font-size: 12px; font-weight: 500; line-height: 1.5; }

/* Галерея */
.psg-gallery { gap: 1vw; margin: 0 0 2vw; align-items: stretch; }
.psg-gallery > .wp-block-column { min-width: 0; }
.psg-gallery .psg-photo { height: 100%; }

/* Таблицы и списки в контенте */
.page-blocks--zabor .wp-block-table table { border-collapse: collapse; width: 100%; font-size: .92vw; }
.page-blocks--zabor .wp-block-table th, .page-blocks--zabor .wp-block-table td { border: 1px solid var(--z-line); padding: .6vw .7vw; text-align: left; }
.page-blocks--zabor .wp-block-table th { background: #f5f9fd; font-weight: 600; }

/* Мобильная версия */
@media (max-width: 1100px) {
	.psg-hero.wp-block-group { padding: 5vw; border-radius: 20px; }
	.psg-hero__title { font-size: 7vw; }
	.psg-hero__lead { font-size: 3.6vw; margin-bottom: 4vw; }
	.psg-stats { font-size: 3.2vw; }
	.psg-stats strong { font-size: 3.8vw; }
	.psg-cards, .psg-gallery { flex-wrap: wrap !important; gap: 3vw; }
	.psg-cards > .wp-block-column, .psg-gallery > .wp-block-column { flex-basis: 100% !important; width: 100% !important; }
	.psg-cards--4 > .wp-block-column, .psg-cards--3 > .wp-block-column { flex-basis: calc(50% - 1.5vw) !important; }
	.psg-card { padding: 4vw; }
	.psg-card__title { font-size: 3.8vw; }
	.psg-card__text { font-size: 3.2vw; }
	.psg-card--price { padding: 5vw; }
	.psg-price { font-size: 8vw; }
	.psg-price span { font-size: 3.2vw; }
	.psg-card--price .wp-block-list li { font-size: 3.3vw; padding-left: 6vw; }
	.psg-card--price .wp-block-list li::before { font-size: 3.6vw; }
	.psg-note.wp-block-group { padding: 4vw; }
	.psg-note p { font-size: 3.3vw; }
	.psg-photo.wp-block-group { min-height: 180px; }
	.page-blocks--zabor .wp-block-table table { font-size: 3.2vw; }
	.page-blocks--zabor .wp-block-table th, .page-blocks--zabor .wp-block-table td { padding: 2.2vw 2vw; }
}

/* Заголовки секций — слева */
.page-blocks--zabor h2, .page-blocks--zabor h3 { text-align: left !important; }
.page-blocks--zabor > h2 { font-size: 2.1vw; line-height: 1.2; font-weight: 700; margin: 2.4vw auto 1vw; }
@media (max-width: 1100px) { .page-blocks--zabor > h2 { font-size: 5vw; margin: 7vw auto 4vw; } }

/* Единая сетка: заголовки и карточки на всю ширину, тексты — читаемой колонкой */
.page-blocks--zabor > h2, .page-blocks--zabor > h3 {
	max-width: 100%; margin-left: 0; margin-right: 0; text-align: left;
}
.page-blocks--zabor > p, .page-blocks--zabor > ul, .page-blocks--zabor > ol {
	max-width: 920px; margin-left: 0; margin-right: 0;
}
.page-blocks--zabor > details { max-width: 100%; margin-left: 0; margin-right: 0; }
@media (max-width: 1100px) {
	.page-blocks--zabor > p, .page-blocks--zabor > ul, .page-blocks--zabor > ol { max-width: 100%; }
}

/* Фотографии: скругление и кадрирование под слот */
.psg-img { margin: 0; }
.psg-img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.psg-img--hero { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; }
.psg-img--wide { margin-top: 1.4vw; }
.psg-img--tall { min-height: 300px; height: 100%; }
.psg-gallery .psg-img { height: 100%; }
@media (max-width: 1100px) {
	.psg-img--hero { aspect-ratio: auto; height: 220px; }
	.psg-img--tall { min-height: 240px; }
}

/* Фиксированная высота слотов, чтобы фото не раздували секцию */
.psg-img--wide { height: 320px; overflow: hidden; }
.psg-gallery .psg-img { height: 260px; }
.psg-img--tall { height: 260px; min-height: 0; }
@media (max-width: 1100px) {
	.psg-img--wide { height: 220px; }
	.psg-gallery .psg-img, .psg-img--tall { height: 200px; }
}
