/* Заявка: шторка в 2 шага, способ связи плитками */
.vs-lead__step { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--vs-act); }
.vs-lead__title { margin: 6px 52px 6px 0; font-size: 26px; }
.vs-lead__smeta { margin: 10px 0 4px; padding: 12px 14px; border-radius: var(--vs-r); background: var(--vs-bg); font-size: 14px; color: var(--vs-muted); white-space: pre-line; max-height: 140px; overflow-y: auto; }
.vs-lead__ways { margin: 14px 0 0; padding: 0; border: 0; min-width: 0; }
.vs-lead__q { margin-bottom: 10px; font-weight: 700; color: var(--vs-ink); }
.vs-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vs-way { position: relative; cursor: pointer; }
.vs-way input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vs-way__tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 104px; padding: 12px 8px; border: 2px solid var(--vs-line); border-radius: var(--vs-r2); text-align: center; font-weight: 500; font-size: 15px; line-height: 1.25; transition: border-color .15s, background .15s; }
.vs-way__ico { width: 28px; height: 28px; color: var(--vs-ink); }
.vs-way input:checked + .vs-way__tile { border-color: var(--vs-act); background: var(--vs-act-soft); }
.vs-way input:focus-visible + .vs-way__tile { outline: 2px solid var(--vs-ink); outline-offset: 2px; }
.vs-lead__next { width: 100%; margin-top: 18px; }
.vs-lead__who { margin-top: 12px; }
.vs-field { margin-bottom: 14px; }
.vs-field__label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 15px; }
.vs-field__label span { color: var(--vs-muted); font-weight: 400; font-size: 13px; }
.vs-input { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--vs-line-2); border-radius: var(--vs-r); background: var(--vs-paper); font-size: 16px; }
.vs-input:focus { outline: 0; border-color: var(--vs-ink); box-shadow: 0 0 0 3px var(--vs-ink-soft); }
textarea.vs-input { min-height: 72px; resize: vertical; }
.vs-input.is-bad { border-color: var(--vs-err); }
.vs-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: 13px; line-height: 1.45; color: var(--vs-muted); cursor: pointer; }
.vs-consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--vs-act); }
.vs-lead__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vs-lead__act { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.vs-lead__msg { margin-top: 14px; font-weight: 500; }
.vs-lead__msg.is-ok { padding: 14px 16px; border-radius: var(--vs-r); background: #e5f2ea; color: var(--vs-ok); }
.vs-lead__msg.is-err { color: var(--vs-err); }
@media (max-width: 480px) {
	.vs-ways { grid-template-columns: minmax(0, 1fr); }
	.vs-way__tile { flex-direction: row; justify-content: flex-start; min-height: 58px; padding: 10px 14px; }
	.vs-lead__title { font-size: 22px; }
	.vs-sheet__panel { padding: 22px 16px 24px; }
}

/* Просмотрщик фото */
.vs-lb { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; background: rgba(12, 16, 45, .92); }
.vs-lb[hidden] { display: none; }
.vs-lb__fig { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.vs-lb__fig img { max-width: 92vw; max-height: 82vh; width: auto; object-fit: contain; border-radius: var(--vs-r); }
.vs-lb__fig figcaption { margin-top: 10px; color: #e2e4f5; font-size: 15px; text-align: center; }
.vs-lb__x { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.vs-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 32px; cursor: pointer; }
.vs-lb__nav--prev { left: 14px; }
.vs-lb__nav--next { right: 14px; }
