/* Лід-форми vikspack.com — верстка під макети
   (секція: зліва бейдж/заголовок/фічі, справа біла картка форми) */

.vp-lead {
	background:
		radial-gradient(circle at 96% 4%, rgba(43, 114, 232, 0.10) 1.5px, transparent 1.5px) 0 0 / 22px 22px,
		linear-gradient(150deg, #f4f8fd 0%, #eaf1fa 100%);
	padding: 64px 20px;
	margin: 40px 0 0;
	/* тема ставить text-align: justify на контент — усередині секції завжди left */
	text-align: left;
}
.vp-lead p, .vp-lead li, .vp-lead label, .vp-lead h1, .vp-lead h2 { text-align: left; }
/* На «Послугах» секція — перший блок під хедером, верхній відступ не потрібен */
.page-template-template-our-service .vp-lead { margin-top: 0; }
.vp-lead__inner {
	max-width: 1180px;
	margin: 0 auto;
	display: flex;
	gap: 56px;
	align-items: flex-start;
}
.vp-lead__info { flex: 1 1 54%; min-width: 0; padding-top: 8px; }

/* бейдж */
.vp-lead__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #c9d9f2;
	color: #2b6cd9;
	border-radius: 999px;
	padding: 7px 18px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin-bottom: 22px;
	background: #fff;
}
.vp-lead__badge i {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: #2b72e8;
}

