/* VDS — оформление новостей. Цвета совпадают с остальным сайтом. */
.vds-news {
	--vds-red: #94272C;
	--vds-red-dark: #741E22;
	--vds-red-light: #E35D63;
	--vds-dark: #222222;
	--vds-text: #333333;
	--vds-muted: #6B6B6B;
	--vds-light: #F4F4F4;
	--vds-border: #E6E6E6;
	font-family: 'Montserrat', sans-serif;
	color: var(--vds-text);
	line-height: 1.6;
}
.vds-news *, .vds-news *::before, .vds-news *::after { box-sizing: border-box; }
.vds-news a, .vds-news a:hover, .vds-news a:focus { color: inherit; text-decoration: none !important; }
.vds-news h1, .vds-news h2, .vds-news h3 { font-family: 'Montserrat', sans-serif; }
.vds-news img { display: block; max-width: 100%; height: auto; }

.vds-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.vds-section { padding: 80px 0; }
.vds-section--light { background: var(--vds-light); }
.vds-section__title { margin: 8px 0 32px; font-size: 38px; font-weight: 700; line-height: 1.2; color: var(--vds-dark); }

/* подпись с красной линией, как у Алюмтека */
.vds-kicker {
	display: flex; align-items: center; gap: 12px;
	font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
	color: var(--vds-red);
}
.vds-kicker--light { color: var(--vds-red-light); }
.vds-line { display: inline-block; width: 40px; height: 3px; background: currentColor; flex: none; }

/* первый экран */
.vds-hero {
	padding: 100px 0;
	background: linear-gradient(135deg, #161616 0%, #4A1418 100%);
	color: #fff;
}
.vds-hero--single { padding: 70px 0 80px; }
.vds-hero__title { margin: 14px 0 0; font-size: 48px; font-weight: 800; line-height: 1.15; color: #fff; max-width: 900px; }
.vds-hero__sub { margin: 18px 0 0; font-size: 18px; color: rgba(255,255,255,.82); max-width: 720px; }
.vds-back {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px;
	font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75) !important; transition: color .2s;
}
.vds-back:hover { color: #fff !important; }

/* сетка карточек */
.vds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.vds-card {
	display: flex; flex-direction: column;
	background: #fff; border-radius: 6px; overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,.07);
	transition: transform .25s, box-shadow .25s;
}
.vds-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.vds-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #C9CDD2; }
.vds-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vds-card:hover .vds-card__img img { transform: scale(1.04); }
.vds-card__noimg {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
	font-size: 42px; font-weight: 800; color: rgba(255,255,255,.7); background: var(--vds-red);
}
.vds-card__body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 26px 26px 28px; }
.vds-card__title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--vds-dark); }
.vds-card__title a:hover { color: var(--vds-red); }
.vds-card__excerpt { margin: 0; font-size: 15px; color: #555; }
.vds-card__foot {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: auto; padding-top: 8px;
}
.vds-date { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--vds-muted); }
.vds-date svg { color: var(--vds-red); }

