/*
 * Дочерняя тема «Мой Свет». Загружается после style.min.css темы Twenty Twenty-Five.
 * Цвета сайта, шрифты с нашего сервера, шапка и подвал, свои блоки из конвертера.
 * Шаблоны и разметка страниц — штатные.
 */

/* ---------- Шрифты: файлы лежат в assets/fonts (лицензии — там же) ---------- */

@font-face {
	font-family: 'Ubuntu';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/ubuntu-400-cyrillic.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: 'Ubuntu';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/ubuntu-400-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	font-stretch: 100%;
	font-display: swap;
	src: url('../fonts/opensans-400-cyrillic.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	font-stretch: 100%;
	font-display: swap;
	src: url('../fonts/opensans-400-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Цвета и ширина: как на старом сайте ---------- */

:root {
	--msv-accent: #2d98da;
	--msv-dark: #303952;
	--msv-muted: #727c8f;
	--msv-line: #e3e6ec;
	--msv-bg: #f6f7f8;

	/* пресеты темы Twenty Twenty-Five, чтобы её блоки взяли цвета сайта */
	--wp--preset--color--base: #ffffff;
	--wp--preset--color--contrast: #303952;
	--wp--preset--color--accent-1: #2d98da;
	--wp--preset--color--accent-4: #727c8f;
	--wp--preset--color--accent-5: #f6f7f8;

	--wp--style--global--content-size: 1100px;
	--wp--style--global--wide-size: 1240px;
}

body,
.wp-site-blocks {
	font-family: 'Open Sans', sans-serif, system-ui;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.6;
	color: var(--msv-dark);
}

/* Заголовки — Ubuntu. На старом сайте было только обычное начертание. */
h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-heading {
	font-family: 'Ubuntu', sans-serif, system-ui;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.25;
	color: var(--msv-dark);
}

h1 {
	font-size: 2.1em;
}

h2 {
	font-size: 1.7em;
}

h3 {
	font-size: 1.3em;
}

h4,
h5,
h6 {
	font-size: 1.1em;
}

.wp-block-post-content a:not(.wp-block-button__link) {
    color: var(--msv-accent);
}

/* ---------- Шапка ---------- */

.msv-header {
	border-bottom: 1px solid var(--msv-line);
}

.msv-header img.custom-logo {
	height: 52px;
	width: auto;
	max-width: none;
}

.msv-menu {
	font-size: 1rem;
}

.msv-menu .wp-block-navigation-item__content,
.msv-menu .wp-block-navigation-item__content:where(:hover, :focus) {
	color: var(--msv-dark);
	text-decoration: none;
	font-weight: 600;
}

.msv-menu .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
	color: var(--msv-accent);
}

/* ---------- Подвал ---------- */

.msv-footer {
	border-top: 1px solid var(--msv-line);
	background: var(--msv-bg);
	font-size: 0.95em;
}

.msv-footer img.custom-logo {
	height: 48px;
	width: auto;
	max-width: none;
}

.msv-footer-cols > .wp-block-column > * + * {
	margin-top: 0.75em;
}

.msv-footer .wp-block-navigation {
	font-size: 0.95em;
}

.msv-footer .wp-block-navigation-item {
	margin: 0.2em 0;
}

.msv-footer .wp-block-navigation-item__content {
	color: var(--msv-dark);
	text-decoration: none;
}

.msv-footer .wp-block-navigation-item__content:hover {
	color: var(--msv-accent);
}

.msv-footer p {
	margin: 0.4em 0;
}

/* часы работы — шорткод msv_working_hours */
ul.msv-hours {
	margin: 0.4em 0;
	padding: 0;
	list-style: none;
}

ul.msv-hours li {
	margin: 0;
}

/* ---------- Кнопки и ссылки-кнопки ---------- */

.wp-block-button__link {
	background-color: var(--msv-accent);
	color: #fff;
	border-radius: 6px;
	padding: 0.75em 1.4em;
	text-decoration: none;
	font-weight: 600;
}

.wp-block-button__link:hover {
	color: #fff;
	filter: brightness(0.95);
}

.wp-block-post-content a.button {
	display: inline-block;
	background-color: var(--msv-accent);
	color: #fff;
	padding: 0.65em 1.15em;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	margin: 0.25em 0.4em 0.25em 0;
}

/* ---------- Блоки из конвертера ---------- */

/* один блок старого сайта — одна секция */
.wp-block-group.msv-block {
	margin-block: 34px;
}

.msv-card {
	background: #fff;
	border: 1px solid var(--msv-line);
	border-radius: 10px;
	padding: 14px;
}

.msv-card img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	display: block;
}

.msv-card h3,
.msv-card h4,
.msv-card h5 {
	margin-top: 0.6em;
}

/* номер шага */
p.msv-num {
	font-size: 2.4em;
	font-weight: 700;
	color: var(--msv-accent);
	line-height: 1;
	margin: 0.2em 0;
}

/* «до и после» */
.msv-compare img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	display: block;
}

/* галерея из одних картинок */
.wp-block-gallery {
	margin-block: 0;
}

.wp-block-gallery .wp-block-image img {
	height: 220px;
	object-fit: cover;
	border-radius: 6px;
}

/* вопросы и ответы */
.wp-block-details {
	border: 1px solid var(--msv-line);
	border-radius: 8px;
	padding: 10px 16px;
	margin: 8px 0;
}

.wp-block-details summary {
	cursor: pointer;
	font-weight: 600;
}

/* ---------- Форма заявки (Contact Form 7) ---------- */

.msv-block .wpcf7 {
	max-width: 560px;
	background: var(--msv-bg);
	border: 1px solid var(--msv-line);
	border-radius: 10px;
	padding: 20px;
}

.wpcf7 label {
	display: block;
	font-size: 0.9em;
	color: var(--msv-muted);
	margin-top: 10px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
	width: 100%;
	padding: 9px;
	border: 1px solid #c9cfda;
	border-radius: 6px;
	font: inherit;
	color: var(--msv-dark);
	background: #fff;
}

.wpcf7 textarea {
	min-height: 96px;
	resize: vertical;
}

.wpcf7-acceptance {
	margin: 12px 0;
}

.wpcf7-acceptance label {
	color: var(--msv-dark);
	font-size: 0.9em;
}