/* заголовок і текст */
.vp-lead__title {
	font-size: 44px;
	line-height: 1.1;
	font-weight: 800;
	color: #16233b;
	margin: 0 0 16px;
	max-width: 560px;
}
.vp-lead__title span { color: #2b72e8; }
.vp-lead__text {
	color: #5b6b83;
	font-size: 16px;
	line-height: 1.6;
	margin: 0 0 28px;
	max-width: 480px;
}

/* фічі-картки з пунктирним конектором */
.vp-lead__features {
	list-style: none;
	margin: 0 0 26px;
	padding: 0 0 0 18px;
	position: relative;
}
.vp-lead__features::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 28px;
	bottom: 28px;
	border-left: 2px dotted #9fbdea;
}
.vp-lead__features li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	border-radius: 14px;
	padding: 15px 20px;
	margin-bottom: 14px;
	box-shadow: 0 3px 14px rgba(22, 47, 92, 0.06);
	max-width: 440px;
	transition: box-shadow 0.18s, transform 0.18s;
}
.vp-lead__features li:hover {
	box-shadow: 0 8px 22px rgba(22, 47, 92, 0.10);
	transform: translateY(-1px);
}
.vp-lead__features li::before {
	content: "";
	position: absolute;
	left: -19px;
	top: 50%;
	width: 8px; height: 8px;
	margin-top: -4px;
	border-radius: 50%;
	background: #2b72e8;
}
.vp-lead__features .vp-icon {
	flex: 0 0 48px;
	width: 48px; height: 48px;
	border-radius: 12px;
	background: #e9f1fc;
	color: #2b72e8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.vp-lead__features .vp-icon svg { width: 24px; height: 24px; }
.vp-lead__features strong {
	display: block;
	color: #16233b;
	font-size: 15.5px;
	font-weight: 700;
	margin-bottom: 3px;
}
.vp-lead__features li > div > span {
	color: #5b6b83;
	font-size: 13.5px;
	line-height: 1.45;
	display: block;
}

/* нижня примітка-пігулка */
.vp-lead__note {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 1px solid #d4e0f2;
	background: #fff;
	color: #4c5c76;
	border-radius: 999px;
	padding: 11px 20px;
	font-size: 13.5px;
}
.vp-lead__note .vp-icon { color: #2b72e8; display: inline-flex; }
.vp-lead__note .vp-icon svg { width: 17px; height: 17px; }

/* CTA-лінк «Прорахунок під ТЗ» → сторінка «Послуги» (тільки PDP) */
a.vp-lead__spec-cta {
	display: inline-block;
	margin-top: 18px;
	color: #2b72e8;
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}
a.vp-lead__spec-cta:hover { color: #1a56b8; }

/* ---- Картка форми ---- */
.vp-lead__form {
	flex: 1 1 42%;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 14px 44px rgba(22, 47, 92, 0.12);
	padding: 28px 28px 22px;
	min-width: 0;
	max-width: 470px;
	position: relative;
	box-sizing: border-box;
}
.vp-field { margin-bottom: 15px; }
.vp-label {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: #22314d;
	margin-bottom: 7px;
}

.vp-lead__form input[type="text"],
.vp-lead__form input[type="tel"],
.vp-lead__form textarea {
	width: 100%;
	border: 1px solid #dbe3f0;
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 14.5px;
	color: #22314d;
	background: #fff;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.15s, box-shadow 0.15s;
	font-family: inherit;
}
.vp-lead__form input:hover, .vp-lead__form textarea:hover { border-color: #b7c8e6; }
.vp-lead__form input:focus, .vp-lead__form textarea:focus {
	border-color: #2b72e8;
	box-shadow: 0 0 0 3px rgba(43, 114, 232, 0.12);
}
.vp-lead__form input[readonly] { background: #f4f8fd; color: #44536b; }
.vp-lead__form ::placeholder { color: #9fabbf; }
.vp-hint { font-size: 12px; color: #8b98ad; margin-top: 5px; }

/* chips */
.vp-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.vp-chips--fill .vp-chip { flex: 1 1 0; min-width: 0; }
.vp-chips--half .vp-chip { flex: 1 1 calc(50% - 5px); }
.vp-chips--grid3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.vp-chip { position: relative; cursor: pointer; margin: 0; }
.vp-chip input { position: absolute; opacity: 0; pointer-events: none; }
.vp-chip span {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: 1px solid #dbe3f0;
	border-radius: 12px;
	padding: 10px 8px;
	font-size: 13px;
	color: #22314d;
	background: #fff;
	transition: border-color 0.15s, background 0.15s, color 0.15s;
	white-space: nowrap;
	min-width: 0;
}
/* щільні сітки (операції) — трохи менший шрифт, щоб довгі назви не різались */
.vp-chips--grid3 { gap: 8px; }
.vp-chips--grid3 .vp-chip span { font-size: 12.5px; padding: 9px 6px; }
.vp-chip span .vp-icon { display: inline-flex; color: #7d8ba3; }
.vp-chip span .vp-icon svg { width: 16px; height: 16px; }
.vp-chip:hover span { border-color: #2b72e8; }
.vp-chip input:checked + span {
	border: 1.5px solid #2b72e8;
	color: #2b72e8;
	background: #eef5ff;
	font-weight: 700;
}
.vp-chip input:checked + span .vp-icon { color: #2b72e8; }

/* чекбокс-квадратик у месенджер-чіпах */
.vp-chip--check span { justify-content: flex-start; }
.vp-chip--check .vp-box {
	width: 16px; height: 16px;
	border: 1.5px solid #c6d2e6;
	border-radius: 4px;
	background: #fff;
	flex: 0 0 16px;
	position: relative;
}
.vp-chip--check input:checked + span .vp-box { border-color: #2b72e8; background: #2b72e8; }
.vp-chip--check input:checked + span .vp-box::after {
	content: "";
	position: absolute;
	left: 4px; top: 1px;
	width: 4px; height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
/* брендові іконки месенджерів — без перефарбування */
.vp-chip--check span .vp-icon { color: inherit; }
.vp-chip--check span .vp-icon svg { width: 18px; height: 18px; }

/* файл */
.vp-file {
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1.5px dashed #c3d4ee;
	border-radius: 14px;
	padding: 13px 16px;
	cursor: pointer;
	background: #f8fbfe;
	transition: border-color 0.15s, background 0.15s;
}
.vp-file:hover { border-color: #2b72e8; background: #f2f7fd; }
.vp-file input { display: none; }
.vp-file > .vp-icon { color: #2b72e8; flex: 0 0 auto; display: inline-flex; }
.vp-file > .vp-icon svg { width: 24px; height: 24px; }
.vp-file__text { flex: 1 1 auto; min-width: 0; }
.vp-file__text b { display: block; font-size: 13px; font-weight: 600; color: #44536b; }
.vp-file__text em { display: block; font-style: normal; font-size: 12px; color: #93a1b6; margin-top: 1px; }
.vp-file__opt {
	flex: 0 0 auto;
	background: #e8f0fc;
	color: #2b6cd9;
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 11.5px;
	font-weight: 600;
}

/* згода */
.vp-consent {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	font-size: 12.5px;
	color: #5b6b83;
	margin: 2px 0 15px;
	cursor: pointer;
	line-height: 1.45;
}
.vp-consent input { margin-top: 2px; accent-color: #2b72e8; }
.vp-consent a { color: #2b72e8; }

/* кнопка */
.vp-submit {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #1d6fe8;
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 15px 18px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
	font-family: inherit;
}
.vp-submit i { font-style: normal; font-weight: 400; }
.vp-submit:hover {
	background: #175cc4;
	box-shadow: 0 6px 18px rgba(29, 111, 232, 0.35);
}
.vp-submit:active { transform: translateY(1px); }
.vp-submit:disabled { background: #7ba4dd; cursor: default; box-shadow: none; }

/* підпис під кнопкою */
.vp-lead__foot {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	font-size: 12.5px;
	color: #8b98ad;
	margin-top: 13px;
	text-align: center;
}
.vp-lead__foot .vp-icon { color: #2b72e8; display: inline-flex; }
.vp-lead__foot .vp-icon svg { width: 14px; height: 14px; }

/* повідомлення */
.vp-error {
	background: #fdecec;
	color: #b23030;
	border-radius: 12px;
	padding: 11px 14px;
	font-size: 13.5px;
	margin-top: 12px;
}
.vp-success { display: block; text-align: center; padding: 30px 10px; }
.vp-success[hidden] { display: none; }
.vp-success strong { display: block; font-size: 19px; color: #16233b; margin-bottom: 6px; }
.vp-success span { color: #5b6b83; font-size: 14.5px; }

/* honeypot */
.vp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---- Адаптив ---- */
@media (max-width: 992px) {
	.vp-lead__inner { flex-direction: column; gap: 30px; }
	.vp-lead__form { width: 100%; max-width: none; }
	.vp-lead__title { font-size: 33px; }
	.vp-lead__features li { max-width: none; }
}
@media (max-width: 576px) {
	.vp-lead { padding: 36px 14px; }
	.vp-lead__title { font-size: 26px; }
	.vp-lead__form { padding: 20px 16px 16px; }
	.vp-row { display: block; }
	.vp-chips--grid3 { grid-template-columns: repeat(2, 1fr); }
	.vp-chip span { white-space: normal; }
}
.vp-row { display: flex; gap: 12px; }
.vp-row .vp-field { flex: 1; }