/* кнопки */
.vds-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 15px 30px; border: 2px solid var(--vds-red); border-radius: 4px;
	background: var(--vds-red); color: #fff !important;
	font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center;
	transition: background .2s, border-color .2s, color .2s;
}
.vds-btn:hover { background: var(--vds-red-dark); border-color: var(--vds-red-dark); }
.vds-btn--ghost { padding: 10px 18px; background: transparent; color: var(--vds-red) !important; font-size: 14px; }
.vds-btn--ghost:hover { background: var(--vds-red); border-color: var(--vds-red); color: #fff !important; }
.vds-btn--wide { width: 100%; }

/* постраничная навигация */
.vds-news .pagination, .vds-news .vds-pagination { margin-top: 48px; }
.vds-news .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.vds-news .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid var(--vds-border); border-radius: 4px; background: #fff; font-weight: 600; color: var(--vds-dark);
}
.vds-news .page-numbers.current, .vds-news a.page-numbers:hover { background: var(--vds-red); border-color: var(--vds-red); color: #fff; }
.vds-news .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.vds-empty { font-size: 18px; color: var(--vds-muted); }

/* отдельная новость */
.vds-single { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.vds-single__img { width: 100%; border-radius: 6px; }
.vds-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.vds-gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #ddd; }
.vds-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vds-gallery a:hover img { transform: scale(1.05); }
.vds-zoom { cursor: zoom-in; }
.vds-single__side { position: sticky; top: 30px; display: flex; flex-direction: column; gap: 24px; }
.vds-content { font-size: 17px; line-height: 1.7; }
.vds-content > *:first-child { margin-top: 0; }
.vds-content p { margin: 0 0 1em; }
.vds-content h2, .vds-content h3, .vds-content h4 { margin: 1.4em 0 .5em; font-weight: 700; line-height: 1.3; color: var(--vds-dark); }
.vds-content h2 { font-size: 26px; } .vds-content h3 { font-size: 21px; } .vds-content h4 { font-size: 18px; }
.vds-content ul, .vds-content ol { margin: 0 0 1em; padding-left: 1.3em; }
.vds-content li { margin-bottom: .4em; }
.vds-content a { color: var(--vds-red); text-decoration: underline; }
.vds-content blockquote { margin: 1em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--vds-red); font-style: italic; }
.vds-single__date { display: flex; flex-direction: column; gap: 2px; font-size: 17px; }
.vds-single__label { font-size: 22px; font-weight: 700; color: var(--vds-dark); }
.vds-single__note { display: flex; align-items: center; gap: 8px; margin: -8px 0 0; font-size: 14px; color: var(--vds-muted); }

/* тёмная полоса с призывом */
.vds-cta { padding: 70px 0; background: var(--vds-dark); color: #fff; }
.vds-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.vds-cta__title { margin: 12px 0 8px; font-size: 32px; font-weight: 700; line-height: 1.25; color: #fff; max-width: 720px; }
.vds-cta__sub { margin: 0; font-size: 17px; color: rgba(255,255,255,.78); }

/* просмотр фото */
.vds-lightbox {
	position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center;
	padding: 40px 70px; background: rgba(10,10,10,.92);
}
.vds-lightbox img { max-width: 100%; max-height: 100%; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.vds-lightbox button {
	position: absolute; display: flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
	background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
}
.vds-lightbox button:hover { background: var(--vds-red, #94272C); }
.vds-lightbox__close { top: 18px; right: 18px; }
.vds-lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.vds-lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* шорткод на других страницах: та же ширина и отступы, что у секций Elementor */
.vds-news--inline { line-height: 1.6; width: 100%; }
.vds-news--inline .vds-section { padding: 90px 0; }
.vds-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 30px; margin-bottom: 32px; }
.vds-section__head .vds-section__title { margin-bottom: 0; }
.vds-section__more { flex: none; }

/* адаптив */
@media (max-width: 1024px) {
	.vds-grid { grid-template-columns: repeat(2, 1fr); }
	.vds-single { grid-template-columns: 1fr; gap: 36px; }
	.vds-single__side { position: static; }
	.vds-hero__title { font-size: 40px; }
}
@media (max-width: 767px) {
	.vds-wrap { padding: 0 16px; }
	.vds-section { padding: 56px 0; }
	.vds-hero { padding: 64px 0; }
	.vds-hero__title { font-size: 30px; }
	.vds-hero__sub { font-size: 16px; }
	.vds-section__title { font-size: 28px; }
	.vds-cta__title { font-size: 26px; }
	.vds-news--inline .vds-section { padding: 60px 0; }
	.vds-grid { grid-template-columns: 1fr; gap: 24px; }
	.vds-gallery { gap: 10px; }
	.vds-lightbox { padding: 60px 10px; }
	.vds-lightbox__prev, .vds-lightbox__next { top: auto; bottom: 14px; transform: none; }
}

.vds-news--inline .vds-section__head .vds-line { display: none; }

/* ================= Проекты ================= */
.vds-prows { display: flex; flex-direction: column; gap: 70px; }
.vds-prow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.vds-prow__info { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; }
.vds-prow__title { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.2; color: var(--vds-dark); }
.vds-prow__title a:hover { color: var(--vds-red); }

.vds-stat__head { font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--vds-dark); }
.vds-stat__num { font-size: 46px; font-weight: 800; line-height: 1; color: var(--vds-dark); vertical-align: -4px; margin: 0 2px; }
.vds-stat__num--sm { font-size: 26px; vertical-align: -2px; color: var(--vds-red); }
.vds-stat__list { margin: 10px 0 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.55; }
.vds-stat__list li { position: relative; padding-left: 18px; margin-bottom: 4px; }
.vds-stat__list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--vds-red); }
.vds-stat__list--check li { padding-left: 26px; }
.vds-stat__list--check li::before { top: .35em; width: 16px; height: 16px; border-radius: 50%;
	background: var(--vds-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center/12px no-repeat; }

.vds-price { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-size: 16px; color: var(--vds-muted) !important; }
.vds-price svg { color: var(--vds-red); flex: none; }
.vds-price span { border-bottom: 1px solid currentColor; }
.vds-price:hover { color: var(--vds-red) !important; }

.vds-prow__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 6px; }
.vds-video { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: var(--vds-muted) !important; transition: color .2s; }
.vds-video:hover { color: var(--vds-red) !important; }
.vds-play { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--vds-red); color: #fff; flex: none; transition: transform .2s; }
.vds-play svg { margin-left: 3px; }
.vds-video:hover .vds-play { transform: scale(1.08); }

.vds-prow__media { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 440px; }
.vds-prow__media--single { grid-template-columns: 1fr; }
.vds-prow__main { position: relative; grid-row: 1 / span 2; overflow: hidden; border-radius: 8px; background: #C9CDD2; }
.vds-prow__media--single .vds-prow__main { grid-row: auto / span 2; }
.vds-prow__thumb { overflow: hidden; border-radius: 8px; background: #C9CDD2; }
.vds-prow__main img, .vds-prow__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vds-prow__media:hover img { transform: scale(1.03); }
.vds-prow__go { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--vds-dark); box-shadow: 0 4px 14px rgba(0,0,0,.18); transition: background .2s, color .2s; }
.vds-prow__media:hover .vds-prow__go { background: var(--vds-red); color: #fff; }

/* страница проекта */
.vds-single__mainwrap { position: relative; }
.vds-video--over { position: absolute; left: 20px; top: 20px; padding: 6px 18px 6px 6px; border-radius: 40px; background: rgba(255,255,255,.92); color: var(--vds-dark) !important; }
.vds-side__title { margin: 0 0 10px; font-size: 20px; font-weight: 700; color: var(--vds-dark); }
.vds-single__side .vds-stat__num--sm { font-size: 26px; }

/* ================= Всплывающая форма ================= */
html.vds-modal-lock { overflow: hidden; }
.vds-modal {
	position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
	padding: 20px; background: rgba(15,15,15,.72); opacity: 0; transition: opacity .2s; overflow-y: auto;
}
.vds-modal[hidden] { display: none; }
.vds-modal.is-open { opacity: 1; }
.vds-modal__box {
	position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 40px); overflow-y: auto;
	padding: 40px 44px 36px; border-radius: 8px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.35);
	transform: translateY(16px); transition: transform .25s;
}
.vds-modal.is-open .vds-modal__box { transform: none; }
.vds-modal__close {
	position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
	background: transparent; color: var(--vds-dark); font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s, color .2s;
}
.vds-modal__close:hover { background: var(--vds-light); color: var(--vds-red); }
.vds-modal__title { margin: 12px 0 6px; font-size: 30px; font-weight: 800; line-height: 1.2; color: var(--vds-dark); }
.vds-modal__sub { margin: 0 0 24px; font-size: 15px; color: var(--vds-muted); }
.vds-modal .wpcf7-acceptance a { text-decoration: underline !important; }

/* адаптив проектов и формы */
@media (max-width: 1024px) {
	.vds-prow { grid-template-columns: 1fr; gap: 24px; }
	.vds-prow__media { order: -1; height: 380px; }
}
@media (max-width: 767px) {
	.vds-prows { gap: 50px; }
	.vds-prow__title { font-size: 24px; }
	.vds-stat__num { font-size: 36px; }
	.vds-prow__media { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
	.vds-prow__main { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 10; }
	.vds-prow__thumb { aspect-ratio: 4 / 3; }
	.vds-modal { padding: 0; align-items: flex-end; }
	.vds-modal__box { max-width: none; max-height: 92vh; padding: 34px 20px 24px; border-radius: 14px 14px 0 0; }
	.vds-modal__title { font-size: 24px; }
}

/* исправление: внутри страниц Elementor его стили сжимали фото в карточках проектов */
.vds-news .vds-prow__main, .vds-news .vds-prow__thumb { position: relative; display: block; min-height: 0; }
.vds-news .vds-prow__main img, .vds-news .vds-prow__thumb img,
.vds-news .vds-card__img img, .vds-news .vds-gallery img {
	position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover;
}
.vds-news .vds-card__img, .vds-news .vds-gallery a { position: relative; }
@media (max-width: 767px) {
	.vds-news .vds-prow__main { aspect-ratio: 16 / 10; }
	.vds-news .vds-prow__thumb { aspect-ratio: 4 / 3; }
}

/* ================= Кнопки «Добавить» / «Изменить» (видны только редакторам) ================= */
.vds-section__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.vds-admin-btn {
	display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 4px;
	border: 2px dashed #2271B1; background: #F0F6FC; color: #2271B1 !important;
	font: 600 14px/1.2 'Montserrat', sans-serif; text-decoration: none !important; white-space: nowrap;
	transition: background .2s, color .2s;
}
.vds-admin-btn:hover { background: #2271B1; color: #fff !important; }
.vds-admin-btn--light { margin-top: 22px; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); color: #fff !important; }
.vds-admin-btn--light:hover { background: #fff; color: #222 !important; }
.vds-admin-btn--edit { padding: 5px 12px; font-size: 13px; border-style: solid; }
.vds-card { position: relative; }
.vds-card > .vds-admin-btn--edit { position: absolute; top: 12px; right: 12px; z-index: 2; }
.vds-prow__info > .vds-admin-btn--edit { align-self: flex-start; }

/* ================= Видео ================= */
.vds-player { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #111; }
.vds-player iframe, .vds-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vds-videos { display: grid; gap: 16px; margin-top: 32px; }
.vds-videos .vds-side__title { margin: 0; }

.vds-vmodal { background: rgba(10,10,10,.88); }
.vds-vmodal__box { position: relative; width: 100%; max-width: 1100px; transform: scale(.97); transition: transform .25s; }
.vds-vmodal.is-open .vds-vmodal__box { transform: none; }
.vds-vmodal .vds-player { border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.vds-vmodal__close {
	position: absolute; top: -48px; right: 0; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
	background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s;
}
.vds-vmodal__close:hover { background: var(--vds-red); }
@media (max-width: 767px) {
	.vds-vmodal { padding: 60px 10px; align-items: center; }
}

/* ================= Мессенджеры ================= */
.vds-msg { position: fixed; right: 20px; bottom: 20px; z-index: 9990; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: 'Montserrat', sans-serif; }
.vds-msg__toggle {
	display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%;
	background: #94272C; color: #fff !important; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s, background .2s;
}
.vds-msg__toggle:hover { transform: scale(1.06); background: #741E22; }
.vds-msg__toggle svg { width: 28px; height: 28px; }
.vds-msg__ico { display: flex; }
.vds-msg__ico--close, .vds-msg.is-open .vds-msg__ico--open { display: none; }
.vds-msg.is-open .vds-msg__ico--close { display: flex; }
.vds-msg__toggle--telegram { background: #2AABEE; }
.vds-msg__toggle--whatsapp { background: #25D366; }
.vds-msg__list {
	min-width: 220px; padding: 14px; border-radius: 12px; background: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.2);
	opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s;
}
.vds-msg.is-open .vds-msg__list { opacity: 1; transform: none; }
.vds-msg__list[hidden] { display: none; }
.vds-msg__title { margin: 0 4px 8px; font-size: 13px; font-weight: 600; color: #6B6B6B; }
.vds-msg__item {
	display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 8px;
	font-size: 15px; font-weight: 600; color: #222 !important; text-decoration: none !important; transition: background .2s;
}
.vds-msg__item:hover { background: #F4F4F4; }
.vds-msg__item svg { flex: none; width: 36px; height: 36px; padding: 7px; border-radius: 50%; color: #fff; background: #222; }
.vds-msg__item--telegram svg, .vds-msgbtn--telegram svg { background: #2AABEE; }
.vds-msg__item--whatsapp svg, .vds-msgbtn--whatsapp svg { background: #25D366; }
.vds-msg__item--max svg, .vds-msgbtn--max svg { background: #5B3FE0; }
.vds-msg__item--vk svg, .vds-msgbtn--vk svg { background: #0077FF; }
@media (max-width: 767px) {
	.vds-msg { right: 14px; bottom: 14px; }
	.vds-msg__toggle { width: 54px; height: 54px; }
}

/* ряд кнопок [vds_messengers] */
.vds-msgrow { display: flex; flex-wrap: wrap; gap: 10px; font-family: 'Montserrat', sans-serif; }
.vds-msgbtn {
	display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1px solid #E6E6E6; border-radius: 40px;
	background: #fff; font-size: 14px; font-weight: 600; color: #222 !important; text-decoration: none !important; transition: border-color .2s, box-shadow .2s;
}
.vds-msgbtn:hover { border-color: #94272C; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.vds-msgbtn svg { flex: none; width: 32px; height: 32px; padding: 6px; border-radius: 50%; color: #fff; background: #222; }
.vds-msgrow--dark .vds-msgbtn { border-color: rgba(255,255,255,.25); background: transparent; color: #fff !important; }
.vds-msgrow--dark .vds-msgbtn:hover { border-color: #fff; }
.vds-msg__item svg, .vds-msgbtn svg { box-sizing: border-box; }
.vds-msgbtn.vds-msgbtn--telegram svg { background: #2AABEE; }
.vds-msgbtn.vds-msgbtn--whatsapp svg { background: #25D366; }
.vds-msgbtn.vds-msgbtn--max svg { background: #5B3FE0; }
.vds-msgbtn.vds-msgbtn--vk svg { background: #0077FF; }
.vds-msg__item span, .vds-msgbtn span { display: flex; flex-direction: column; line-height: 1.25; }
.vds-msg__item small, .vds-msgbtn small { font-size: 12px; font-weight: 500; color: #6B6B6B; }
.vds-msgrow--dark .vds-msgbtn small { color: rgba(255,255,255,.7); }

/* Тема Hello Elementor красит все <button> в розовый (#c36) с квадратными углами — перебиваем для наших кнопок */
.vds-msg button.vds-msg__toggle,
.vds-msg button.vds-msg__toggle:hover,
.vds-msg button.vds-msg__toggle:focus,
.vds-msg button.vds-msg__toggle:active,
.vds-msg a.vds-msg__toggle {
	display: flex !important; align-items: center; justify-content: center; line-height: 1 !important; text-align: center;
	width: 60px; height: 60px; min-width: 0; padding: 0 !important; margin: 0;
	border: 0 !important; border-radius: 50% !important; outline-offset: 3px;
	background: #94272C !important; color: #fff !important; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.vds-msg button.vds-msg__toggle:hover { background: #741E22 !important; }
.vds-msg a.vds-msg__toggle--whatsapp { background: #25D366 !important; }
.vds-msg a.vds-msg__toggle--telegram { background: #2AABEE !important; }
.vds-msg .vds-msg__ico { align-items: center; justify-content: center; line-height: 0; }
.vds-msg .vds-msg__toggle svg { display: block; }
.vds-news button.vds-modal__close, .vds-news button.vds-modal__close:focus {
	padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: transparent !important; color: #222 !important;
}
.vds-news button.vds-modal__close:hover { background: #F4F4F4 !important; color: #94272C !important; }
.vds-news button.vds-vmodal__close, .vds-news button.vds-vmodal__close:focus {
	padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: rgba(255,255,255,.12) !important; color: #fff !important;
}
.vds-news button.vds-vmodal__close:hover { background: #94272C !important; }
@media (max-width: 767px) {
	.vds-msg button.vds-msg__toggle, .vds-msg button.vds-msg__toggle:hover { width: 54px; height: 54px; }
}

/* ================= Cookie-баннер ================= */
.vds-msg { bottom: calc(20px + var(--vds-cookie-h, 0px)); transition: bottom .25s; }
.vds-cookie {
	position: fixed; left: 20px; bottom: 20px; z-index: 9995; display: flex; align-items: center; gap: 20px;
	max-width: 760px; padding: 18px 22px; border-radius: 10px; background: #222; color: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.3);
	font: 400 14px/1.5 'Montserrat', sans-serif; opacity: 0; transform: translateY(16px); transition: opacity .25s, transform .25s;
}
.vds-cookie[hidden] { display: none; }
.vds-cookie.is-open { opacity: 1; transform: none; }
.vds-cookie__text { margin: 0; color: rgba(255,255,255,.88); }
.vds-cookie__text a { color: #E35D63 !important; text-decoration: underline !important; }
.vds-cookie__btns { display: flex; flex-direction: column; gap: 8px; flex: none; }
.vds-cookie button.vds-cookie__btn, .vds-cookie button.vds-cookie__btn:focus {
	padding: 10px 18px !important; border-radius: 4px !important; font: 600 14px/1.2 'Montserrat', sans-serif; cursor: pointer; white-space: nowrap;
	border: 2px solid #94272C !important; background: #94272C !important; color: #fff !important;
}
.vds-cookie button.vds-cookie__btn:hover { background: #741E22 !important; border-color: #741E22 !important; }
.vds-cookie button.vds-cookie__btn--min, .vds-cookie button.vds-cookie__btn--min:focus {
	border-color: rgba(255,255,255,.35) !important; background: transparent !important; color: #fff !important; font-weight: 500;
}
.vds-cookie button.vds-cookie__btn--min:hover { border-color: #fff !important; background: transparent !important; }
@media (max-width: 767px) {
	.vds-msg { bottom: calc(14px + var(--vds-cookie-h, 0px)); }
	.vds-cookie { left: 0; right: 0; bottom: 0; max-width: none; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; border-radius: 12px 12px 0 0; font-size: 13px; }
	.vds-cookie__btns { flex-direction: row; }
	.vds-cookie button.vds-cookie__btn { flex: 1; }
}

/* ================= Бегущая строка логотипов (.vds-marquee) ================= */
.vds-marquee.is-ready, .vds-marquee.is-ready > .e-con-inner { display: block !important; overflow: hidden; }
.vds-marquee.is-ready {
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.vds-marquee__track { display: flex; gap: 16px; width: max-content; animation: vds-marquee 40s linear infinite; }
.vds-marquee__track > * { flex: 0 0 220px !important; width: 220px !important; max-width: none !important; margin: 0 !important; }
.vds-marquee:hover .vds-marquee__track { animation-play-state: paused; }
@keyframes vds-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
@media (max-width: 767px) {
	.vds-marquee__track { gap: 12px; }
	.vds-marquee__track > * { flex-basis: 160px !important; width: 160px !important; }
	@keyframes vds-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
}
@media (prefers-reduced-motion: reduce) { /* кто отключил анимацию в системе — листает вручную */
	.vds-marquee.is-ready, .vds-marquee.is-ready > .e-con-inner { overflow-x: auto; }
	.vds-marquee__track { animation: none; }
}

/* Контейнер Elementor с «Переносом» в колонку считал высоту блока по «бесконечной» ширине и обрезал проекты на телефоне.
   Для контейнеров с нашими шорткодами перенос отключаем. */
.e-con:has(> .elementor-widget-shortcode .vds-news),
.e-con > .e-con-inner:has(> .elementor-widget-shortcode .vds-news) { flex-wrap: nowrap !important; }
.elementor-widget-shortcode:has(> .elementor-shortcode > .vds-news),
.elementor-widget-shortcode:has(.vds-news) { width: 100%; }

/* Крестики закрытия окон: крупнее и заметнее (svg вместо символа ×) */
.vds-news button.vds-modal__close, .vds-news button.vds-modal__close:focus,
.vds-news button.vds-vmodal__close, .vds-news button.vds-vmodal__close:focus {
	display: flex !important; align-items: center; justify-content: center;
	width: 44px !important; height: 44px !important; min-width: 44px; padding: 0 !important; border: 0 !important; border-radius: 50% !important;
	font-size: 0 !important; line-height: 0 !important; cursor: pointer; transition: background .2s, color .2s;
}
.vds-news button.vds-modal__close, .vds-news button.vds-modal__close:focus { background: #F0F0F0 !important; color: #222 !important; }
.vds-news button.vds-modal__close:hover, .vds-news button.vds-vmodal__close:hover { background: #94272C !important; color: #fff !important; }
.vds-news button.vds-vmodal__close, .vds-news button.vds-vmodal__close:focus { background: rgba(255,255,255,.15) !important; color: #fff !important; }
.vds-modal__close svg, .vds-vmodal__close svg { display: block; width: 22px; height: 22px; }

/* ================= Квиз [vds_quiz] ================= */
.vds-quiz { padding: 90px 20px; }
.vds-quiz--light { background: #F4F4F4; }
.vds-quiz--white { background: #fff; }
.vds-quiz--dark { background: linear-gradient(90deg, #161616, #4A1418); }
.vds-quiz__head, .vds-quiz__card { max-width: 820px; margin: 0 auto; }
.vds-quiz__title { margin: 10px 0 10px; font-size: 38px; font-weight: 700; line-height: 1.2; color: #222; }
.vds-quiz__sub { margin: 0 0 30px; font-size: 17px; color: #555; }
.vds-quiz--dark .vds-quiz__title { color: #fff; }
.vds-quiz--dark .vds-quiz__sub { color: rgba(255,255,255,.8); }
.vds-quiz__card { padding: 34px 38px; border-radius: 10px; background: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.vds-quiz__progress { height: 6px; border-radius: 6px; background: #EFEFEF; overflow: hidden; }
.vds-quiz__progress span { display: block; height: 100%; border-radius: 6px; background: #94272C; transition: width .35s; }
.vds-quiz__count { margin: 12px 0 22px; font-size: 14px; color: #6B6B6B; }
.vds-quiz__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.vds-quiz__step[hidden] { display: none; }
.vds-quiz__q { padding: 0; margin: 0 0 6px; font-size: 22px; font-weight: 700; line-height: 1.3; color: #222; }
.vds-quiz__hint { margin: 0 0 14px; font-size: 14px; color: #6B6B6B; }
.vds-quiz__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.vds-quiz__opt { position: relative; display: block; cursor: pointer; }
.vds-quiz__opt input { position: absolute; opacity: 0; pointer-events: none; }
.vds-quiz__opt span {
	display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 14px 16px; border: 2px solid #E6E6E6; border-radius: 8px;
	font-size: 16px; font-weight: 500; color: #333; transition: border-color .2s, background .2s;
}
.vds-quiz__opt span::before {
	content: ''; flex: none; width: 20px; height: 20px; border: 2px solid #C9C9C9; border-radius: 50%; background: #fff center/12px no-repeat; transition: all .2s;
}
.vds-quiz__step[data-type="many"] .vds-quiz__opt span::before { border-radius: 4px; }
.vds-quiz__opt:hover span { border-color: #c98a8d; }
.vds-quiz__opt input:checked + span { border-color: #94272C; background: #FBF3F3; }
.vds-quiz__opt input:checked + span::before {
	border-color: #94272C; background-color: #94272C;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E");
}
.vds-quiz__opt input:focus-visible + span { outline: 2px solid #94272C; outline-offset: 2px; }
.vds-quiz__input { width: 100%; margin-top: 14px; padding: 15px 16px !important; border: 2px solid #E6E6E6 !important; border-radius: 8px !important; font: 16px 'Montserrat', sans-serif; }
.vds-quiz__input:focus { border-color: #94272C !important; outline: none; }
.vds-quiz__summary { margin: 16px 0 0; padding: 16px 20px; border-radius: 8px; background: #F4F4F4; list-style: none; font-size: 15px; color: #333; }
.vds-quiz__summary li { padding: 4px 0; }
.vds-quiz__summary b { color: #222; }
.vds-quiz__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.vds-quiz button.vds-quiz__back, .vds-quiz button.vds-quiz__back:hover, .vds-quiz button.vds-quiz__back:focus {
	padding: 12px 4px !important; border: 0 !important; background: transparent !important; color: #6B6B6B !important; font: 600 15px 'Montserrat', sans-serif; cursor: pointer;
}
.vds-quiz button.vds-quiz__back:hover { color: #94272C !important; }
.vds-quiz button.vds-quiz__next, .vds-quiz button.vds-quiz__next:focus {
	margin-left: auto; padding: 15px 34px !important; border: 0 !important; border-radius: 4px !important;
	background: #94272C !important; color: #fff !important; font: 600 15px 'Montserrat', sans-serif; cursor: pointer; transition: background .2s, opacity .2s;
}
.vds-quiz button.vds-quiz__next:hover { background: #741E22 !important; }
.vds-quiz button.vds-quiz__next:disabled { opacity: .45; cursor: not-allowed; background: #94272C !important; }
.vds-quiz .vds-quiz__send { margin-left: auto; }
.vds-quiz [hidden] { display: none !important; }
@media (max-width: 767px) {
	.vds-quiz { padding: 60px 16px; }
	.vds-quiz__title { font-size: 28px; }
	.vds-quiz__card { padding: 24px 18px; }
	.vds-quiz__opts { grid-template-columns: 1fr; }
	.vds-quiz__q { font-size: 19px; }
}

/* ================= Хлебные крошки (Yoast) в шапках новостей и проектов ================= */
.vds-crumbs { margin: 0 0 18px; font-size: 14px; color: rgba(255,255,255,.7); }
.vds-crumbs a { color: rgba(255,255,255,.85) !important; text-decoration: none; }
.vds-crumbs a:hover { color: #fff !important; text-decoration: underline !important; }
.vds-crumbs .breadcrumb_last { color: rgba(255,255,255,.6); }

/* ================= Страница 404 ================= */
.vds-404 { min-height: 60vh; display: flex; align-items: center; }
.vds-404__code { font-size: 120px; font-weight: 800; line-height: 1; color: rgba(255,255,255,.12); margin: 0 0 -20px; }
.vds-404__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.vds-404__btns .vds-btn--outline { background: transparent; border-color: rgba(255,255,255,.6); }
.vds-404__btns .vds-btn--outline:hover { background: #fff; border-color: #fff; color: #222 !important; }
@media (max-width: 767px) { .vds-404__code { font-size: 80px; } }

/* ================= Шлифовка по итогам проверки сайта ================= */
/* блоки плагина (проекты, новости) на компьютере — по одной линии с блоками Elementor */
@media (min-width: 1241px) {
	.elementor .vds-news--inline .vds-wrap { padding-left: 0; padding-right: 0; }
}
/* подписи под счётчиками: межстрочный интервал был 2.5 — на телефоне строки «разваливались» */
.elementor-counter-title { line-height: 1.35 !important; }
@media (max-width: 767px) {
	/* карта на телефоне ниже, чтобы не «захватывала» прокрутку страницы */
	iframe[src*="yandex.ru/map-widget"], iframe[src*="yandex.ru/maps"] { height: 360px !important; }
	/* поле «Техническое задание»: текст «Файл не выбран» не обрезается */
	.wpcf7 input[type="file"] { width: 100%; max-width: 100%; font-size: 14px; }
}

/* ================= Липкая шапка (2.7.6) =================
   При прокрутке тёмная полоса уходит вверх, белая шапка остаётся у верхнего края и становится компактнее.
   Селектор с body.ehf-header — чтобы перебить position:relative из UAE. */
body.ehf-header #masthead, #masthead { position: sticky; top: calc(-1 * var(--vds-bar-h, 0px)); z-index: 999; background: #fff; transition: box-shadow .25s; }
body.ehf-header.admin-bar #masthead { top: calc(32px - var(--vds-bar-h, 0px)); }
@media (max-width: 782px) { body.ehf-header.admin-bar #masthead { top: calc(46px - var(--vds-bar-h, 0px)); } }
@media (max-width: 600px) { body.ehf-header.admin-bar #masthead { top: calc(-1 * var(--vds-bar-h, 0px)); } }
html.vds-stuck #masthead { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
html.vds-stuck #masthead .elementor > .e-con.e-parent:nth-child(2),
html.vds-stuck #masthead .elementor > .e-con.e-parent:nth-child(2) .e-con.e-child { --padding-top: 6px; --padding-bottom: 6px; }
html.vds-stuck #masthead .elementor-widget-site-logo img { width: 60px !important; }
@media (max-width: 767px) { html.vds-stuck #masthead .elementor-widget-site-logo img { width: 44px !important; } }
/* якоря (/uslugi/#stroitelstvo и т. п.) не прячутся под шапкой */
html:has(#masthead) { scroll-padding-top: 110px; }
html:has(body.admin-bar #masthead) { scroll-padding-top: 142px; }
@media (max-width: 767px) { html:has(#masthead), html:has(body.admin-bar #masthead) { scroll-padding-top: 90px; } }

/* Instagram (2.7.7): нейтральная иконка без фирменного логотипа + сноска о Meta */
.vds-msg__item--instagram svg, .vds-msgbtn.vds-msgbtn--instagram svg { background: #555; }
.vds-msg a.vds-msg__toggle--instagram { background: #555 !important; }
.vds-msgnote { margin: 8px 0 0; font-size: 11px; line-height: 1.4; color: #8A8A8A; font-family: 'Montserrat', sans-serif; }
.vds-msg__list .vds-msgnote { max-width: 220px; margin: 8px 4px 0; }
.vds-msgrow--dark + .vds-msgnote { color: rgba(255,255,255,.55); }

/* ================= Карта-картинка [vds_map] (2.7.8) ================= */
.vds-map { position: relative; height: 100%; min-height: 460px; overflow: hidden; border-radius: 12px; background: #EEECE7; font-family: 'Montserrat', sans-serif; }
.vds-map__img, .vds-map__img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.vds-map__img img { object-fit: cover; object-position: 50% 50%; transition: transform .6s ease; }
/* Elementor и тема задают картинкам height:auto — перебиваем, иначе картинка не растягивается и метка съезжает с точки */
.vds-map .vds-map__img img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; margin: 0 !important; border-radius: 0 !important; object-fit: cover !important; object-position: 50% 50% !important; }
.vds-map__img:hover img { transform: scale(1.03); }
.vds-map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.vds-map__label { margin-bottom: 6px; padding: 6px 12px; border-radius: 6px; background: #fff; font-size: 14px; font-weight: 700; color: #222; white-space: nowrap; }
.vds-map__bar { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 18px; border-radius: 10px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.vds-map__addr { flex: 1 1 220px; margin: 0; font-size: 14px; line-height: 1.45; color: #444; }
.vds-map__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.vds-map__btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid #94272C; border-radius: 6px; font-size: 14px; font-weight: 600; color: #94272C !important; text-decoration: none !important; transition: background .2s, color .2s; }
.vds-map__btn:hover { background: #94272C; color: #fff !important; }
.vds-map__btn--main { background: #94272C; color: #fff !important; }
.vds-map__btn--main:hover { background: #741E22; border-color: #741E22; }
.vds-map__copy { position: absolute; top: 8px; right: 8px; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,.8); font-size: 11px; color: #666; }
.vds-map__copy a { color: inherit !important; }
/* в колонке Elementor карта растягивается на высоту соседней колонки (формы) */
.e-con > .elementor-widget-shortcode:has(.vds-map) { flex-grow: 1; }
.elementor-widget-shortcode:has(.vds-map) .elementor-widget-container,
.elementor-widget-shortcode:has(.vds-map) .elementor-shortcode { height: 100%; }
@media (max-width: 767px) {
	.vds-map { min-height: 520px; }
	.vds-map__img img, .vds-map__img:hover img { transform: scale(1.5); } /* на телефоне крупнее, точка остаётся в центре */
	.vds-map__bar { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
	.vds-map__btns, .vds-map__btn { width: 100%; }
}