.wpcf7 input[type="submit"] {
	background-color: var(--msv-accent);
	color: #fff;
	border: 0;
	border-radius: 6px;
	padding: 12px 24px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.wpcf7-not-valid-tip {
	color: #b3261e;
}

.wpcf7-response-output {
	margin: 12px 0 0;
	border: 0;
	padding: 0;
}

/* ---------- Телефон ---------- */

@media (max-width: 781px) {

	h1 {
		font-size: 1.8em;
	}

	h2 {
		font-size: 1.45em;
	}

	.wp-block-gallery .wp-block-image img {
		height: 160px;
	}

	.msv-footer-cols > .wp-block-column + .wp-block-column {
		margin-top: 1.5em;
	}
}

/* =========================================================================
   Рамка 1:1 с оригиналом. Замер по CSS конструктора 29.11.2026:
   контейнер 1104, шкала типографики .sb-content-size_m, подвал #303952.
   Источник значений: _baseline\site-2026-11-26\assets\*.css
   ========================================================================= */

/* Twenty Twenty-Five печатает свои 645/1340 на body — перебиваем на том же уровне
   и позже по порядку (наша таблица подключается после global-styles). */
html,
body,
.wp-site-blocks {
	--wp--style--global--content-size: 1104px;
	--wp--style--global--wide-size: 1104px;
}

/* Базовый текст: 16/24 из оригинала, владелец попросил +20% -> 19/29 */
body,
.wp-site-blocks {
	font-size: 19px;
	line-height: 29px;
}

.wp-block-post-content p {
	font-size: 19px;
	line-height: 29px;
}

/* Шкала заголовков: H4-H6 равны H3, отдельной ступени больше нет */
h1 { font-size: 32px; line-height: 40px; }
h2 { font-size: 28px; line-height: 36px; }
h3, h4, h5, h6 { font-size: 22px; line-height: 28px; }

@media (min-width: 640px) {
	h1 { font-size: 48px; line-height: 56px; }
	h2 { font-size: 40px; line-height: 48px; }
	h3, h4, h5, h6 { font-size: 26px; line-height: 34px; }
}

@media (min-width: 960px) {
	h1 { font-size: 56px; line-height: 64px; }
	h2 { font-size: 48px; line-height: 56px; }
	h3, h4, h5, h6 { font-size: 28px; line-height: 36px; }
}

@media (min-width: 1360px) {
	h1 { font-size: 72px; line-height: 80px; }
	h2 { font-size: 56px; line-height: 64px; }
	h3, h4, h5, h6 { font-size: 32px; line-height: 40px; }
}

@media (max-width: 639px) {
	body,
	.wp-site-blocks,
	.wp-block-post-content p { font-size: 17px; line-height: 25px; }
}

/* Подвал: в оригинале тёмный #303952 с белым текстом */
.msv-footer {
	background: #303952;
	border-top: 0;
	color: #fff;
}

.msv-footer p,
.msv-footer .wp-block-navigation-item__content,
.msv-footer .wp-block-navigation-item__content:where(:hover, :focus) {
	color: #fff;
}

.msv-footer a:hover {
	color: #9ecbea;
}

/* ---------- Шапка и обложки: правки рамки 29.11.2026 ---------- */

/* шапка: логотип 240 px и поля 24 px, как header-type-1 в оригинале */
.msv-header > .wp-block-group { padding-top: 24px !important; padding-bottom: 24px !important; }
.msv-logo img { width: 240px; height: auto; max-width: none; }
.msv-footer .msv-logo img { width: 200px; }

/* текст на обложках белый, иначе тёмный на тёмном фото не читается */
.wp-block-cover, .wp-block-cover__inner-container { color: #fff; }
.wp-block-cover h1, .wp-block-cover h2, .wp-block-cover h3, .wp-block-cover h4,
.wp-block-cover h5, .wp-block-cover p,
.wp-block-cover a:not(.wp-block-button__link) { color: #fff; }

/* ---------- Полосы-секции: цвета фона из оригинала ---------- */
.msv-band-dark, .msv-band-grey {
	padding-block: 64px;
	margin-block: 0;
	/* было box-shadow + clip-path: на стыке двух полос появлялась светлая полоска */
	box-shadow: none;
	clip-path: none;
	width: 100vw;
	max-width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}
.msv-band-dark { background: #303952; color: #303952; }
.msv-band-grey { background: #f6f7f8; color: #1b1b1b; }
.msv-band-dark > * { position: relative; }
.msv-band-dark h1, .msv-band-dark h2, .msv-band-dark h3, .msv-band-dark h4,
.msv-band-dark h5, .msv-band-dark h6, .msv-band-dark p, .msv-band-dark li,
.msv-band-dark .wp-block-navigation-item__content { color: #fff; }

/* ---------- Сетка и шапка: правки 29.11.2026 (замер по оригиналу) ---------- */

/* шапка: контейнер 1104 по центру, иначе меню уезжает за край окна */
.msv-header > .wp-block-group {
	max-width: 1104px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

/* обложки — во всю ширину окна, как фоны секций в оригинале */
body { overflow-x: hidden; }
.msv-block .wp-block-cover {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	border-radius: 0;
}

/* «Что мы умеем»: три карточки в ряд, как services-type-2 */
.msv-services-type-2 .msv-grid,
.msv-product-services-type-5 .msv-grid,
.msv-product-services-type-3 .msv-grid {
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 24px;
}

/* галерея: сетка 3 в ряд с квадратной обрезкой, как gallery-type-3 */
.wp-block-gallery {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 8px;
}
.wp-block-gallery .wp-block-image img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

@media (max-width: 781px) {
	.msv-services-type-2 .msv-grid,
	.msv-product-services-type-5 .msv-grid,
	.msv-product-services-type-3 .msv-grid,
	.wp-block-gallery { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 520px) {
	.msv-services-type-2 .msv-grid,
	.msv-product-services-type-5 .msv-grid,
	.wp-block-gallery { grid-template-columns: 1fr !important; }
}

/* ---------- Полноширинные обложки и слайдер героя ---------- */

/* WP ограничивает детей constrained-раскладки по max-width — снимаем */
.msv-block .wp-block-cover { max-width: none !important; }

/* герой: три слайда в ряд с горизонтальной прокруткой, а не стопкой */
.msv-block.msv-slider-type-3 {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	width: 100vw;
	max-width: none !important;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-block: 0;
	padding: 0;
	gap: 0;
}
.msv-block.msv-slider-type-3::-webkit-scrollbar { display: none; }
.msv-block.msv-slider-type-3 > .wp-block-cover {
	flex: 0 0 100vw;
	width: 100vw;
	margin: 0 !important;
	scroll-snap-align: start;
	min-height: 640px;
	border-radius: 0;
}
.msv-slider-type-3 .wp-block-cover__inner-container { text-align: center; }
.msv-slider-type-3 .wp-block-buttons { justify-content: center; }

/* отзывы: тот же приём, карточки в ряд */
.msv-block.msv-slider-type-1 {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	gap: 24px;
}
.msv-block.msv-slider-type-1::-webkit-scrollbar { display: none; }
.msv-block.msv-slider-type-1 > .wp-block-cover,
.msv-block.msv-slider-type-1 > .wp-block-group {
	flex: 0 0 360px;
	scroll-snap-align: start;
}

/* ---------- Блоки контента: сетки и плоские карточки (как в оригинале) ---------- */

/* в оригинале блоки — не карточки с рамкой, а картинка + заголовок + текст + ссылка */
.msv-card {
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0;
}
.msv-card img, .msv-card .wp-block-image img,
.msv-block img { border-radius: 0; }

/* вертикальные отступы секций вместо внешних полей */
.msv-block { margin-block: 0; padding-block: 64px; }
.msv-band-dark, .msv-band-grey { padding-block: 64px; }

/* сетки: три в ряд по умолчанию */
.msv-block .msv-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 24px;
	align-items: start;
}
.msv-product-list-type-1 .msv-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px 32px; }
.msv-advantages-type-9 .msv-grid,
.msv-advantages-type-1 .msv-grid,
.msv-advantages-blocks-type-4 .msv-grid { grid-template-columns: repeat(3, 1fr) !important; }
.msv-testimonials-type-1 .msv-grid { grid-template-columns: repeat(3, 1fr) !important; }

@media (max-width: 960px) {
	.msv-block .msv-grid,
	.msv-product-list-type-1 .msv-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
	.msv-block .msv-grid,
	.msv-product-list-type-1 .msv-grid,
	.msv-testimonials-type-1 .msv-grid { grid-template-columns: 1fr !important; }
}

/* ---------- Карточки услуг: как в services-type-2 ----------
   Оригинал: картинка 1:1, заголовок sb-font-p1 (24/32), текст p3 16/24,
   ссылка «Узнать подробнее» — текстом, а не кнопкой. */
.msv-card .wp-block-image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}
.msv-card h3, .msv-card h4 {
	font-size: 24px;
	line-height: 32px;
	font-weight: 700;
	margin: 16px 0 8px;
}
.msv-card p { font-size: 19px; line-height: 29px; }
.msv-card .wp-block-button__link {
	background: transparent;
	color: #2d98da;
	padding: 0;
	border-radius: 0;
	font-weight: 600;
	text-decoration: none;
}
.msv-card .wp-block-button__link:hover { color: #1f7ab8; filter: none; }
.msv-band-dark .msv-card .wp-block-button__link { color: #7cc4f2; }

@media (max-width: 1359px) {
	.msv-card h3, .msv-card h4 { font-size: 20px; line-height: 28px; }
}

/* ---------- Исправления после просмотра (29.11.2026) ---------- */

/* отзывы: блок должен быть обычным, а не flex-строкой (из-за этого карточки сжались) */
.msv-block.msv-slider-type-1 {
	display: block;
	overflow: visible;
	gap: 0;
}

/* аватары в отзывах — 64 px круглые, как testimonials-type-1 */
.msv-testimonials-type-1 .msv-card .wp-block-image img,
.msv-block.msv-slider-type-1 .msv-card .wp-block-image img {
	width: 64px;
	height: 64px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	object-fit: cover;
}

/* никаких щелей между полосами */
.wp-block-post-content > .msv-block { margin-block: 0 !important; }

/* «до/после» без скруглений */
.msv-compare img { border-radius: 0; }

/* иконки преимуществ — маленькие, по центру колонки */
.msv-advantages-type-1 .wp-block-image img,
.msv-advantages-type-9 .wp-block-image img,
.msv-advantages-blocks-type-4 .wp-block-image img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	aspect-ratio: auto;
}
/* никаких скруглений у картинок контента */
.wp-block-post-content img { border-radius: 0 !important; }

/* иконки в блоке «Контакты» (main-type-10) — маленькие */
.msv-main-type-10 .msv-card .wp-block-image img {
	width: 64px;
	height: 64px;
	object-fit: contain;
}

/* ---------- Телефон: без 100vw, иначе контент шире экрана ---------- */
@media (max-width: 781px) {
	.msv-block .wp-block-cover,
	.msv-block.msv-slider-type-3,
	.msv-slider-type-3 > .wp-block-cover {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		flex-basis: 100% !important;
		min-width: 0;
	}
	.msv-slider-type-3 > .wp-block-cover { min-height: 480px; }
	.wp-block-post-content { overflow-x: hidden; }
	.wp-block-post-content img { max-width: 100%; height: auto; }
}

/* ---------- Телефон: жёсткая правка переполнения ---------- */
@media (max-width: 781px) {
	html, body { max-width: 100%; overflow-x: hidden; }
	.wp-block-post-content, .wp-block-post-content > * { max-width: 100% !important; }
	.msv-block.msv-slider-type-3 { display: block !important; overflow: visible !important; }
	.msv-slider-type-3 > .wp-block-cover,
	.msv-block .wp-block-cover { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
	.wp-block-cover__inner-container { max-width: 100% !important; box-sizing: border-box; }
	.wp-block-cover h1 { font-size: 26px !important; line-height: 32px !important; }
	.wp-block-cover h2 { font-size: 24px !important; line-height: 30px !important; }
	.wp-block-cover p { font-size: 14px !important; line-height: 20px !important; }
}

/* на телефоне герой остаётся лентой, а не стопкой */
@media (max-width: 781px) {
	.msv-block.msv-slider-type-3 {
		display: flex !important;
		overflow-x: auto !important;
		scroll-snap-type: x mandatory;
	}
	.msv-slider-type-3 > .wp-block-cover {
		flex: 0 0 100% !important;
		width: 100% !important;
		scroll-snap-align: start;
	}
}

/* контраст на обложках: затемняем только фотографию, текст остаётся белым */
.msv-block .wp-block-cover__image-background { filter: brightness(.62); }
.msv-block .wp-block-cover__inner-container { text-shadow: 0 1px 3px rgba(0,0,0,.45); }

/* полноширинная обложка: надёжнее отрицательных полей, работает и во flex */
.msv-block .wp-block-cover {
	width: 100vw !important;
	max-width: none !important;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.msv-block.msv-slider-type-3 {
	width: 100vw !important;
	max-width: none !important;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* номера шагов: крупные, как в steps-type-1 */
.wp-block-post-content p.msv-num {
	font-size: 56px;
	line-height: 1;
	font-weight: 700;
	color: var(--msv-accent);
	margin: 0 0 12px;
}
.msv-band-dark .wp-block-post-content p.msv-num,
.msv-band-dark p.msv-num { color: #7cc4f2; }

/* «до/после»: прямые углы и одинаковая высота */
.msv-compare img, .msv-compare .wp-block-image img { border-radius: 0 !important; }
.msv-compare .wp-block-column img { width: 100%; height: 260px; object-fit: cover; }
@media (max-width: 781px) {
	.msv-compare .wp-block-columns { display: block; }
	.msv-compare .wp-block-column img { height: auto; }
}

/* ---------- Дубли из мобильной версии конструктора ----------
   В оригинале у блоков два варианта заголовка (телефонный и десктопный),
   после переноса видны оба. Прячем второй вариант. */
.msv-slider-type-2 > h2:nth-of-type(2),
.msv-slider-type-2 > h2:nth-of-type(3),
.msv-slider-type-2 > p:nth-of-type(3),
.msv-history-type-1 > h2:nth-of-type(2) { display: none; }

/* ---------- «до/после»: ползунок ---------- */
.msv-ba { margin: 0 0 18px; }
.msv-ba__frame { position: relative; width: 100%; padding-top: 52%; overflow: hidden; background: #eee; }
.msv-ba__before, .msv-ba__after {
	position: absolute; inset: 0; background-size: cover; background-position: center;
}
.msv-ba__after { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.msv-ba__frame::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
	width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; z-index: 2;
}
.msv-ba__label {
	position: absolute; top: 12px; z-index: 3; padding: 4px 10px; border-radius: 4px;
	background: rgba(0,0,0,.55); color: #fff; font: 600 13px/1 "Open Sans", Arial, sans-serif;
}
.msv-ba__label--left { left: 12px; }
.msv-ba__label--right { right: 12px; }
.msv-ba__range { width: 100%; margin: 10px 0 0; accent-color: #2d98da; }
@media (max-width: 781px) { .msv-ba__frame { padding-top: 100%; } }
/* подписи «До»/«После» уже стоят на самом кадре — заголовки в колонках убираем */
.msv-compare__captions h3 { display: none; }

/* ---------- Отзывы: горизонтальная лента с прокруткой ---------- */
.msv-block.msv-slider-type-1 .msv-grid {
	display: flex !important;
	gap: 24px;
	overflow-x: auto !important;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	padding-bottom: 8px;
}
.msv-block.msv-slider-type-1 .msv-grid > .msv-card {
	flex: 0 0 360px;
	scroll-snap-align: start;
}
@media (max-width: 781px) {
	.msv-block.msv-slider-type-1 .msv-grid > .msv-card { flex-basis: 280px; }
}

/* ---------- Кнопки героев: цвета из оригинала ---------- */
body.page-id-11 .msv-slider-type-3 .wp-block-button__link { background: #ffffff; color: #303952; }
body.page-id-11 .msv-slider-type-3 .wp-block-button__link:hover { background: #f1f1f1; color: #303952; }
body.page-id-19 .msv-main-type-3 .wp-block-button__link { background: transparent; color: #fff; border: 2px solid #279eda; }
body.page-id-19 .msv-main-type-3 .wp-block-button__link:hover { background: rgba(39, 158, 218, .18); color: #fff; }
body.page-id-16 .msv-main-type-3 .wp-block-button__link,
body.page-id-17 .msv-main-type-3 .wp-block-button__link { background: #ffffff; color: #303952; }
body.page-id-12 .msv-main-type-5 .wp-block-button__link { background: #111111; color: #fff; }
body.page-id-13 .msv-main-type-12 .wp-block-button__link { background: #ffffff; color: #303952; }

/* ссылки-кнопки (.button) в героях — тот же цвет, что у кнопок */
body.page-id-19 .msv-main-type-3 a.button { background: transparent; color: #fff; border: 2px solid #279eda; }
body.page-id-16 .msv-main-type-3 a.button,
body.page-id-17 .msv-main-type-3 a.button { background: #ffffff; color: #303952; }
body.page-id-12 .msv-main-type-5 a.button { background: #111111; color: #fff; }
body.page-id-13 .msv-main-type-12 a.button { background: #ffffff; color: #303952; }
body.page-id-11 .msv-slider-type-3 a.button { background: #ffffff; color: #303952; }

/* ---------- Правки по замечаниям владельца 30.11 ---------- */

/* шапка в два раза ниже */
.msv-header > .wp-block-group { padding-top: 12px !important; padding-bottom: 12px !important; }
.msv-logo img { width: 120px !important; }

/* шрифты без Google: системные, ничего не грузим снаружи */
body, .wp-site-blocks,
.wp-block-post-content p, .msv-cookie, .wpcf7 input, .wpcf7 textarea {
	font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6, .wp-block-heading {
	font-family: Georgia, "Times New Roman", "PT Serif", serif;
	font-weight: 700;
}

/* герой: плотнее строки */
.msv-slider-type-3 .wp-block-cover p { margin: 0 0 4px; line-height: 1.35; }
.msv-slider-type-3 .wp-block-cover p + p { margin-top: 0; }

/* кнопка героя — круглая */
.msv-slider-type-3 .wp-block-button__link { border-radius: 999px; padding: 14px 30px; }

/* ---------- Пагинация героя ---------- */
.msv-hero-wrap { position: relative; }
.msv-hero-nav {
	position: absolute; left: 0; right: 0; bottom: 26px; z-index: 6;
	display: flex; justify-content: center; gap: 28px;
	max-width: 1104px; margin: 0 auto; padding: 0 20px;
	text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.msv-hero-nav__item {
	background: none; border: 0; padding: 0; cursor: pointer;
	color: #fff; opacity: .7; transition: opacity .2s;
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	font: 400 13px/1.3 "Segoe UI", system-ui, Arial, sans-serif; text-align: center;
	max-width: 300px;
}
.msv-hero-nav__item:hover { opacity: 1; }
.msv-hero-nav__item.is-active { opacity: 1; }
.msv-hero-nav__num {
	width: 36px; height: 36px; border-radius: 50%;
	border: 1px solid rgba(255,255,255,.8);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 14px;
}
.msv-hero-nav__item.is-active .msv-hero-nav__num { background: rgba(255,255,255,.92); color: #303952; border-color: #fff; }
@media (max-width: 781px) {
	.msv-hero-nav { display: none; }
}

/* ---------- Карточки «Что мы умеем», логотип, шрифты-переменные ---------- */

/* логотип в исходном размере, без растяжения */
.msv-logo img { width: auto !important; height: 45px !important; max-width: none; }

/* карточки услуг: одинаковая высота, два ряда под заголовок, ссылки в одну линию */
.msv-services-type-2 .msv-grid { align-items: stretch !important; }
.msv-services-type-2 .msv-card { display: flex; flex-direction: column; height: 100%; }
.msv-services-type-2 .msv-card h3 { min-height: 2.5em; }
.msv-services-type-2 .msv-card .wp-block-buttons { margin-top: auto; }
.msv-services-type-2 .msv-card p { margin-bottom: 16px; }

/* «Узнать подробнее» — спокойная ссылка, как в оригинале */
.msv-card .wp-block-button__link {
	background: transparent !important;
	color: inherit !important;
	font-weight: 400 !important;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	padding: 0 !important;
	border-radius: 0 !important;
}
.msv-card .wp-block-button__link:hover { color: #7cc4f2 !important; text-decoration-thickness: 2px; }

/* заголовок на баннере — без жирного */
.msv-slider-type-3 .wp-block-cover h1,
.msv-slider-type-3 .wp-block-cover h2 { font-weight: 400; }

/* шрифты через переменные: их меняет переключатель */
body, .wp-site-blocks, .wp-block-post-content p, .msv-cookie, .wpcf7 input, .wpcf7 textarea {
	font-family: var(--msv-font-body, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif);
}
h1, h2, h3, h4, h5, h6, .wp-block-heading {
	font-family: var(--msv-font-head, Georgia, "Times New Roman", "PT Serif", serif);
}

/* на тёмных полосах ссылка карточки должна быть белой: color:inherit брал цвет фона */
.msv-band-dark .msv-card .wp-block-button__link { color: #ffffff !important; }
.msv-band-dark .msv-card .wp-block-button__link:hover { color: #7cc4f2 !important; }

/* ссылки в карточках — по левому краю, как в оригинале */
.msv-card .wp-block-buttons { justify-content: flex-start !important; }

/* ---------- «Мы в цифрах»: крупные цифры, как в оригинале ---------- */
.msv-advantages-type-9 .msv-card > p:first-child {
	font-size: 96px;
	line-height: .92;
	font-weight: 700;
	letter-spacing: -.02em;
	color: rgba(255,255,255,.55);
	margin: 0 0 16px;
}
.msv-band-dark .msv-advantages-type-9 .msv-card > p:first-child { color: rgba(255,255,255,.55); }
@media (max-width: 1359px) {
	.msv-advantages-type-9 .msv-card > p:first-child { font-size: 72px; }
}
@media (max-width: 781px) {
	.msv-advantages-type-9 .msv-card > p:first-child { font-size: 52px; }
}

/* ---------- Шрифт сайта: Constantia + Segoe UI ---------- */
:root {
	--msv-font-head: Cambria, Georgia, Constantia, "Times New Roman", serif;
	--msv-font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* пагинация героя: убираем белую рамку фокуса после клика */
.msv-hero-nav__item:focus,
.msv-hero-nav__item:active { outline: none; }
.msv-hero-nav__item:focus-visible .msv-hero-nav__num {
	box-shadow: 0 0 0 2px rgba(255,255,255,.55);
}

/* ---------- Правки 30.11, второй заход ---------- */

/* H2 без жирного */
h2 { font-weight: 400; }

/* лид на главной: теперь H3, но мельче — как заголовок карточки */
.msv-text-type-1 h3 { font-size: 24px; line-height: 32px; margin-bottom: 8px; }

/* карточки «Что мы умеем»: зазор в два раза меньше, ссылки слева */
.msv-services-type-2 .msv-card h3 { margin-bottom: 8px; }
.msv-services-type-2 .msv-card .wp-block-buttons { justify-content: flex-start !important; }

/* красная линия у блока «Мы не просто чиним…» */
.msv-callout-red { position: relative; }
.msv-callout-red::before {
	content: ""; position: absolute; top: 56px; bottom: 56px;
	left: calc((100% - 1104px) / 2 - 26px); width: 3px; background: #dd6666;
}
@media (max-width: 1180px) {
	.msv-callout-red::before { left: 18px; }
}

/* шаги: кружки с номерами и линиями между ними */
.msv-steps-type-1 .msv-card { text-align: center; position: relative; }
.msv-steps-type-1 .msv-card p.msv-num {
	width: 72px; height: 72px; margin: 0 auto 20px; padding: 0;
	border: 1px solid rgba(255,255,255,.45); border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 26px; line-height: 1; font-weight: 400; color: #fff; background: transparent;
}
.msv-steps-type-1 .msv-card h4 { font-weight: 700; margin-bottom: 8px; }
.msv-steps-type-1 .msv-card:not(:last-child)::after {
	content: ""; position: absolute; top: 36px; left: calc(50% + 44px);
	width: calc(100% - 88px); height: 1px; background: rgba(255,255,255,.35);
}
@media (max-width: 781px) {
	.msv-steps-type-1 .msv-card:not(:last-child)::after { display: none; }
}

/* белые полоски между блоками */
.wp-block-post-content > .msv-block { margin-top: 0 !important; margin-bottom: 0 !important; }
.msv-block + .msv-block { margin-top: 0 !important; }

/* ссылка в карточке: строго по левому краю, без растягивания на всю ширину */
.msv-services-type-2 .msv-card .wp-block-buttons { justify-content: flex-start !important; }
.msv-services-type-2 .msv-card .wp-block-button { width: auto !important; flex: 0 0 auto !important; }
.msv-services-type-2 .msv-card .wp-block-button__link { display: inline-block; width: auto !important; text-align: left; }

/* карточка услуг: обёртку кнопок делаем обычным блоком, чтобы ссылка встала по левому краю */
.msv-services-type-2 .msv-card .wp-block-buttons { display: block !important; text-align: left !important; }
.msv-services-type-2 .msv-card .wp-block-button { display: inline-block !important; width: auto !important; }
.msv-services-type-2 .msv-card .wp-block-button__link { display: inline !important; width: auto !important; text-align: left !important; }

/* карточка услуг: содержимое тянется на всю ширину, ссылка встаёт по левому краю */
.msv-services-type-2 .msv-card { align-items: stretch !important; }
.msv-services-type-2 .msv-card > * { width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
.msv-services-type-2 .msv-card > .wp-block-buttons { width: auto !important; }

/* H2 без жирного: класс .wp-block-heading перебивал правило тега */
h2, h2.wp-block-heading { font-weight: 400 !important; }

/* ---------- Ключевые сообщения и кнопка-вопрос на главной ---------- */
body.page-id-11 .msv-call-to-action-type-1 p {
	text-align: center;
	font-size: 24px;
	line-height: 34px;
	font-weight: 700;
	max-width: 900px;
	margin: 0 auto 12px;
}
body.page-id-11 .msv-call-to-action-type-1 .wp-block-buttons { justify-content: center !important; }
body.page-id-11 .msv-call-to-action-type-1 .wp-block-button__link {
	background: #ffdd2d !important;
	color: #303948 !important;
	border-radius: 999px;
	padding: 18px 34px;
	font-size: 17px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}
body.page-id-11 .msv-call-to-action-type-1 .wp-block-button__link:hover { background: #f2d026 !important; color: #303948 !important; }
.msv-cta-icon { width: 28px; height: 28px; display: block; flex: 0 0 auto; }

/* ---------- Отзывы: центрирование, круглые иконки, мелкий текст ---------- */
.msv-block.msv-slider-type-1 > p {
	text-align: center;
	margin: 0 0 4px;
	line-height: 1.4;
}
.msv-block.msv-slider-type-1 > p + p { margin-top: 0; }
.msv-block.msv-slider-type-1 .msv-grid { scrollbar-width: none; -ms-overflow-style: none; }
.msv-block.msv-slider-type-1 .msv-grid::-webkit-scrollbar { display: none; }
.msv-block.msv-slider-type-1 .msv-card { text-align: center; }
.msv-block.msv-slider-type-1 .msv-card figure {
	margin: 0 0 16px;
	display: flex;
	justify-content: center;
}
.msv-block.msv-slider-type-1 .msv-card figure img {
	width: 96px !important;
	height: 96px !important;
	max-width: 96px !important;
	border-radius: 50% !important;
	object-fit: cover;
	display: block;
	padding: 0 !important;
	background: #fff;
}
.msv-block.msv-slider-type-1 .msv-card h5,
.msv-block.msv-slider-type-1 .msv-card h3,
.msv-block.msv-slider-type-1 .msv-card h4 {
	text-align: center;
	font-size: 18px;
	line-height: 26px;
	margin: 0 0 8px;
}
.msv-block.msv-slider-type-1 .msv-card p {
	text-align: center;
	font-size: 15px;
	line-height: 22px;
}
/* ровно три отзыва в видимой части, остальные — прокруткой */
.msv-block.msv-slider-type-1 .msv-grid > .msv-card { flex: 0 0 calc((100% - 48px) / 3) !important; max-width: none !important; }
@media (max-width: 781px) { .msv-block.msv-slider-type-1 .msv-grid > .msv-card { flex: 0 0 82% !important; } }
/* иконки преимуществ на тёмной полосе были чёрными — делаем светлыми */
.msv-band-dark .msv-advantages-type-1 img,
.msv-band-dark .msv-advantages-type-9 img { filter: brightness(0) invert(1); opacity: .9; }
/* контакты: иконки адрес/время/телефон были огромными */
.msv-contacts-extensible-type-1 .msv-card figure { margin: 0 0 16px; }
.msv-contacts-extensible-type-1 .msv-card figure img {
	width: 64px !important;
	height: 64px !important;
	max-width: 64px !important;
	object-fit: contain;
	display: block;
}

/* ---------- «Реставрация»: как в оригинале — фото слева, список справа ---------- */
.msv-product-services-type-3 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 40px;
	row-gap: 12px;
	align-items: start;
}
.msv-product-services-type-3 > h2,
.msv-product-services-type-3 > p:first-of-type { grid-column: 1 / -1; }
.msv-product-services-type-3 > p:first-of-type {
	font-size: 21px;
	line-height: 30px;
	margin-bottom: 20px;
}
.msv-product-services-type-3 > figure:first-of-type { grid-column: 1; grid-row: 3; }
.msv-product-services-type-3 > h5:nth-of-type(1) { grid-column: 1; grid-row: 4; }
.msv-product-services-type-3 > p:nth-of-type(2) { grid-column: 1; grid-row: 5; }
.msv-product-services-type-3 > .msv-grid { grid-column: 2; grid-row: 3 / span 3; display: grid; grid-template-columns: 1fr; row-gap: 20px; }
.msv-product-services-type-3 > .msv-grid > .msv-card { display: grid; grid-template-columns: 180px 1fr; column-gap: 16px; align-items: start; }
.msv-product-services-type-3 > .msv-grid > .msv-card figure { margin: 0; grid-row: 1 / span 2; }
.msv-product-services-type-3 > .msv-grid > .msv-card figure img { width: 180px; height: 130px; object-fit: cover; }
.msv-product-services-type-3 > .msv-grid > .msv-card h5 { margin: 0 0 6px; }
@media (max-width: 900px) {
	.msv-product-services-type-3 { grid-template-columns: 1fr; }
	.msv-product-services-type-3 > figure:first-of-type,
	.msv-product-services-type-3 > h5:nth-of-type(1),
	.msv-product-services-type-3 > p:nth-of-type(2),
	.msv-product-services-type-3 > .msv-grid { grid-column: 1; grid-row: auto; }
	.msv-product-services-type-3 > .msv-grid > .msv-card { grid-template-columns: 140px 1fr; }
	.msv-product-services-type-3 > .msv-grid > .msv-card figure img { width: 140px; height: 100px; }
}
/* перебиваем сетку WordPress внутри блока «Реставрация» */
.msv-product-services-type-3 { text-align: left; }
.msv-product-services-type-3 > h2,
.msv-product-services-type-3 > p:first-of-type { text-align: left; }
.msv-product-services-type-3 > .msv-grid {
	display: grid !important;
	grid-template-columns: 1fr !important;
	grid-auto-flow: row !important;
	row-gap: 24px !important;
	width: 100%;
}
.msv-product-services-type-3 > .msv-grid > .msv-card {
	display: grid !important;
	grid-template-columns: 180px 1fr !important;
	column-gap: 16px !important;
	width: 100% !important;
}
.msv-product-services-type-3 > .msv-grid > .msv-card > * { min-width: 0; }
/* заголовок и подзаголовок «Реставрации» принудительно слева */
body .msv-product-services-type-3 > h2,
body .msv-product-services-type-3 > p:first-of-type {
	text-align: left !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
}

/* «Реставрация»: картинки 3:4, стрелки-ссылки, плотный текст под заголовком */
.msv-product-services-type-3 > .msv-grid > .msv-card {
	grid-template-columns: 220px 1fr 48px !important;
	column-gap: 20px !important;
	align-items: start !important;
	position: relative;
}
.msv-product-services-type-3 > .msv-grid > .msv-card figure { margin: 0 !important; grid-row: 1 / span 2; }
.msv-product-services-type-3 > .msv-grid > .msv-card figure img {
	width: 220px !important;
	height: 293px !important;
	object-fit: cover;
	display: block;
}
.msv-product-services-type-3 > .msv-grid > .msv-card h5 { margin: 0 0 4px !important; }
.msv-product-services-type-3 > .msv-grid > .msv-card p { margin: 0 !important; }
.msv-rest-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 6px;
	background: #ffec89;
	color: #303948;
	text-decoration: none;
	align-self: center;
	justify-self: end;
}
.msv-rest-arrow:hover { background: #ffe259; color: #303948; }
@media (max-width: 900px) {
	.msv-product-services-type-3 > .msv-grid > .msv-card { grid-template-columns: 140px 1fr 44px !important; }
	.msv-product-services-type-3 > .msv-grid > .msv-card figure img { width: 140px !important; height: 187px !important; }
}
/* точная раскладка внутри карточки: фото | текст | стрелка */
.msv-product-services-type-3 > .msv-grid > .msv-card > figure { grid-column: 1 !important; grid-row: 1 / span 2 !important; }
.msv-product-services-type-3 > .msv-grid > .msv-card > h5 { grid-column: 2 !important; grid-row: 1 !important; }
.msv-product-services-type-3 > .msv-grid > .msv-card > p { grid-column: 2 !important; grid-row: 2 !important; }
.msv-product-services-type-3 > .msv-grid > .msv-card > .msv-rest-arrow { grid-column: 3 !important; grid-row: 1 / span 2 !important; }
/* карточки не растягивают строки — зазор между заголовком и текстом ровно 4 px */
.msv-product-services-type-3 .msv-card { align-content: start !important; }
.msv-product-services-type-3 > h5:nth-of-type(1) { margin: 8px 0 4px !important; }
.msv-product-services-type-3 > p:nth-of-type(2) { margin: 0 !important; }
/* стрелка у большого блока — справа от текста */
.msv-rest-arrow--inline { float: right; margin: 0 0 8px 16px; }
/* стрелки — на уровне последней строки текста, справа */
.msv-product-services-type-3 > .msv-grid > .msv-card { grid-template-columns: 220px 1fr !important; }
.msv-product-services-type-3 > .msv-grid > .msv-card > p,
.msv-product-services-type-3 > p:nth-of-type(2) {
	position: relative !important;
	padding-right: 64px !important;
}
.msv-product-services-type-3 > .msv-grid > .msv-card > p .msv-rest-arrow,
.msv-product-services-type-3 > p:nth-of-type(2) .msv-rest-arrow {
	position: absolute;
	right: 0;
	bottom: 0;
	float: none !important;
	margin: 0 !important;
}
/* убираем воздух перед блоком «Реставрация — это не просто ремонт…» */
.msv-product-services-type-3 { padding-bottom: 16px !important; }

/* ---------- «Реальный пример спасённого светильника» ---------- */
.msv-example { }
.msv-example__head {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
	margin-bottom: 24px;
}
.msv-example__lead h2 { margin: 0 0 8px; }
.msv-example__lead p { margin: 0; }
.msv-example__desc { margin: 0; font-size: 19px; line-height: 29px; }
.msv-example__slider {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 16px;
	scrollbar-width: none;
}
.msv-example__slider::-webkit-scrollbar { display: none; }
.msv-example__slide {
	flex: 0 0 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	scroll-snap-align: start;
}
.msv-example__slide img {
	width: 100%;
	height: 340px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}
.msv-example__nav { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.msv-example__nav button {
	width: 48px; height: 44px; border: 0; border-radius: 6px;
	background: #ffec89; color: #303948; font-size: 20px; line-height: 1; cursor: pointer;
}
.msv-example__nav button:hover { background: #ffe259; }
.msv-example__counter { font-size: 15px; color: #5b6478; }
@media (max-width: 781px) {
	.msv-example__head { grid-template-columns: 1fr; }
	.msv-example__slide { grid-template-columns: 1fr; }
	.msv-example__slide img { height: 240px; }
}
/* ограничиваем содержимое блока примера контейнером 1104 */
.msv-example__head,
.msv-example__slider,
.msv-example__nav {
	max-width: 1104px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}
.msv-example__slide img { height: 240px !important; }
.msv-example .msv-example__head { display: grid !important; grid-template-columns: 1fr 1fr !important; }
@media (max-width: 781px) {
	.msv-example .msv-example__head { grid-template-columns: 1fr !important; }
}
/* надёжная раскладка блока примера */
.msv-example__head { display: flex !important; gap: 40px !important; align-items: flex-start !important; }
.msv-example__lead { flex: 1 1 55% !important; min-width: 0 !important; }
.msv-example__desc { flex: 1 1 45% !important; min-width: 0 !important; margin: 0 !important; }
.msv-example__slide { display: flex !important; gap: 16px !important; flex: 0 0 100% !important; width: 100% !important; }
.msv-example__slide img {
	flex: 1 1 0 !important;
	width: 0 !important;
	min-width: 0 !important;
	height: 240px !important;
	object-fit: cover !important;
	border-radius: 8px !important;
	display: block !important;
}
@media (max-width: 781px) {
	.msv-example__head { flex-direction: column !important; gap: 12px !important; }
	.msv-example__slide img { height: 180px !important; }
}

/* ---------- MSV-017: «Типичные неисправности» — 2 колонки со сдвигом, как в оригинале ---------- */
.msv-product-services-type-5 { padding-block: 72px; }
.msv-product-services-type-5 > h2 {
	max-width: 15.3em;
	margin-left: 0 !important;
	margin-right: auto !important;
	line-height: 64px;
}
.msv-product-services-type-5 .msv-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	column-gap: 48px;
	row-gap: 40px;
}
.msv-product-services-type-5 .msv-card .wp-block-image {
	margin: 0 0 28px;
}
.msv-product-services-type-5 .msv-card .wp-block-image img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.msv-product-services-type-5 .msv-card h3 {
	margin: 0 0 24px;
}
.msv-product-services-type-5 .msv-card p {
	margin: 0;
}
.msv-product-services-type-5 .msv-grid > .msv-card:nth-child(even) {
	position: relative;
	top: 100px;
}
.msv-product-services-type-5 .msv-grid > .msv-card:nth-child(6) {
	top: 0;
	padding-top: 100px;
}

@media (min-width: 960px) and (max-width: 1359px) {
	.msv-product-services-type-5 > h2 { line-height: 56px; }
	.msv-product-services-type-5 .msv-grid { column-gap: 48px; row-gap: 36px; }
	.msv-product-services-type-5 .msv-grid > .msv-card:nth-child(even) { top: 64px; }
	.msv-product-services-type-5 .msv-grid > .msv-card:nth-child(6) { top: 0; padding-top: 64px; }
	.msv-product-services-type-5 .msv-card h3 { margin-bottom: 20px; }
}

@media (min-width: 640px) and (max-width: 959px) {
	.msv-product-services-type-5 { padding-block: 48px; }
	.msv-product-services-type-5 > h2 { line-height: 48px; }
	.msv-product-services-type-5 .msv-grid { column-gap: 48px; row-gap: 36px; }
	.msv-product-services-type-5 .msv-grid > .msv-card:nth-child(even) { top: 40px; }
	.msv-product-services-type-5 .msv-grid > .msv-card:nth-child(6) { top: 0; padding-top: 40px; }
	.msv-product-services-type-5 .msv-card .wp-block-image { margin-bottom: 24px; }
	.msv-product-services-type-5 .msv-card h3 { margin-bottom: 16px; }
}

@media (max-width: 639px) {
	.msv-product-services-type-5 { padding-block: 32px; }
	.msv-product-services-type-5 > h2 { line-height: 36px; }
	.msv-product-services-type-5 .msv-grid { grid-template-columns: 1fr !important; row-gap: 32px; }
	.msv-product-services-type-5 .msv-grid > .msv-card:nth-child(even) { top: 0; }
	.msv-product-services-type-5 .msv-grid > .msv-card:nth-child(6) { padding-top: 0; }
	.msv-product-services-type-5 .msv-card .wp-block-image { margin-bottom: 16px; }
	.msv-product-services-type-5 .msv-card h3 { margin-bottom: 16px; }
}
/* ---------- MSV-017: «Реальный пример спасённого светильника» — две полосы ---------- */
.msv-block.msv-example2 {
	background: #f6f7f8;
	padding: 56px 0 40px;
}
.msv-example2__inner {
	max-width: 1104px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}
.msv-example2__head {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 48px;
	align-items: start;
	margin-bottom: 28px;
}
.msv-example2__title {
	font-size: 56px;
	line-height: 64px;
	font-weight: 400;
	margin: 0;
}
.msv-example2__address {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 24px;
	color: #5b6478;
}
.msv-example2__desc {
	margin: 0;
	font-size: 19px;
	line-height: 29px;
}
.msv-example2__slider { position: relative; }
.msv-example2__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.msv-example2__track::-webkit-scrollbar { display: none; }
.msv-example2__slide {
	flex: 0 0 100%;
	min-width: 0;
	margin: 0;
	scroll-snap-align: start;
}
.msv-example2__slide img {
	width: 100%;
	height: auto;
	display: block;
}
.msv-example2__controls {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 16px;
}
.msv-example2__arrows { display: flex; gap: 8px; }
.msv-example2__arrow {
	width: 44px;
	height: 44px;
	border: 0;
	background: #ffdd2d;
	color: #1b1b1b;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.msv-example2__arrow:hover { background: #f2cf22; }
.msv-example2__progress {
	flex: 1 1 auto;
	height: 3px;
	background: rgba(17, 17, 17, .14);
	position: relative;
	overflow: hidden;
}
.msv-example2__progress span {
	display: block;
	height: 100%;
	width: 50%;
	background: #ffdd2d;
	transition: width .3s ease;
}
.msv-example2__count {
	flex: 0 0 auto;
	min-width: 64px;
	text-align: right;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: .04em;
	color: #5b6478;
}
@media (max-width: 1359px) {
	.msv-example2__title { font-size: 48px; line-height: 56px; }
}
@media (max-width: 959px) {
	.msv-example2__head { grid-template-columns: 1fr; gap: 24px; }
	.msv-example2__title { font-size: 40px; line-height: 48px; }
}
@media (max-width: 639px) {
	.msv-block.msv-example2 { padding: 32px 0 28px; }
	.msv-example2__inner { padding: 0 16px; }
	.msv-example2__title { font-size: 32px; line-height: 40px; }
	.msv-example2__desc { font-size: 16px; line-height: 24px; }
	.msv-example2__controls { gap: 10px; }
	.msv-example2__arrow { width: 40px; height: 40px; }
}
@media (min-width: 1360px) {
	.msv-example2__inner { padding: 0; }
	.msv-example2__head {
		width: calc(100% + 48px);
		margin-left: -24px;
		grid-template-columns: minmax(0, 760px) minmax(0, 1fr);
	}
}
/* ---------- MSV-017: «Преимущества мастерской» — как в оригинале ---------- */
.msv-advantages-type-1.msv-band-dark { padding-block: 72px; }
.msv-advantages-type-1 > h2 {
	max-width: 1104px;
	line-height: 64px;
	margin: 0 0 56px;
}
.msv-advantages-type-1 .msv-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 48px;
}
.msv-advantages-type-1 .msv-card {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	column-gap: 20px;
	align-items: start;
}
.msv-advantages-type-1 .msv-card .wp-block-image {
	grid-column: 1;
	grid-row: 1 / span 2;
	width: 40px;
	height: 40px;
	margin: 0;
}
.msv-advantages-type-1 .msv-card .wp-block-image img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: 1;
}
.msv-advantages-type-1 .msv-card h5 {
	grid-column: 2;
	grid-row: 1;
	justify-self: stretch;
	width: 100%;
	font-size: 24px;
	line-height: 32px;
	font-weight: 400;
	margin: 0 0 12px !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.msv-advantages-type-1 .msv-card p {
	grid-column: 2;
	grid-row: 2;
	justify-self: stretch;
	width: 100%;
	font-size: 16px;
	line-height: 24px;
	color: rgba(255, 255, 255, .56);
	margin: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
@media (max-width: 1359px) {
	.msv-advantages-type-1 > h2 { font-size: 48px; line-height: 56px; }
}
@media (max-width: 959px) {
	.msv-advantages-type-1.msv-band-dark { padding-block: 48px; }
	.msv-advantages-type-1 > h2 { font-size: 40px; line-height: 48px; margin-bottom: 48px; }
	.msv-advantages-type-1 .msv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 36px 48px; }
	.msv-advantages-type-1 .msv-card h5 { font-size: 20px; line-height: 28px; }
	.msv-advantages-type-1 .msv-card p { font-size: 14px; line-height: 20px; }
}
@media (max-width: 639px) {
	.msv-advantages-type-1.msv-band-dark { padding-block: 32px; }
	.msv-advantages-type-1 > h2 { font-size: 28px; line-height: 36px; margin-bottom: 32px; }
	.msv-advantages-type-1 .msv-grid { grid-template-columns: 1fr !important; gap: 32px; }
	.msv-advantages-type-1 .msv-card { grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; }
	.msv-advantages-type-1 .msv-card .wp-block-image,
	.msv-advantages-type-1 .msv-card .wp-block-image img { width: 32px; height: 32px; }
	.msv-advantages-type-1 .msv-card h5 { font-size: 16px; line-height: 24px; }
}
/* ---------- MSV-017: «Работаете в дизайне…» — текст слева, фото справа ---------- */
@media (min-width: 960px) {
	.msv-history-type-1 {
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-height: calc(min(1104px, 100vw - 40px) * 0.3913 + 144px);
		padding-block: 72px;
	}
	.msv-history-type-1 > h2:first-of-type {
		width: 56.52%;
		max-width: 624px;
		font-size: 56px;
		line-height: 64px;
		font-weight: 400;
		margin: 0 0 28px;
	}
	.msv-history-type-1 > figure {
		position: absolute;
		top: 50%;
		right: 0;
		transform: translateY(-50%);
		width: 39.13%;
		max-width: 432px;
		margin: 0;
	}
	.msv-history-type-1 > figure img {
		width: 100%;
		aspect-ratio: 1 / 1;
		object-fit: cover;
		display: block;
	}
	.msv-history-type-1 > h3 {
		width: 56.52%;
		max-width: 624px;
		font-size: 24px;
		line-height: 32px;
		font-weight: 400;
		margin: 0 0 12px;
	}
	.msv-history-type-1 > p {
		width: 56.52%;
		max-width: 624px;
		font-size: 16px;
		line-height: 24px;
		color: rgba(17, 17, 17, .56);
		margin: 0;
	}
}

@media (min-width: 960px) and (max-width: 1359px) {
	.msv-history-type-1 > h2:first-of-type { font-size: 48px; line-height: 56px; margin-bottom: 24px; }
	.msv-history-type-1 > h3 { font-size: 20px; line-height: 28px; }
}

@media (max-width: 959px) {
	.msv-history-type-1 { padding-block: 64px; }
	.msv-history-type-1 > h2:first-of-type {
		font-size: 40px;
		line-height: 48px;
		font-weight: 400;
		margin: 0 0 24px;
	}
	.msv-history-type-1 > figure { margin: 0 0 24px; }
	.msv-history-type-1 > figure img {
		width: 100%;
		max-width: 560px;
		aspect-ratio: 1 / 1;
		object-fit: cover;
		display: block;
	}
	.msv-history-type-1 > h3 { font-size: 20px; line-height: 28px; font-weight: 400; margin: 0 0 12px; }
	.msv-history-type-1 > p { font-size: 16px; line-height: 24px; color: rgba(17, 17, 17, .56); margin: 0; }
}

@media (max-width: 639px) {
	.msv-history-type-1 { padding-block: 32px; }
	.msv-history-type-1 > h2:first-of-type { font-size: 28px; line-height: 36px; margin-bottom: 20px; }
	.msv-history-type-1 > h3 { font-size: 18px; line-height: 26px; }
	.msv-history-type-1 > p { font-size: 14px; line-height: 20px; }
}
.msv-history-type-1 > h2:first-of-type,
.msv-history-type-1 > h3,
.msv-history-type-1 > p {
	margin-left: 0 !important;
	margin-right: 0 !important;
	align-self: flex-start;
}
.msv-history-type-1 > figure,
.msv-history-type-1 > figure a { line-height: 0; }
/* ---------- MSV-017: ссылки в «Полезных советах» ---------- */
.msv-schedule-type-1 .msv-card .msv-tip-link {
	color: #2d98da;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.msv-schedule-type-1 .msv-card .msv-tip-link:hover { color: #1f7ab8; }
/* ---------- MSV-017: «Мы находимся в Москве…» — центр и кнопки в ряд ---------- */
.msv-call-to-action-type-3 {
	text-align: center;
	padding-block: 72px;
}
.msv-call-to-action-type-3 > h3,
.msv-call-to-action-type-3 > p {
	max-width: 912px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.msv-call-to-action-type-3 > .wp-block-buttons {
	display: inline-flex;
	justify-content: center;
	vertical-align: top;
	margin: 24px 6px 0;
}
.msv-call-to-action-type-3 .wp-block-button { margin: 0; }
.msv-call-to-action-type-3 .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border-radius: 999px;
	padding: 14px 28px;
	background: #471aff;
	color: #fff;
	font-size: 16px;
	line-height: 22px;
	font-weight: 600;
	text-decoration: none;
}
.msv-call-to-action-type-3 > .wp-block-buttons:nth-of-type(2) .wp-block-button__link { background: #4d668a; }
.msv-call-to-action-type-3 .wp-block-button__link:hover { filter: brightness(.92); color: #fff; }
.msv-cta-icon { width: 28px; height: 28px; display: block; flex: 0 0 auto; }

/* ---------- MSV-017: «Свет — это не только…» — красная линия ---------- */
.msv-text-type-4.msv-callout-red { padding-block: 72px; }
.msv-text-type-4.msv-callout-red > p {
	max-width: 912px;
	margin: 0;
	font-size: 20px;
	line-height: 28px;
	color: #303952;
}
.msv-text-type-4.msv-callout-red::before {
	top: 72px;
	bottom: 72px;
	width: 4px;
	left: calc((100% - 1104px) / 2 - 26px);
}
@media (max-width: 1180px) {
	.msv-text-type-4.msv-callout-red::before { left: 18px; }
}
@media (max-width: 639px) {
	.msv-call-to-action-type-3 { padding-block: 48px; }
	.msv-call-to-action-type-3 > h3 { font-size: 28px; line-height: 36px; }
	.msv-call-to-action-type-3 > p { font-size: 16px; line-height: 24px; }
	.msv-call-to-action-type-3 > .wp-block-buttons { display: flex; width: 100%; justify-content: center; margin: 10px 0 0; }
	.msv-call-to-action-type-3 .wp-block-button__link { width: 100%; justify-content: center; font-size: 15px; padding: 12px 20px; }
	.msv-text-type-4.msv-callout-red { padding-block: 40px; }
	.msv-text-type-4.msv-callout-red > p { font-size: 18px; line-height: 26px; padding-left: 30px; }
	.msv-text-type-4.msv-callout-red::before { top: 40px; bottom: 40px; left: 8px; }
}
@media (min-width: 640px) and (max-width: 1180px) {
	.msv-text-type-4.msv-callout-red > p { padding-left: 44px; }
}
.msv-text-type-4.msv-callout-red > p {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
/* ---------- MSV-017: «Свет…» по центру ---------- */
.msv-text-type-4.msv-callout-red > p {
	max-width: 912px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0 !important;
	text-align: center;
}
.msv-text-type-4.msv-callout-red::before {
	left: calc((100% - 912px) / 2 - 26px);
}
@media (max-width: 1023px) {
	.msv-text-type-4.msv-callout-red::before { display: none; }
}

/* ---------- MSV-017: FAQ — список как на оригинале ---------- */
.msv-product-list-type-1 { padding-block: 72px; }
.msv-product-list-type-1 > h2 {
	font-size: 56px;
	line-height: 64px;
	font-weight: 400;
	margin: 0 0 40px;
}
.msv-product-list-type-1 .msv-grid {
	grid-template-columns: 1fr !important;
	gap: 0 !important;
}
.msv-product-list-type-1 .msv-card {
	border-top: 1px solid rgba(255, 255, 255, .28);
	padding: 28px 0;
}
.msv-product-list-type-1 .msv-card:last-child { border-bottom: 1px solid rgba(255, 255, 255, .28); }
.msv-product-list-type-1 .msv-card p:first-child {
	font-size: 24px;
	line-height: 32px;
	font-weight: 400;
	color: #fff;
	margin: 0 0 12px;
}
.msv-product-list-type-1 .msv-card p:nth-child(2) {
	font-size: 16px;
	line-height: 24px;
	color: rgba(255, 255, 255, .62);
	margin: 0;
}
.msv-product-list-type-1 .msv-card p:nth-child(n+3) {
	font-size: 16px;
	line-height: 24px;
	margin: 12px 0 0;
	color: #2d98da;
}
.msv-product-list-type-1 .msv-card p:nth-child(n+3) a { color: #2d98da; }
.msv-product-list-type-1 .msv-card p:nth-child(3):empty { display: none; }

/* ---------- MSV-017: «Нам важно ваше мнение» — центр ---------- */
.msv-testimonials-type-1 { padding-block: 72px; text-align: center; }
.msv-testimonials-type-1 > p:first-child {
	font-size: 32px;
	line-height: 40px;
	font-weight: 400;
	text-align: center;
	margin: 0 0 24px;
}
.msv-testimonials-type-1 > figure { width: 64px; height: 64px; margin: 0 auto 20px; }
.msv-testimonials-type-1 > figure img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}
.msv-testimonials-type-1 > p { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.msv-testimonials-type-1 > p em { font-size: 18px; line-height: 26px; }
.msv-testimonials-type-1 > p:last-child { margin-top: 16px; }
.msv-testimonials-type-1 > p:last-child a {
	color: rgba(255, 255, 255, .55);
	text-decoration: underline;
	font-weight: 600;
	font-size: 18px;
}
.msv-testimonials-type-1 > p:last-child a:hover { color: #fff; }

@media (max-width: 639px) {
	.msv-product-list-type-1 { padding-block: 40px; }
	.msv-product-list-type-1 > h2 { font-size: 28px; line-height: 36px; margin-bottom: 28px; }
	.msv-product-list-type-1 .msv-card { padding: 20px 0; }
	.msv-product-list-type-1 .msv-card p:first-child { font-size: 20px; line-height: 28px; }
	.msv-product-list-type-1 .msv-card p:nth-child(2),
	.msv-product-list-type-1 .msv-card p:nth-child(n+3) { font-size: 14px; line-height: 20px; }
	.msv-testimonials-type-1 { padding-block: 40px; }
	.msv-testimonials-type-1 > p:first-child { font-size: 28px; line-height: 36px; }
	.msv-testimonials-type-1 > figure { width: 56px; height: 56px; }
	.msv-testimonials-type-1 > figure img { width: 56px; height: 56px; }
	.msv-testimonials-type-1 > p em { font-size: 16px; line-height: 24px; }
}
.msv-testimonials-type-1 > figure img { border-radius: 50% !important; }
/* ---------- MSV-017: форма — карта + белая карточка ---------- */
.msv-form-type-2 {
	position: relative;
	min-height: 100vh;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden;
	background: #e8ecef;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.msv-form-type-2__map {
	position: absolute !important;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
}
.msv-form-type-2__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}
.msv-form-type-2__card {
	position: relative;
	z-index: 2;
	width: 432px !important;
	max-width: calc(100% - 48px) !important;
	margin: 48px max(24px, calc((100% - 1104px) / 2)) 48px 24px !important;
	padding: 36px !important;
	background: #fff !important;
	color: #303952;
	box-sizing: border-box;
	align-self: center;
}
.msv-form-type-2__card > * {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.msv-form-type-2__card h3 {
	font-size: 40px !important;
	line-height: 48px !important;
	font-weight: 400;
	text-align: center;
	margin: 0 0 24px !important;
	color: #303952;
}
.msv-form-type-2__card > p {
	font-size: 16px !important;
	line-height: 24px !important;
	color: rgba(17, 17, 17, .62);
	margin: 0 0 6px !important;
}
.msv-form-type-2__card .wpcf7 { margin-top: 18px; }
.msv-form-type-2__card .wpcf7 form > p { margin: 0 0 16px; }
.msv-form-type-2__card .wpcf7 label {
	display: block;
	font-size: 14px !important;
	line-height: 20px !important;
	color: rgba(17, 17, 17, .55);
	margin: 0 0 4px;
}
.msv-form-type-2__card .wpcf7 input[type=text],
.msv-form-type-2__card .wpcf7 input[type=tel],
.msv-form-type-2__card .wpcf7 input[type=email],
.msv-form-type-2__card .wpcf7 textarea {
	width: 100%;
	border: 0 !important;
	border-bottom: 2px solid rgba(17, 17, 17, .24) !important;
	border-radius: 0 !important;
	background: transparent !important;
	padding: 8px 0 !important;
	font-size: 16px !important;
	line-height: 24px !important;
	color: #303952 !important;
	box-shadow: none !important;
	outline: none;
}
.msv-form-type-2__card .wpcf7 textarea { min-height: 84px; resize: vertical; }
.msv-form-type-2__card .wpcf7 input:focus,
.msv-form-type-2__card .wpcf7 textarea:focus { border-bottom-color: #303952 !important; }
.msv-form-type-2__card .wpcf7 input[type=submit],
.msv-form-type-2__card .wpcf7 .wpcf7-submit {
	width: auto !important;
	border: 1px solid #303952 !important;
	border-radius: 100px !important;
	background: transparent !important;
	color: #303952 !important;
	padding: 12px 28px !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	cursor: pointer;
	box-shadow: none !important;
}
.msv-form-type-2__card .wpcf7 input[type=submit]:hover { background: #303952 !important; color: #fff !important; }
.msv-form-type-2__card .wpcf7 .wpcf7-acceptance { margin: 2px 0 12px; }
.msv-form-type-2__card .wpcf7 .wpcf7-list-item { margin: 0; }
.msv-form-type-2__card .wpcf7 .wpcf7-list-item-label { font-size: 12px !important; line-height: 18px !important; color: rgba(17,17,17,.55); }
.msv-form-type-2__card .wpcf7 .wpcf7-list-item-label a { color: #2d98da; }
.msv-form-type-2__card .wpcf7 p:has(.wpcf7-acceptance) { margin-bottom: 12px; }
.msv-form-type-2__card .wpcf7 p { font-size: 13px; line-height: 19px; color: rgba(17,17,17,.55); }

@media (max-width: 900px) {
	.msv-form-type-2 { min-height: 0; display: block; }
	.msv-form-type-2__map { position: relative !important; height: 280px; }
	.msv-form-type-2__map iframe { height: 280px; }
	.msv-form-type-2__card { width: auto !important; max-width: none !important; margin: 0 !important; padding: 24px !important; }
	.msv-form-type-2__card h3 { font-size: 28px !important; line-height: 36px !important; }
}

/* ---------- MSV-017: подвал — тёмный фон, белый текст ---------- */
.msv-footer {
	background: #303952 !important;
	color: #fff !important;
}
.msv-footer p,
.msv-footer .wp-block-navigation-item__content,
.msv-footer .wp-block-navigation-item__content:where(:hover, :focus),
.msv-footer a,
.msv-footer .msv-copyright { color: #fff !important; }
.msv-footer a:hover { color: #9ecbea !important; }
/* форма: на всю ширину и компактнее */
.msv-form-type-2 {
	width: 100%;
	max-width: none !important;
	margin-left: calc(-1 * var(--wp--style--root--padding-left, 50px)) !important;
	margin-right: calc(-1 * var(--wp--style--root--padding-right, 50px)) !important;
}
.msv-form-type-2__card h3 {
	font-size: 36px !important;
	line-height: 44px !important;
	margin-bottom: 18px !important;
}
.msv-form-type-2__card .wpcf7 { margin-top: 14px; }
.msv-form-type-2__card .wpcf7 form > p { margin-bottom: 12px; }
.msv-form-type-2__card .wpcf7 label { font-size: 13px !important; line-height: 18px !important; }
.msv-form-type-2__card .wpcf7 input[type=text],
.msv-form-type-2__card .wpcf7 input[type=tel],
.msv-form-type-2__card .wpcf7 input[type=email],
.msv-form-type-2__card .wpcf7 textarea { padding: 6px 0 !important; }
.msv-form-type-2__card .wpcf7 textarea { height: 90px !important; min-height: 90px !important; }
.msv-form-type-2__card .wpcf7 input[type=submit],
.msv-form-type-2__card .wpcf7 .wpcf7-submit { padding: 10px 26px !important; }
@media (max-width: 900px) {
	.msv-form-type-2 { margin-left: calc(-1 * var(--wp--style--root--padding-left, 30px)) !important; margin-right: calc(-1 * var(--wp--style--root--padding-right, 30px)) !important; }
}
/* форма: убрать серую панель CF7, растянуть на всю ширину */
.msv-form-type-2 {
	width: calc(100% + 2 * var(--wp--style--root--padding-left, 50px)) !important;
	max-width: none !important;
	margin-left: calc(-1 * var(--wp--style--root--padding-left, 50px)) !important;
	margin-right: calc(-1 * var(--wp--style--root--padding-right, 50px)) !important;
}
.msv-form-type-2__card .wpcf7 {
	max-width: none !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
}
body.page-id-19 .msv-form-type-2__card .wpcf7 form > p:nth-of-type(3),
body.page-id-19 .msv-form-type-2__card .wpcf7 form > p:nth-of-type(6) { display: none; }
/* статичная карта вместо iframe */
.msv-form-type-2__map {
	background: url('/wp-content/uploads/2026/11/msv-map.jpg') center center / cover no-repeat;
}
.msv-form-type-2__map iframe { display: none !important; }
/* подвал: логотип и разнос двух меню */
.msv-footer .msv-logo img { width: 200px !important; max-width: none !important; }
.msv-footer-cols .wp-block-column:nth-child(2) .wp-block-group {
	align-items: flex-start !important;
	column-gap: 84px !important;
}
.msv-footer-cols .wp-block-column:nth-child(2) nav { align-self: flex-start !important; }
@media (max-width: 781px) {
	.msv-footer-cols .wp-block-column:nth-child(2) .wp-block-group { flex-direction: column; column-gap: 0 !important; gap: 16px !important; }
}
@media (max-width: 781px) {
	.msv-footer-cols .wp-block-column:nth-child(2) .wp-block-group {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		column-gap: 24px !important;
		gap: 24px !important;
		align-items: flex-start !important;
	}
}
/* ---------- MSV-017: фиксы после просмотра ---------- */
/* тёмный блок «Мы не просто чиним» — белый текст, слева */
.msv-text-type-4.msv-callout-red.msv-band-dark > h3,
.msv-text-type-4.msv-callout-red.msv-band-dark > p,
.msv-text-type-4.msv-callout-red.msv-band-dark strong { color: #fff !important; }
.msv-text-type-4.msv-callout-red.msv-band-dark > h3 { text-align: left !important; }
.msv-text-type-4.msv-callout-red.msv-band-dark > p {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	text-align: left !important;
}
.msv-text-type-4.msv-callout-red.msv-band-dark::before {
	left: calc((100% - 1104px) / 2 - 26px) !important;
	display: block !important;
}
@media (max-width: 1023px) {
	.msv-text-type-4.msv-callout-red.msv-band-dark::before { display: none !important; }
}

/* отзывы: заголовок по центру */
.msv-slider-type-1 > h2 {
	text-align: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* подвал: логотип не сплющивать, пункты ближе */
.msv-footer .msv-logo img {
	width: 200px !important;
	height: auto !important;
	max-width: none !important;
	object-fit: contain;
}
.msv-footer .wp-block-navigation__container { gap: 0 !important; }
.msv-footer .wp-block-navigation-item { margin: 0 0 8px !important; }
.msv-footer .wp-block-navigation-item:last-child { margin-bottom: 0 !important; }
.msv-footer .wp-block-navigation-item__content { line-height: 24px; }

/* карта: пока нейтральный фон, фото убрано; карту делает ChatGPT */
.msv-form-type-2__map { background: #e8ecef !important; }
/* тёмный блок: текст в контейнере 1104, а не от края */
.msv-text-type-4.msv-callout-red.msv-band-dark > h3,
.msv-text-type-4.msv-callout-red.msv-band-dark > p {
	max-width: 1104px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.msv-text-type-4.msv-callout-red.msv-band-dark > h3 { margin-bottom: 16px !important; }
/* ---------- MSV-017: карусель отзывов ---------- */
.msv-block.msv-slider-type-1 { position: relative; }
.msv-reviews-arrows {
	position: absolute;
	left: 0;
	right: 0;
	height: 0;
	z-index: 6;
	pointer-events: none;
}
.msv-reviews-arrow {
	pointer-events: auto;
	position: absolute;
	top: 0;
	width: 48px;
	height: 48px;
	transform: translateY(-50%);
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #303952;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	line-height: 1;
	padding: 0;
	cursor: pointer;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}
.msv-reviews-arrow:hover { background: #f2f2f2; }
.msv-reviews-arrow--prev { left: -64px; }
.msv-reviews-arrow--next { right: -64px; }
.msv-reviews-dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 24px;
}
.msv-reviews-dot {
	width: 8px;
	height: 8px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .35);
	padding: 0;
	cursor: pointer;
	transition: background .2s;
}
.msv-reviews-dot.is-active { background: #fff; }
@media (max-width: 1100px) {
	.msv-reviews-arrow { width: 40px; height: 40px; font-size: 26px; }
	.msv-reviews-arrow--prev { left: 8px; }
	.msv-reviews-arrow--next { right: 8px; }
}
@media (max-width: 781px) {
	.msv-reviews-arrow { width: 36px; height: 36px; font-size: 22px; }
}
/* на узких экранах стрелки не должны лежать на тексте — листаем свайпом/точками */
@media (max-width: 1280px) {
	.msv-reviews-arrow { display: none; }
}
/* ---------- MSV-017: карта ChatGPT + форма в две колонки ---------- */
.msv-form-type-2 {
	display: block !important;
	min-height: 0 !important;
	padding: 72px 0 !important;
	background: #f6f7f8 !important;
	overflow: visible;
	width: calc(100% + 2 * var(--wp--style--root--padding-left, 50px)) !important;
	margin-left: calc(-1 * var(--wp--style--root--padding-left, 50px)) !important;
	margin-right: calc(-1 * var(--wp--style--root--padding-right, 50px)) !important;
}
.msv-form-type-2__inner {
	max-width: 1104px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 432px;
	gap: 56px;
	align-items: center;
	box-sizing: border-box;
}
.msv-form-type-2__map {
	position: static !important;
	width: auto;
	height: auto;
	background: transparent !important;
}
.msv-form-map h2 {
	font-size: 32px !important;
	line-height: 40px !important;
	margin: 0 0 16px !important;
	text-align: left !important;
	color: #303952;
}
.msv-form-map p {
	font-size: 16px !important;
	line-height: 24px !important;
	color: rgba(17, 17, 17, .65);
	margin: 0 0 6px !important;
}
.msv-form-map__route { margin-bottom: 0 !important; }
.msv-form-map__route a { color: #2d98da; text-decoration: underline; text-underline-offset: 3px; }
.msv-form-map iframe {
	display: block;
	width: 100%;
	height: clamp(320px, 40vw, 420px);
	border: 0;
	border-radius: 24px;
	margin-top: 24px;
	background: #e8ecef;
}
.msv-form-type-2__card {
	width: 432px !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 36px !important;
	background: #fff !important;
	box-shadow: 0 2px 24px rgba(17, 17, 17, .06);
}
@media (max-width: 900px) {
	.msv-form-type-2 { padding: 40px 0 !important; }
	.msv-form-type-2__inner { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
	.msv-form-type-2__card { width: auto !important; padding: 24px !important; }
	.msv-form-map h2 { font-size: 28px !important; line-height: 36px !important; }
	.msv-form-map iframe { height: 320px; }
}
.msv-form-type-2__map iframe { display: block !important; }
/* ---------- MSV-017: телефон и адрес — ссылки ---------- */
a.msv-contact-link {
	text-decoration: underline;
	text-underline-offset: 2px;
}
.msv-footer a.msv-contact-link { color: #fff !important; }
.msv-footer a.msv-contact-link:hover { color: #9ecbea !important; }

/* ============================================================
   MSV-017 · внутренние страницы (30.11.2026)
   Стили блоков, перенесённых из SiteBox (moysvet.ru) в WP.
   Значения сняты замером оригинала:
   main-type-3 (герой), product-list-type-1 (карточки с фото),
   advantages-blocks-type-6 (тёмная полоса с белыми карточками).
   Карточки без фото (таблица цен) намеренно не затронуты.
   ============================================================ */

/* ---------- Герой внутренней страницы: s-main-type-3 ---------- */
.msv-main-type-3 { padding: 0 !important; }
.msv-main-type-3 .wp-block-cover {
  min-height: 640px;
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.msv-main-type-3 .wp-block-cover__background { background-color: #000; opacity: .3; }
.msv-main-type-3 .wp-block-cover__inner-container {
  max-width: 1104px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: center;
}
.msv-main-type-3 .wp-block-cover__inner-container > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.msv-main-type-3 h1 {
  font-size: 72px;
  line-height: 80px;
  font-weight: 400;
  margin: 0 0 32px;
  color: #fff;
}
.msv-main-type-3 p {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: #f4f4f4;
  margin: 0 0 8px;
}
.msv-main-type-3 p em { font-style: italic; }
.msv-main-type-3 .wp-block-buttons {
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.msv-main-type-3 .wp-block-button { display: flex; gap: 16px; margin: 0; }
.msv-main-type-3 .wp-block-button__link,
.msv-main-type-3 .wp-block-button > a:not(.wp-block-button__link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-width: 105px;
  padding: 0 24px;
  border-radius: 100px;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
  box-sizing: border-box;
}
.msv-main-type-3 .wp-block-button__link { background: transparent; color: #fff; border: 2px solid #279eda; }
.msv-main-type-3 .wp-block-button__link:hover { background: rgba(39, 158, 218, .18); color: #fff; }
.msv-main-type-3 .wp-block-button > a:not(.wp-block-button__link) {
  background: transparent;
  color: #fff;
  border: 2px solid #279eda;
}
.msv-main-type-3 .wp-block-button > a:not(.wp-block-button__link):hover { background: rgba(39,158,218,.18); color: #fff; }

@media (max-width: 1359px) {
  .msv-main-type-3 h1 { font-size: 56px; line-height: 64px; }
}
@media (max-width: 959px) {
  .msv-main-type-3 .wp-block-cover { padding: 32px 0 56px; }
  .msv-main-type-3 h1 { font-size: 48px; line-height: 56px; margin-bottom: 24px; }
  .msv-main-type-3 p { font-size: 18px; line-height: 26px; }
}
@media (max-width: 639px) {
  .msv-main-type-3 .wp-block-cover { min-height: 0; padding: 56px 0 48px; }
  .msv-main-type-3 h1 { font-size: 32px; line-height: 40px; margin-bottom: 20px; }
  .msv-main-type-3 p { font-size: 16px; line-height: 24px; }
  .msv-main-type-3 .wp-block-buttons { flex-direction: column; align-items: center; gap: 12px; margin-top: 20px; }
  .msv-main-type-3 .wp-block-button { flex-direction: column; align-items: center; gap: 12px; }
  .msv-main-type-3 .wp-block-button__link,
  .msv-main-type-3 .wp-block-button > a:not(.wp-block-button__link) { min-width: 160px; }
}

/* ---------- Список карточек с фото: s-product-list-type-1 ---------- */
.msv-product-list-type-1 { padding: 72px 0 !important; background: #fff; }
.msv-product-list-type-1 > h2 {
  font-size: 56px;
  line-height: 64px;
  font-weight: 400;
  color: #111;
  margin: 0 0 32px;
  max-width: 960px;
}
.msv-product-list-type-1 .msv-grid { display: block !important; }
.msv-product-list-type-1 .msv-card:has(> figure) {
  display: grid !important;
  grid-template-columns: 144px minmax(0, 1fr) !important;
  column-gap: 48px;
  align-items: center;
  padding: 16px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
}
.msv-product-list-type-1 .msv-card:has(> figure) > figure {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  width: 144px;
}
.msv-product-list-type-1 .msv-card:has(> figure) > figure img,
.msv-product-list-type-1 .msv-card:has(> figure) > figure .wp-block-image img {
  width: 144px;
  height: 144px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.msv-product-list-type-1 .msv-card:has(> figure) p { margin: 0 !important; }
.msv-product-list-type-1 .msv-card:has(> figure) p:first-of-type {
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: #111;
  margin-bottom: 12px !important;
}
/* !important: перекрывает унаследованное правило таблицы цен
   (.msv-product-list-type-1 .msv-card p:nth-child(n+3) — синее, 16 px) */
.msv-product-list-type-1 .msv-card:has(> figure) p + p {
  font-size: 20px !important;
  line-height: 28px !important;
  color: rgba(17, 17, 17, .56) !important;
}
.msv-product-list-type-1 .msv-card:has(> figure) p + p a { color: rgba(17, 17, 17, .56) !important; }
.msv-product-list-type-1 .msv-card:has(> figure) h5 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: #111;
  margin: 0 0 12px;
}

@media (max-width: 1359px) {
  .msv-product-list-type-1 > h2 { font-size: 48px; line-height: 56px; }
}
@media (max-width: 959px) {
  .msv-product-list-type-1 { padding: 48px 0 !important; }
  .msv-product-list-type-1 > h2 { font-size: 40px; line-height: 48px; }
  .msv-product-list-type-1 .msv-card:has(> figure) { grid-template-columns: 120px minmax(0, 1fr) !important; column-gap: 25px; }
  .msv-product-list-type-1 .msv-card:has(> figure) > figure { width: 120px; }
  .msv-product-list-type-1 .msv-card:has(> figure) > figure img,
  .msv-product-list-type-1 .msv-card:has(> figure) > figure .wp-block-image img { width: 120px; height: 120px; }
  .msv-product-list-type-1 .msv-card:has(> figure) p:first-of-type { font-size: 20px; line-height: 28px; }
  .msv-product-list-type-1 .msv-card:has(> figure) p + p { font-size: 16px; line-height: 24px; }
}
@media (max-width: 639px) {
  .msv-product-list-type-1 { padding: 48px 0 !important; }
  .msv-product-list-type-1 > h2 { font-size: 28px; line-height: 36px; margin-bottom: 24px; }
  .msv-product-list-type-1 .msv-card:has(> figure) { display: block !important; padding: 16px 0 !important; }
  .msv-product-list-type-1 .msv-card:has(> figure) > figure { width: 100%; margin: 0 0 20px; }
  .msv-product-list-type-1 .msv-card:has(> figure) > figure img,
  .msv-product-list-type-1 .msv-card:has(> figure) > figure .wp-block-image img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .msv-product-list-type-1 .msv-card:has(> figure) p:first-of-type { font-size: 20px; line-height: 28px; }
  .msv-product-list-type-1 .msv-card:has(> figure) p + p { font-size: 16px; line-height: 24px; }
}

/* ---------- Тёмная полоса с белыми карточками: s-advantages-blocks-type-6 ---------- */
.msv-advantages-blocks-type-6 {
  background: #303952;
  padding: 72px 0 !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
}
@media (max-width: 1159px) {
  .msv-advantages-blocks-type-6 { padding-left: 20px !important; padding-right: 20px !important; }
}
.msv-advantages-blocks-type-6 > h2 {
  font-size: 56px;
  line-height: 64px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 40px;
}
.msv-advantages-blocks-type-6 .msv-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 48px;
  align-items: stretch;
}
.msv-advantages-blocks-type-6 .msv-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 64px !important;
  column-gap: 24px;
  align-content: start;
  padding: 24px !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(17, 17, 17, .18);
  box-sizing: border-box;
}
.msv-advantages-blocks-type-6 .msv-card h5,
.msv-advantages-blocks-type-6 .msv-card p:first-of-type {
  grid-column: 1;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: #111;
  margin: 0 0 12px !important;
}
.msv-advantages-blocks-type-6 .msv-card p {
  grid-column: 1;
  font-size: 16px;
  line-height: 24px;
  color: rgba(17, 17, 17, .56);
  margin: 0 !important;
}
.msv-advantages-blocks-type-6 .msv-card h5 + p {
  font-size: 16px !important;
  line-height: 24px !important;
  color: rgba(17, 17, 17, .56) !important;
  margin: 0 !important;
}
.msv-advantages-blocks-type-6 .msv-card figure {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
  width: 64px;
  margin: 0;
}
.msv-advantages-blocks-type-6 .msv-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 0;
}

@media (max-width: 959px) {
  .msv-advantages-blocks-type-6 { padding: 48px 0 !important; }
  .msv-advantages-blocks-type-6 > h2 { font-size: 40px; line-height: 48px; margin-bottom: 32px; }
  .msv-advantages-blocks-type-6 .msv-grid { grid-template-columns: 1fr !important; gap: 20px; }
}
@media (max-width: 639px) {
  .msv-advantages-blocks-type-6 { padding: 40px 0 !important; }
  .msv-advantages-blocks-type-6 > h2 { font-size: 28px; line-height: 36px; margin-bottom: 24px; }
  .msv-advantages-blocks-type-6 .msv-card { display: flex !important; flex-direction: column; padding: 20px !important; }
  .msv-advantages-blocks-type-6 .msv-card figure { order: 2; width: 48px; margin-top: 16px; }
  .msv-advantages-blocks-type-6 .msv-card img { width: 48px; height: 48px; }
  .msv-advantages-blocks-type-6 .msv-card h5,
  .msv-advantages-blocks-type-6 .msv-card p:first-of-type { font-size: 20px; line-height: 28px; }
  .msv-advantages-blocks-type-6 .msv-card p { font-size: 16px; line-height: 24px; }
}

/* ---------- /prices: верхний баннер (s-call-to-action-type-1 с фото) ---------- */
.msv-prices-hero {
  min-height: 336px;
  display: flex;
  align-items: center;
  padding: 72px 0 !important;
  margin: 0 !important;
}
.msv-prices-hero .wp-block-cover__inner-container {
  max-width: 912px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.msv-prices-hero h2 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 24px;
}
.msv-prices-hero .wp-block-buttons { justify-content: center; gap: 16px; margin: 0; }
.msv-prices-hero .wp-block-button { margin: 0; }
.msv-prices-hero .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 100px;
  font-size: 16px;
  line-height: 1;
  background: #fff;
  color: #111;
  border: 0;
  text-decoration: none;
}
.msv-prices-hero .wp-block-button__link:hover { background: #f0f0f0; color: #111; }
.msv-prices-hero .is-style-outline .wp-block-button__link {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .56);
}
.msv-prices-hero .is-style-outline .wp-block-button__link:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 639px) {
  .msv-prices-hero { min-height: 0; padding: 48px 0 !important; }
  .msv-prices-hero h2 { font-size: 24px; line-height: 32px; }
  .msv-prices-hero .wp-block-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .msv-prices-hero .wp-block-button__link { min-width: 200px; }
}

/* ---------- /prices: прайс строками (s-product-list-type-1, вариант bordered) ---------- */
.msv-product-list-type-1 > p {
  font-size: 20px;
  line-height: 28px;
  color: #111;
  max-width: 960px;
  margin: 0 0 16px;
}
.msv-product-list-type-1 .msv-card:not(:has(> figure)) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 175px !important;
  column-gap: 40px;
  align-items: start;
  padding: 40px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(17, 17, 17, .24) !important;
  border-radius: 0 !important;
  background: none !important;
}
.msv-product-list-type-1 .msv-card:not(:has(> figure)):last-child { border-bottom: 1px solid rgba(17, 17, 17, .24) !important; }
.msv-product-list-type-1 .msv-card:not(:has(> figure)) p { margin: 0 !important; }
.msv-product-list-type-1 .msv-card:not(:has(> figure)) p:nth-child(1) {
  grid-column: 1;
  font-size: 24px;
  line-height: 32px;
  color: #111;
  margin-bottom: 12px !important;
}
.msv-product-list-type-1 .msv-card:not(:has(> figure)) p:nth-child(2) {
  grid-column: 1;
  font-size: 20px !important;
  line-height: 28px !important;
  color: rgba(17, 17, 17, .56) !important;
}
.msv-product-list-type-1 .msv-card:not(:has(> figure)) p:nth-child(3) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  text-align: right;
  font-size: 24px !important;
  line-height: 32px !important;
  color: #111 !important;
}
@media (max-width: 639px) {
  .msv-product-list-type-1 .msv-card:not(:has(> figure)) {
    grid-template-columns: minmax(0, 1fr) auto !important;
    column-gap: 16px;
    padding: 24px 0 !important;
  }
  .msv-product-list-type-1 .msv-card:not(:has(> figure)) p:nth-child(1) { font-size: 20px; line-height: 28px; }
  .msv-product-list-type-1 .msv-card:not(:has(> figure)) p:nth-child(2) { font-size: 16px !important; line-height: 24px !important; }
  .msv-product-list-type-1 .msv-card:not(:has(> figure)) p:nth-child(3) { font-size: 20px !important; line-height: 28px !important; }
}

/* ---------- Форма на фото (?form-photo) ---------- */
.msv-form-photo {
  position: relative;
  background-image: url(/wp-content/uploads/2026/11/msv-form-bg.jpg);
  background-size: cover;
  background-position: center;
  padding: 72px 0 !important;
}
.msv-form-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .3);
}
.msv-form-photo > * { position: relative; z-index: 1; }
.msv-form-photo > h3, .msv-form-photo > p { color: #fff; }
.msv-form-photo > h3 { font-size: 32px; line-height: 40px; margin: 0 0 12px; }
.msv-form-photo > p { font-size: 20px; line-height: 28px; margin: 0 0 24px; }

/* ---------- /repair: «До и после» — наложение как в оригинале ---------- */
.msv-ba__frame { padding-top: 50%; border-radius: 8px; }
.msv-ba__label {
  top: auto;
  bottom: 16px;
  background: none;
  padding: 0;
  font: 400 20px/28px Cambria, Georgia, "Times New Roman", serif;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .65);
}
.msv-ba__label--left { left: 20px; }
.msv-ba__label--right { right: 20px; }
@media (max-width: 639px) {
  .msv-ba__frame { padding-top: 62%; }
  .msv-ba__label { bottom: 10px; font-size: 16px; line-height: 24px; }
}

/* ---------- /repair: FAQ в тёмной полосе — текст был цвета фона ---------- */
.msv-band-dark summary { color: #fff; }
.msv-faq-type-1 details { border-top: 1px solid rgba(255, 255, 255, .28); padding: 8px 0; }
.msv-faq-type-1 summary { font-size: 24px; line-height: 32px; padding: 16px 0; cursor: pointer; }
.msv-faq-type-1 details > p { color: rgba(255, 255, 255, .74); font-size: 16px; line-height: 24px; padding-bottom: 16px; }
@media (max-width: 639px) {
  .msv-faq-type-1 summary { font-size: 20px; line-height: 28px; }
}

/* ---------- Внутренние страницы: H1 в текстовом блоке ---------- */
.msv-text-type-4 h1 { color: #111; }

/* ---------- /prices: баннер на всю ширину ---------- */
.msv-prices-hero { position: relative; left: 50%; transform: translateX(-50%); width: 100vw; max-width: 100vw; }

/* ---------- /typical-faults: страница-заявка на фото ---------- */
.msv-faults-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url(/wp-content/uploads/2026/11/msv-form-bg.jpg);
  background-size: cover;
  background-position: center;
  padding: 72px 0 !important;
  text-align: center;
}
.msv-faults-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .3);
}
.msv-faults-hero > * { position: relative; z-index: 1; }
.msv-faults-hero > h1 {
  font-size: 56px;
  line-height: 64px;
  font-weight: 400;
  color: #fff;
  margin: 0 auto 32px;
  max-width: 912px;
}
.msv-faults-hero > h3 {
  font-size: 32px;
  line-height: 40px;
  color: #fff;
  margin: 0 0 8px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.msv-faults-hero > p {
  color: #fff;
  font-size: 20px;
  line-height: 28px;
  margin: 0 auto 24px;
}
@media (max-width: 959px) {
  .msv-faults-hero { min-height: 0; padding: 56px 0 !important; }
  .msv-faults-hero > h1 { font-size: 40px; line-height: 48px; margin-bottom: 24px; }
}
@media (max-width: 639px) {
  .msv-faults-hero > h1 { font-size: 32px; line-height: 40px; }
  .msv-faults-hero > h3 { font-size: 24px; line-height: 32px; }
  .msv-faults-hero > p { font-size: 16px; line-height: 24px; }
}

/* ---------- /typical-faults: полоса на всю ширину и компактная форма ---------- */
.msv-faults-hero { width: 100vw; max-width: 100vw; left: 50%; transform: translateX(-50%); }
.msv-faults-hero .wpcf7 form { max-width: 720px; margin: 0 auto; text-align: left; }
.msv-faults-hero .wpcf7 textarea,
.msv-form-photo .wpcf7 textarea { min-height: 120px; height: 120px; }

/* ---------- Иконка MAX во всех кнопках (30.11.2026) ---------- */
.wp-block-button__link[href*="max.ru"]::before,
a.button[href*="max.ru"]::before,
.msv-main-type-3 a[href*="max.ru"]::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  margin-right: 10px;
  border-radius: 8px;
  padding: 3px;
  box-sizing: border-box;
  background-image: url("/wp-content/uploads/2026/11/msv-max-icon.png"), linear-gradient(#fff, #fff);
  background-origin: content-box, border-box;
  background-clip: content-box, border-box;
  background-size: contain, auto;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  vertical-align: -8px;
}
/* старую иконку-картинку в кнопке главной заменяет новая из ::before */
.msv-cta-icon { display: none !important; }

/* ---------- Текстовый блок с кнопкой (s-call-to-action-type-1, светлый) ----------
   В оригинале текст идёт как абзац 20/28, а не заголовок 56/64;
   кнопка — жёлтая пилюля #FFDD2D 48 px. Тёмный вариант не трогаем. */
.msv-call-to-action-type-1:not(.msv-band-dark) { padding: 72px 0 !important; }
.msv-call-to-action-type-1:not(.msv-band-dark) > h2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: #111;
  max-width: 960px;
  margin: 0 0 20px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
.msv-call-to-action-type-1:not(.msv-band-dark) > p {
  font-size: 20px;
  line-height: 28px;
  color: #111;
  max-width: 960px;
  margin: 0 0 20px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
.msv-call-to-action-type-1:not(.msv-band-dark) .wp-block-buttons { margin: 0; }
.msv-call-to-action-type-1:not(.msv-band-dark) .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 100px;
  background: #ffdd2d;
  color: #111;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  border: 0;
  text-decoration: none;
}
.msv-call-to-action-type-1:not(.msv-band-dark) .wp-block-button__link:hover { background: #ffd400; color: #111; }
@media (max-width: 639px) {
  .msv-call-to-action-type-1:not(.msv-band-dark) { padding: 48px 0 !important; }
  .msv-call-to-action-type-1:not(.msv-band-dark) > h2,
  .msv-call-to-action-type-1:not(.msv-band-dark) > p { font-size: 16px; line-height: 24px; }
}

/* ---------- Блок «Важно» (s-text-type-4_important) ---------- */
.msv-text-type-4.msv-important { position: relative; padding: 72px 0 !important; }
.msv-text-type-4.msv-important::before {
  content: "";
  position: absolute;
  top: 72px;
  bottom: 72px;
  left: calc((100% - 1104px) / 2 - 26px);
  width: 4px;
  background: #dd6666;
}
.msv-text-type-4.msv-important > h2 {
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  color: #111;
  max-width: 960px;
  margin: 0 0 24px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
.msv-text-type-4.msv-important > h5 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: #111;
  max-width: 960px;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
@media (max-width: 959px) {
  .msv-text-type-4.msv-important { padding: 40px 0 !important; padding-left: 34px !important; }
  .msv-text-type-4.msv-important::before { top: 40px; bottom: 40px; left: 10px; }
  .msv-text-type-4.msv-important > h2 { font-size: 28px; line-height: 36px; margin-bottom: 16px !important; }
  .msv-text-type-4.msv-important > h5 { font-size: 16px; line-height: 24px; }
}

/* ---------- «До и после»: тексты по центру (как в оригинале) ---------- */
.msv-gallery-compare-type-1 { text-align: center; }
.msv-gallery-compare-type-1 > h3 {
  font-size: 40px;
  line-height: 48px;
  font-weight: 400;
  color: #111;
  max-width: 768px;
  margin: 0 auto 24px !important;
}
.msv-gallery-compare-type-1 > p {
  font-size: 20px;
  line-height: 28px;
  color: #111;
  max-width: 768px;
  margin: 0 auto 8px !important;
}
.msv-gallery-compare-type-1 > p em { font-style: italic; }
@media (max-width: 959px) {
  .msv-gallery-compare-type-1 > h3 { font-size: 28px; line-height: 36px; }
  .msv-gallery-compare-type-1 > p { font-size: 16px; line-height: 24px; }
}

/* ---------- Светлый вариант «Наши преимущества» (s-advantages-type-1) ----------
   Раньше иконки и описания были рассчитаны на тёмную полосу и на белом фоне пропадали. */
.msv-advantages-type-1:not(.msv-band-dark) .msv-card .wp-block-image img {
  filter: none;
  opacity: 1;
}
.msv-advantages-type-1:not(.msv-band-dark) .msv-card h5,
.msv-advantages-type-1:not(.msv-band-dark) .msv-card h3,
.msv-advantages-type-1:not(.msv-band-dark) .msv-card h4 { color: #111; }
.msv-advantages-type-1:not(.msv-band-dark) .msv-card p { color: rgba(17, 17, 17, .56); }

/* ---------- Тёмный призыв «Если ваш светильник не светит…» ---------- */
.msv-call-to-action-type-1.msv-band-dark { text-align: center; padding: 72px 0 !important; }
.msv-call-to-action-type-1.msv-band-dark > p {
  font-size: 24px;
  line-height: 32px;
  font-style: italic;
  color: #fff;
  max-width: 720px;
  margin: 0 auto !important;
}
.msv-call-to-action-type-1.msv-band-dark > p + p { margin-top: 0 !important; }
@media (max-width: 639px) {
  .msv-call-to-action-type-1.msv-band-dark { padding: 40px 0 !important; }
  .msv-call-to-action-type-1.msv-band-dark > p { font-size: 18px; line-height: 26px; }
}

/* ---------- FAQ: убираем белые рамки, как в оригинале (плоский список) ---------- */
.msv-faq-type-1 details {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 32px !important;
  max-width: 1104px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.msv-faq-type-1 summary {
  list-style: none;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: #fff;
  padding: 0 0 12px;
  cursor: pointer;
}
.msv-faq-type-1 summary::-webkit-details-marker { display: none; }
.msv-faq-type-1 details > p {
  font-size: 20px;
  line-height: 28px;
  color: rgba(255, 255, 255, .72);
  padding: 0 !important;
  margin: 0 !important;
}
@media (max-width: 639px) {
  .msv-faq-type-1 summary { font-size: 20px; line-height: 28px; }
  .msv-faq-type-1 details > p { font-size: 16px; line-height: 24px; }
}

/* ---------- Финальный контактный блок «Связаться с нами просто!» (s-main-type-10) ---------- */
.msv-main-type-10 { padding: 0 !important; }
.msv-main-type-10 .wp-block-cover { min-height: 640px; }
.msv-main-type-10 .wp-block-cover__inner-container {
  display: block !important;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.msv-main-type-10 .wp-block-cover__inner-container figure { margin: 0 auto 24px; }
.msv-main-type-10 .wp-block-cover__inner-container figure img {
  width: 168px;
  height: 168px;
  border-radius: 50% !important;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}
.msv-main-type-10 .wp-block-cover__inner-container h3 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 20px !important;
  max-width: 720px;
  text-align: center;
}
.msv-main-type-10 .wp-block-cover__inner-container p {
  font-size: 20px;
  line-height: 28px;
  color: rgba(255, 255, 255, .8);
  margin: 0 auto 32px !important;
  max-width: 720px;
  text-align: center;
}
.msv-main-type-10 .wp-block-buttons { display: inline-flex; vertical-align: top; margin: 0 8px; }
.msv-main-type-10 .wp-block-button { margin: 0; }
.msv-main-type-10 .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 100px;
  background: transparent;
  color: #fff;
  border: 2px solid #279eda;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
}
.msv-main-type-10 .wp-block-button__link:hover { background: rgba(39, 158, 218, .18); color: #fff; }
@media (max-width: 639px) {
  .msv-main-type-10 .wp-block-cover { min-height: 0; padding: 56px 0; }
  .msv-main-type-10 .wp-block-cover__inner-container figure img { width: 120px; height: 120px; border-radius: 50% !important; }
  .msv-main-type-10 .wp-block-cover__inner-container h3 { font-size: 24px; line-height: 32px; }
  .msv-main-type-10 .wp-block-cover__inner-container p { font-size: 16px; line-height: 24px; }
  .msv-main-type-10 .wp-block-buttons { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; }
}

/* ---------- /prices: отступ под H1 и широкая вводная часть ---------- */
.msv-text-type-4 h1 { margin-bottom: 32px !important; }
.msv-product-list-type-1 > p {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ---------- /prices: нижняя заметка после прайса (как s-text-type-4_important) ---------- */
.msv-text-type-4.msv-note { position: relative; padding: 72px 0 !important; }
.msv-text-type-4.msv-note::before {
  content: "";
  position: absolute;
  top: 72px;
  bottom: 72px;
  left: calc((100% - 1104px) / 2 - 26px);
  width: 4px;
  background: #dd6666;
}
.msv-text-type-4.msv-note > p {
  font-size: 32px;
  line-height: 40px;
  font-style: italic;
  color: #111;
  max-width: 960px;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.msv-text-type-4.msv-note > p + p { margin-top: 0 !important; }
.msv-text-type-4.msv-note a { color: #2d98da; text-decoration: underline; text-decoration-color: #7cc4f2; }
@media (max-width: 959px) {
  .msv-text-type-4.msv-note { padding: 40px 0 !important; padding-left: 34px !important; }
  .msv-text-type-4.msv-note::before { top: 40px; bottom: 40px; left: 10px; }
  .msv-text-type-4.msv-note > p { font-size: 20px; line-height: 28px; }
}

/* ---------- /prices: «Ремонт светильника — это просто и прозрачно!» (s-advantages-blocks-type-4) ---------- */
.msv-advantages-blocks-type-4 {
  background: #f6f7f8;
  padding: 72px 0 !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  padding-inline: max(20px, calc((100vw - 1104px) / 2)) !important;
  box-sizing: border-box;
}
.msv-advantages-blocks-type-4 > h2 {
  font-size: 56px;
  line-height: 64px;
  font-weight: 400;
  color: #111;
  margin: 0 0 40px;
  max-width: 960px;
}
.msv-advantages-blocks-type-4 .msv-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px;
}
.msv-advantages-blocks-type-4 .msv-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 24px !important;
  box-sizing: border-box;
}
.msv-advantages-blocks-type-4 .msv-card > figure { grid-area: 1 / 1; margin: 0; display: block; width: 100%; }
.msv-advantages-blocks-type-4 .msv-card > figure img {
  width: 100%;
  aspect-ratio: 336 / 196;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.msv-advantages-blocks-type-4 .msv-card > p.msv-num {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: start;
  z-index: 2;
  margin: 0 0 -12px 0 !important;
  padding: 0 0 0 4px;
  font-size: 112px;
  line-height: 120px;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}
.msv-advantages-blocks-type-4 .msv-card > h5 {
  grid-area: 2 / 1;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: #111;
  margin: 16px 0 8px !important;
}
.msv-advantages-blocks-type-4 .msv-card > p:not(.msv-num) {
  grid-area: 3 / 1;
  font-size: 16px;
  line-height: 24px;
  color: rgba(17, 17, 17, .56);
  margin: 0 !important;
}
@media (max-width: 959px) {
  .msv-advantages-blocks-type-4 { padding: 48px 0 !important; }
  .msv-advantages-blocks-type-4 > h2 { font-size: 40px; line-height: 48px; margin-bottom: 32px; }
  .msv-advantages-blocks-type-4 .msv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px; }
}
@media (max-width: 639px) {
  .msv-advantages-blocks-type-4 .msv-grid { grid-template-columns: 1fr !important; }
  .msv-advantages-blocks-type-4 .msv-card > p.msv-num { font-size: 72px; line-height: 80px; }
}

/* ---------- Форма на фото: заголовок по ширине карточки, поля без вылета ---------- */
.msv-form-photo > h3,
.msv-form-photo > p {
  max-width: 602px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: left;
}
.msv-form-photo .wpcf7 input:not([type="submit"]):not([type="checkbox"]),
.msv-form-photo .wpcf7 textarea,
.msv-faults-hero .wpcf7 input:not([type="submit"]):not([type="checkbox"]),
.msv-faults-hero .wpcf7 textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

/* ---------- /horeca: герой в две колонки (s-main-type-12) ---------- */
.msv-main-type-12 { padding: 0 !important; }
.msv-hero12 { display: grid; grid-template-columns: 456px minmax(0, 1fr); gap: 56px; align-items: center; padding: 72px 0; }
.msv-hero12__media { margin: 0 !important; }
.msv-hero12__media img { width: 100%; height: 456px; object-fit: cover; display: block; }
.msv-hero12__body { max-width: 560px; text-align: left; }
.msv-hero12__label { font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .6); margin: 0 0 8px !important; }
.msv-hero12 h1 { font-size: 40px; line-height: 48px; font-weight: 400; color: #fff; margin: 0 0 8px !important; }
.msv-hero12 h3 { font-size: 24px; line-height: 32px; font-weight: 400; color: #fff; margin: 0 0 16px !important; }
.msv-hero12 p { font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .85); margin: 0 0 24px !important; }
.msv-hero12 .wp-block-buttons { display: flex; gap: 16px; }
.msv-hero12 .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 100px; font-size: 16px; text-decoration: none; background: #fff; color: #111; border: 0; }
.msv-hero12 .is-style-outline .wp-block-button__link { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .56); }

/* ---------- /horeca: карточки проектов (s-advantages-blocks-type-7) ---------- */
.msv-advantages-blocks-type-7 { padding: 72px 0 !important; }
.msv-advantages-blocks-type-7 > h3 { font-size: 40px; line-height: 48px; font-weight: 400; color: #fff; margin: 0 0 40px; }
.msv-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.msv-project { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 430px; padding: 24px; overflow: hidden; }
.msv-project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .62) 100%); z-index: 1; }
.msv-project .msv-project__media { position: absolute; inset: 0; margin: 0; z-index: 0; }
.msv-project .msv-project__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.msv-project h5, .msv-project p, .msv-project .wp-block-buttons { position: relative; z-index: 2; }
.msv-project h5 { font-size: 24px; line-height: 32px; font-weight: 400; color: #fff; margin: 0 0 8px !important; }
.msv-project p { font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .85); margin: 0 0 20px !important; }
.msv-project .wp-block-button__link { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 100px; background: #fff; color: #111; font-size: 14px; text-decoration: none; border: 0; }
@media (max-width: 959px) {
  .msv-hero12 { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; }
  .msv-hero12__media img { height: 320px; }
  .msv-hero12 h1 { font-size: 32px; line-height: 40px; }
  .msv-projects { grid-template-columns: 1fr; }
}

/* ---------- Форма на фото: компактнее ---------- */
.msv-form-photo { padding: 56px 0 !important; }
.msv-form-photo .wpcf7 { margin-top: 8px; }
.msv-form-photo .wpcf7 p { margin: 0 0 8px !important; }
.msv-form-photo .wpcf7 textarea { min-height: 90px; height: 90px; }

/* ---------- Кнопка-контур (is-style-outline) на тёмных блоках ---------- */
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button[class*="is-style-outline--"] .wp-block-button__link {
  background: transparent !important;
  border: 2px solid currentColor !important;
}
.msv-hero12 .is-style-outline .wp-block-button__link,
.msv-prices-hero .is-style-outline .wp-block-button__link,
.msv-main-type-3 .is-style-outline .wp-block-button__link,
.msv-main-type-10 .is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, .56) !important;
}
.msv-prices-hero .is-style-outline .wp-block-button__link,
.msv-main-type-3 .is-style-outline .wp-block-button__link { border-color: #279eda !important; }

/* ---------- Форма на фото — на всю ширину ---------- */
.msv-form-photo {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  padding-left: max(20px, calc((100vw - 1104px) / 2)) !important;
  padding-right: max(20px, calc((100vw - 1104px) / 2)) !important;
  box-sizing: border-box;
}

/* ---------- Текстовые секции внутренних страниц (s-text-type-4) ---------- */
.msv-text-type-4 { padding: 72px 0 !important; }
.msv-text-type-4 > h2 { font-size: 56px; line-height: 64px; font-weight: 400; color: #111; margin: 0 0 24px !important; }
.msv-text-type-4 > h3 { font-size: 32px; line-height: 40px; font-weight: 400; color: #111; margin: 0 0 24px !important; }
.msv-text-type-4 > p { font-size: 20px; line-height: 28px; color: #111; margin: 0 0 24px !important; }
.msv-text-type-4 > p:last-child { margin-bottom: 0 !important; }
.msv-text-type-4 > ul, .msv-text-type-4 > ol { margin: 0 0 24px !important; padding-left: 24px; }
.msv-text-type-4 > ul li, .msv-text-type-4 > ol li { font-size: 20px; line-height: 28px; margin-bottom: 6px; }

/* ---------- /contacts: контакты + карта в две колонки (s-contacts-extensible-type-1) ---------- */
.msv-contacts-extensible-type-1 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  column-gap: 48px;
  row-gap: 8px;
  align-items: start;
  padding: 72px 0 !important;
}
.msv-contacts-extensible-type-1 > h1 {
  grid-column: 1;
  font-size: 40px;
  line-height: 48px;
  font-weight: 400;
  color: #111;
  margin: 0 0 24px !important;
}
.msv-contacts-extensible-type-1 > .msv-grid {
  grid-column: 1;
  display: flex !important;
  flex-direction: column;
  gap: 24px;
}
.msv-contacts-extensible-type-1 .msv-card {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
}
.msv-contacts-extensible-type-1 .msv-card figure { grid-column: 1; grid-row: 1 / span 2; width: 24px; margin: 4px 0 0; }
.msv-contacts-extensible-type-1 .msv-card img { width: 24px; height: 24px; object-fit: contain; }
.msv-contacts-extensible-type-1 .msv-card h5 { grid-column: 2; font-size: 20px; line-height: 28px; font-weight: 400; color: #111; margin: 0 0 4px !important; }
.msv-contacts-extensible-type-1 .msv-card p { grid-column: 2; font-size: 16px; line-height: 24px; color: #111; margin: 0 !important; }
.msv-contacts-hero__map { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; min-height: 520px; }
.msv-contacts-hero__map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; display: block; }
@media (max-width: 959px) {
  .msv-contacts-extensible-type-1 { grid-template-columns: 1fr; row-gap: 24px; padding: 48px 0 !important; }
  .msv-contacts-extensible-type-1 > h1 { font-size: 32px; line-height: 40px; }
  .msv-contacts-hero__map { grid-column: 1; grid-row: auto; min-height: 340px; }
  .msv-contacts-hero__map iframe { min-height: 340px; }
}

/* ---------- Галереи-«как пройти»: две колонки, как в оригинале (s-gallery-type-3) ---------- */
.msv-gallery-type-3 .msv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 40px 48px; }
.msv-gallery-type-3 .msv-card { padding: 0 !important; border: 0 !important; background: none !important; }
.msv-gallery-type-3 .msv-card figure { margin: 0 0 12px; }
.msv-gallery-type-3 .msv-card img { width: 100%; height: auto; display: block; }
.msv-gallery-type-3 .msv-card p { font-size: 16px; line-height: 24px; color: #111; margin: 0 !important; }
.msv-gallery-type-3 > h2 { font-size: 56px; line-height: 64px; font-weight: 400; color: #111; margin: 0 0 24px !important; }
@media (max-width: 639px) {
  .msv-gallery-type-3 .msv-grid { grid-template-columns: 1fr !important; gap: 24px; }
}
/* контакты/карта: убираем автоцентрирование детей сетки из блочной вёрстки */
.msv-contacts-extensible-type-1 > h1,
.msv-contacts-extensible-type-1 > .msv-grid,
.msv-contacts-extensible-type-1 > .msv-contacts-hero__map {
  justify-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.msv-contacts-extensible-type-1 > h1 { grid-column: 1; grid-row: 1; }
.msv-contacts-extensible-type-1 > .msv-grid { grid-column: 1; grid-row: 2; display: flex !important; flex-direction: column; gap: 24px; }
.msv-contacts-extensible-type-1 > .msv-contacts-hero__map { grid-column: 2; grid-row: 1 / span 2; }
/* иконки контактов — строго 24×24, не растягиваются */
.msv-contacts-extensible-type-1 .msv-card figure img {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  object-fit: contain !important;
}
.msv-contacts-extensible-type-1 .msv-card figure { height: 24px; }
/* карта выше, как в оригинале */
.msv-contacts-hero__map,
.msv-contacts-hero__map iframe { min-height: 720px; }

/* ---------- /gallery: галереи-сетки (s-gallery-bricks-type-1, s-gallery-type-5) ---------- */
.msv-gallery-bricks-type-1 .wp-block-gallery,
.msv-gallery-type-5 .wp-block-gallery,
.msv-gallery-type-10 .wp-block-gallery,
.msv-gallery-type-3 .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px;
  width: 100% !important;
}
.msv-gallery-bricks-type-1 .wp-block-gallery figure,
.msv-gallery-type-5 .wp-block-gallery figure,
.msv-gallery-type-10 .wp-block-gallery figure,
.msv-gallery-type-3 .wp-block-gallery figure {
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
}
.msv-gallery-bricks-type-1 .wp-block-gallery img,
.msv-gallery-type-5 .wp-block-gallery img,
.msv-gallery-type-10 .wp-block-gallery img,
.msv-gallery-type-3 .wp-block-gallery img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.msv-gallery-type-5 > figure img,
.msv-gallery-type-10 > figure img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 639px) {
  .msv-gallery-bricks-type-1 .wp-block-gallery,
  .msv-gallery-type-5 .wp-block-gallery,
  .msv-gallery-type-10 .wp-block-gallery,
  .msv-gallery-type-3 .wp-block-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
/* /gallery: s-gallery-type-3 — три колонки квадратов 336, как в оригинале;
   на /contacts тот же блок идёт в две колонки (правило ниже по странице 20) */
.msv-gallery-type-3 .msv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 24px; }
.msv-gallery-type-3 .msv-card img { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; }
.msv-gallery-type-3 .msv-card a { display: block; }
body.page-id-20 .msv-gallery-type-3 .msv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 40px 48px; }
body.page-id-20 .msv-gallery-type-3 .msv-card img { aspect-ratio: auto; }
@media (max-width: 639px) {
  .msv-gallery-type-3 .msv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px; }
}

/* ---------- /contacts: на мобильном контакты и карта — друг под другом ---------- */
@media (max-width: 959px) {
  .msv-contacts-extensible-type-1 { grid-template-columns: minmax(0, 1fr) !important; }
  .msv-contacts-extensible-type-1 > .msv-contacts-hero__map {
    grid-column: 1 !important;
    grid-row: auto !important;
    margin-top: 8px;
  }
}

/* ---------- «Как добраться» на тёмной полосе: белый текст и отступ ---------- */
.msv-text-type-4.msv-band-dark {
  padding-left: max(20px, calc((100vw - 1104px) / 2)) !important;
  padding-right: max(20px, calc((100vw - 1104px) / 2)) !important;
}
.msv-text-type-4.msv-band-dark h2,
.msv-text-type-4.msv-band-dark h3,
.msv-text-type-4.msv-band-dark p,
.msv-text-type-4.msv-band-dark li,
.msv-text-type-4.msv-band-dark strong { color: #fff !important; }
.msv-text-type-4.msv-band-dark a { color: #7cc4f2 !important; }
/* /gallery: type-10 — большое фото 528 + миниатюры 240, как в оригинале */
.msv-gallery-type-10 { display: flex !important; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.msv-gallery-type-10 > h2, .msv-gallery-type-10 > p { flex: 0 0 100%; }
.msv-gallery-type-10 > figure { margin: 0 !important; }
.msv-gallery-type-10 > figure:first-of-type { flex: 0 0 528px; max-width: 528px; }
.msv-gallery-type-10 > figure:first-of-type img { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; }
.msv-gallery-type-10 > figure:not(:first-of-type) { flex: 0 0 240px; max-width: 240px; }
.msv-gallery-type-10 > figure:not(:first-of-type) img { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; }

/* /gallery: type-5 — одно широкое фото 1104×419 + миниатюры 336 */
.msv-gallery-type-5 { display: flex !important; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.msv-gallery-type-5 > h2, .msv-gallery-type-5 > p { flex: 0 0 100%; }
.msv-gallery-type-5 > figure { margin: 0 !important; }
.msv-gallery-type-5 > figure:first-of-type { flex: 0 0 100%; max-width: 100%; }
.msv-gallery-type-5 > figure:first-of-type img { width: 100% !important; height: auto !important; aspect-ratio: 1104 / 419; object-fit: cover; }
.msv-gallery-type-5 > figure:not(:first-of-type) { flex: 0 0 calc((100% - 32px) / 3); max-width: calc((100% - 32px) / 3); }
.msv-gallery-type-5 > figure:not(:first-of-type) img { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 959px) {
  .msv-gallery-type-10 > figure:first-of-type { flex: 0 0 100%; max-width: 100%; }
  .msv-gallery-type-10 > figure:not(:first-of-type) { flex: 0 0 calc((100% - 16px) / 2); max-width: calc((100% - 16px) / 2); }
}
/* /gallery: там, где фото собраны в wp-block-gallery — 4 колонки по 240, как в оригинале */
.msv-gallery-type-3 .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(4, 240px) !important;
  gap: 32px;
  justify-content: space-between;
  width: 100% !important;
}
.msv-gallery-type-3 .wp-block-gallery figure {
  margin: 0 !important;
  width: 240px !important;
  max-width: 240px !important;
}
.msv-gallery-type-3 .wp-block-gallery img {
  width: 240px !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: cover;
  display: block;
}
@media (max-width: 959px) {
  .msv-gallery-type-3 .wp-block-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px; }
  .msv-gallery-type-3 .wp-block-gallery figure,
  .msv-gallery-type-3 .wp-block-gallery img { width: 100% !important; max-width: 100% !important; }
}
@media (max-width: 639px) {
  .msv-gallery-type-3 .wp-block-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
/* /gallery: type-10 — галерея миниатюр 240 в четыре колонки */
.msv-gallery-type-10 > .wp-block-gallery {
  flex: 0 0 100% !important;
  display: grid !important;
  grid-template-columns: repeat(4, 240px) !important;
  gap: 32px;
  justify-content: space-between;
  width: 100% !important;
}
.msv-gallery-type-10 > .wp-block-gallery figure {
  margin: 0 !important;
  width: 240px !important;
  max-width: 240px !important;
}
.msv-gallery-type-10 > .wp-block-gallery img {
  width: 240px !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: cover;
  display: block;
}
@media (max-width: 959px) {
  .msv-gallery-type-10 > .wp-block-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px; }
  .msv-gallery-type-10 > .wp-block-gallery figure,
  .msv-gallery-type-10 > .wp-block-gallery img { width: 100% !important; max-width: 100% !important; }
}
@media (max-width: 639px) {
  .msv-gallery-type-10 > .wp-block-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* ---------- /requisites: карточка реквизитов на фото (s-company-card-type-1) ---------- */
.msv-company-card-type-1 {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  min-height: 760px;
  display: grid !important;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  align-items: center;
  column-gap: 96px;
  padding: 72px max(20px, calc((100vw - 1104px) / 2)) !important;
  box-sizing: border-box;
  background-image: linear-gradient(rgba(10, 22, 32, .45), rgba(10, 22, 32, .45)), url("/wp-content/uploads/2026/11/msv-requisites-bg.jpg");
  background-size: cover;
  background-position: center;
}
.msv-company-card-type-1 > figure { grid-column: 1; margin: 0 0 24px !important; }
.msv-company-card-type-1 > figure img {
  width: 168px !important;
  height: 168px !important;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 40px;
  box-sizing: border-box;
  display: block;
}
.msv-company-card-type-1 > h4 {
  grid-column: 1;
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
  color: #fff;
  margin: 0 !important;
}
.msv-company-card-type-1 > .msv-grid {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: block !important;
  background: #fff;
  padding: 40px 48px !important;
  box-sizing: border-box;
}
.msv-company-card-type-1 .msv-card {
  display: grid !important;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
  padding: 18px 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(17, 17, 17, .16) !important;
  border-radius: 0 !important;
  background: none !important;
}
.msv-company-card-type-1 .msv-card:first-child { border-top: 0 !important; }
.msv-company-card-type-1 .msv-card p { margin: 0 !important; font-size: 16px; line-height: 24px; color: #111; }
.msv-company-card-type-1 .msv-card p:first-child { color: rgba(17, 17, 17, .6); }
@media (max-width: 959px) {
  .msv-company-card-type-1 { grid-template-columns: 1fr; row-gap: 24px; min-height: 0; padding: 48px 20px !important; }
  .msv-company-card-type-1 > figure, .msv-company-card-type-1 > h4, .msv-company-card-type-1 > .msv-grid { grid-column: 1; grid-row: auto; }
  .msv-company-card-type-1 > .msv-grid { padding: 24px !important; }
  .msv-company-card-type-1 .msv-card { grid-template-columns: 1fr; row-gap: 2px; padding: 14px 0 !important; }
}
/* /requisites: правки раскладки после первой примерки */
.msv-company-card-type-1 > .msv-grid {
  justify-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.msv-company-card-type-1 > figure {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px !important;
}
.msv-company-card-type-1 > figure img {
  width: 96px !important;
  height: 96px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  object-fit: contain;
}
.msv-company-card-type-1 > h4 { grid-row: 2; text-align: center; }
@media (min-width: 960px) {
  .msv-company-card-type-1 > figure { justify-self: center; }
}

/* /prices: блок заявки как на главной — фото светильника слева, карточка справа */
.msv-form-type-2__map { margin: 0 !important; }
.msv-form-type-2__map img {
  width: 100% !important;
  height: clamp(320px, 40vw, 420px) !important;
  object-fit: cover;
  display: block;
  border-radius: 24px !important;
}
@media (max-width: 900px) {
  .msv-form-type-2__map img { height: 320px !important; }
}

/* ============================================================
   /gallery — правки по замечаниям владельца (30.11.2026, вечер)
   1) все фотосекции — одна сетка, как «Замена патронов и электропроводки»;
   2) подписи в оглавлении по центру и ближе к фото;
   3) у слайдеров «до/после» — подписи «До»/«После» и подсказка про ползунок;
   4) лайтбокс — просмотр фото раздела по кругу.
   ============================================================ */

/* --- 1. единая сетка фотографий: три колонки, квадраты, зазор 8 --- */
body.page-id-18 .msv-gallery-bricks-type-1,
body.page-id-18 .msv-gallery-type-10,
body.page-id-18 .msv-gallery-type-5,
body.page-id-18 .msv-gallery-type-3:has(.wp-block-gallery) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  align-items: start;
}
body.page-id-18 .msv-gallery-bricks-type-1 > h2,
body.page-id-18 .msv-gallery-bricks-type-1 > p,
body.page-id-18 .msv-gallery-type-10 > h2,
body.page-id-18 .msv-gallery-type-10 > p,
body.page-id-18 .msv-gallery-type-5 > h2,
body.page-id-18 .msv-gallery-type-5 > p,
body.page-id-18 .msv-gallery-type-3 > h2,
body.page-id-18 .msv-gallery-type-3 > p {
  grid-column: 1 / -1;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.page-id-18 .msv-gallery-bricks-type-1 > .wp-block-gallery,
body.page-id-18 .msv-gallery-type-3 > .wp-block-gallery,
body.page-id-18 .msv-gallery-type-10 > .wp-block-gallery,
body.page-id-18 .msv-gallery-type-5 > .wp-block-gallery {
  display: contents !important;
}
body.page-id-18 .msv-gallery-bricks-type-1 figure,
body.page-id-18 .msv-gallery-type-3 figure,
body.page-id-18 .msv-gallery-type-10 figure,
body.page-id-18 .msv-gallery-type-5 figure {
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  flex: none !important;
}
body.page-id-18 .msv-gallery-bricks-type-1 img,
body.page-id-18 .msv-gallery-type-3 .wp-block-gallery img,
body.page-id-18 .msv-gallery-type-10 img,
body.page-id-18 .msv-gallery-type-5 img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover;
  display: block;
}
@media (max-width: 639px) {
  body.page-id-18 .msv-gallery-bricks-type-1,
  body.page-id-18 .msv-gallery-type-10,
  body.page-id-18 .msv-gallery-type-5,
  body.page-id-18 .msv-gallery-type-3:has(.wp-block-gallery) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* --- 2. оглавление: подписи по центру и вдвое ближе к фото --- */
body.page-id-18 .msv-gallery-type-3 .msv-card { text-align: center; }
body.page-id-18 .msv-gallery-type-3 .msv-card figure { margin: 0 0 12px !important; }
body.page-id-18 .msv-gallery-type-3 .msv-card p {
  margin: 0 !important;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
}

/* --- 3. слайдеры «до/после»: подписи и подсказка --- */
body.page-id-18 .msv-gallery-compare-type-1 .msv-compare .wp-block-column::after {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: #303952;
}
body.page-id-18 .msv-gallery-compare-type-1 .msv-compare .wp-block-column:first-child::after { content: "До"; }
body.page-id-18 .msv-gallery-compare-type-1 .msv-compare .wp-block-column:last-child::after { content: "После"; }
body.page-id-18 .msv-gallery-compare-type-1::after {
  content: "Двигайте ползунок влево-вправо";
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  color: rgba(17, 17, 17, .55);
}

/* --- 4. лайтбокс --- */
.msv-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(12, 14, 18, .92);
  align-items: center;
  justify-content: center;
  padding: 4vh 6vw;
  box-sizing: border-box;
}
.msv-lightbox.is-open { display: flex; }
.msv-lightbox__stage {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.msv-lightbox__stage img {
  display: block;
  max-width: min(88vw, 1280px);
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
.msv-lightbox__counter {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .75);
}
.msv-lightbox__close,
.msv-lightbox__nav {
  position: absolute;
  z-index: 2;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.msv-lightbox__close { top: 24px; right: 24px; font-size: 26px; }
.msv-lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.msv-lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.msv-lightbox__close:hover,
.msv-lightbox__nav:hover { background: rgba(255, 255, 255, .24); }
.msv-lightbox-item { transition: opacity .15s ease; }
.msv-lightbox-item:hover { opacity: .9; }
@media (max-width: 639px) {
  .msv-lightbox { padding: 8vh 4vw; }
  .msv-lightbox__close { top: 12px; right: 12px; width: 44px; height: 44px; }
  .msv-lightbox__nav { width: 44px; height: 44px; font-size: 26px; }
  .msv-lightbox__nav--prev { left: 8px; }
  .msv-lightbox__nav--next { right: 8px; }
  .msv-lightbox__stage img { max-height: 70vh; }
}

/* /contacts: график работы — каждая строка отдельно */
.msv-contacts-extensible-type-1 .msv-hours {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}
.msv-contacts-extensible-type-1 .msv-hours li {
  font-size: 16px;
  line-height: 24px;
  color: #111;
}

/* /about: фон у блока «Если ваш светильник не светит…» (оригинал: фото + затемнение 0.3) */
body.page-id-17 .msv-call-to-action-type-1 {
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 72px max(20px, calc((100vw - 1104px) / 2)) !important;
  box-sizing: border-box;
  background-image: linear-gradient(rgba(9, 26, 48, .3), rgba(9, 26, 48, .3)), url("/wp-content/uploads/2026/11/msv-cta-about.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}
body.page-id-17 .msv-call-to-action-type-1 h3 {
  color: #fff !important;
  margin: 0 auto !important;
  max-width: 760px;
  text-align: center;
  font-size: 40px;
  line-height: 48px;
}
@media (max-width: 639px) {
  body.page-id-17 .msv-call-to-action-type-1 { padding: 48px 20px !important; }
  body.page-id-17 .msv-call-to-action-type-1 h3 { font-size: 28px; line-height: 36px; }
}


/* подвал: меню со пунктом-текстом «База знаний» (без ссылки) */
.msv-footer-menu--list {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}
.msv-footer-menu--list li {
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}
.msv-footer-menu--list a {
  color: #fff;
  text-decoration: none;
}
.msv-footer-menu--list a:hover { color: #9ecbea; }
.msv-footer-menu-plain { cursor: default; }

/* ---------- MSV-017, 30.11.2026: уровни заголовков приведены к оригиналу (P3) ---------- */
/* Главная, «Наша история»: подзаголовок был h3, стал абзацем — вид прежний */
.msv-text-type-1 .msv-history-lead {
	font-size: 24px;
	line-height: 32px;
	font-weight: 700;
	margin: 19.2px 0 8px;
	color: #303952;
}
/* /repair, шаги «Как мы работаем»: h4 -> h3 */
.msv-steps-type-1 .msv-card h3 {
	font-size: 24px;
	line-height: 32px;
	font-weight: 700;
	margin: 16px 0 8px;
}
/* /production, заголовок формы: h3 -> h2 */
.msv-form-type-2__card h2 {
	font-size: 36px !important;
	line-height: 44px !important;
	font-weight: 400;
	text-align: center;
	margin: 0 0 18px !important;
	color: #303952;
}
@media (max-width: 900px) {
	.msv-form-type-2__card h2 { font-size: 28px !important; line-height: 36px !important; }
}
/* /prices, условия ремонта: h5 -> h3 */
.msv-advantages-blocks-type-4 .msv-card h3 {
	font-size: 24px;
	line-height: 32px;
	font-weight: 400;
	margin: 16px 0 8px;
	color: #111;
}
/* /about, финальный блок связи: h3 -> h2 */
body.page-id-17 .msv-call-to-action-type-1 h2 {
	color: #fff !important;
	margin: 0 auto !important;
	max-width: 760px;
	text-align: center;
	font-size: 40px;
	line-height: 48px;
	font-weight: 700 !important;
}
@media (max-width: 639px) {
	body.page-id-17 .msv-call-to-action-type-1 h2 { font-size: 28px; line-height: 36px; }
}
