/* ==========================================================================
   Лендинг «Износ МКД» — page-landing.php. Мобайл-фёрст (трафик рассылки).
   Префикс .lp-. Подключается только на шаблоне лендинга (inc/enqueue.php).
   ========================================================================== */

.lp { background: var(--bg); }
.lp-main { display: block; }

/* ---- Шапка лендинга (лого + телефон + кнопка, без меню) ---- */
.lp-header {
	position: sticky; top: 0; z-index: 500;
	background: var(--bg); border-bottom: 1px solid var(--line);
}
.lp-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px; min-height: 64px;
}
.lp-header__brand img { display: block; width: auto; height: 40px; }
.lp-header__actions { display: flex; align-items: center; gap: 12px; }
.lp-header__phone {
	font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--ink);
	white-space: nowrap;
}
.lp-header__phone:hover { color: var(--brand); text-decoration: none; }

/* ---- Секции ---- */
.lp-section { padding: 48px 0; }
.lp-section--soft { background: var(--bg-section); }
.lp-section h2, .lp-hero h1 { font-family: var(--font-heading); }
.lp-section > .container > h2 {
	font-size: 28px; margin: 0 0 24px; text-align: center;
}

/* ---- Hero ---- */
.lp-hero { padding: 40px 0 48px; background: linear-gradient(180deg, #FFF6EC 0%, var(--bg) 100%); }
.lp-hero__grid {
	display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start;
}
.lp-hero h1 { font-size: 30px; line-height: 1.2; margin: 0 0 14px; color: var(--ink); }
.lp-hero__sub { font-size: 19px; line-height: 1.45; color: var(--ink-soft); margin: 0 0 18px; }
.lp-timer {
	display: inline-block; margin: 0 0 18px; padding: 10px 16px;
	background: var(--brand); color: #fff; border-radius: var(--radius);
	font-family: var(--font-heading); font-weight: 600; font-size: 16px;
}
.lp-timer__n { font-size: 20px; font-weight: 800; }
.lp-hero__usp { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-hero__usp li { position: relative; padding-left: 28px; font-size: 16px; color: var(--ink-soft); }
.lp-hero__usp li::before {
	content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
	background: var(--brand); border-radius: 50%;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---- Карточка формы ---- */
.lp-formcard {
	background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--brand);
	border-radius: var(--radius); padding: 24px; box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
.lp-formcard__title { font-family: var(--font-heading); font-size: 22px; margin: 0 0 6px; }
.lp-formcard__note { font-size: 15px; color: var(--muted); margin: 0 0 16px; }
.lp-formcard .wpcf7-form input[type="text"],
.lp-formcard .wpcf7-form input[type="tel"],
.lp-formcard .wpcf7-form input[type="number"] {
	width: 100%; padding: 13px 14px; margin: 0; font-size: 16px;
	border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg);
}
.lp-form__row { margin-bottom: 12px; }
.lp-formcard .wpcf7-form .wpcf7-acceptance { display: block; margin: 8px 0 14px; font-size: 13px; color: var(--muted); }
.lp-formcard .wpcf7-form .btn, .lp-formcard .wpcf7-form input[type="submit"] { width: 100%; }
.lp-formcard .wpcf7-not-valid-tip { font-size: 13px; }
.lp-formcard .wpcf7-response-output { font-size: 14px; margin: 12px 0 0; }

/* ---- Таблица сравнения БТИ vs Mymatrix ---- */
.lp-compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.lp-compare th, .lp-compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.lp-compare thead th { font-family: var(--font-heading); font-size: 16px; background: var(--bg-soft); }
.lp-compare thead th:last-child { color: var(--brand-dark); }
.lp-compare td:first-child { color: var(--muted); }
.lp-compare td:last-child { font-weight: 600; color: var(--ink); }
.lp-compare tbody tr:nth-child(even) { background: var(--bg-soft); }

/* ---- 6 шагов лентой ---- */
.lp-steps { list-style: none; counter-reset: step; margin: 0; padding: 0;
	display: grid; grid-template-columns: 1fr; gap: 16px; }
.lp-steps li { position: relative; padding: 18px 18px 18px 60px;
	background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.lp-steps li::before { counter-increment: step; content: counter(step);
	position: absolute; left: 16px; top: 16px; width: 32px; height: 32px;
	display: grid; place-items: center; border-radius: 50%;
	background: var(--brand); color: #fff; font-family: var(--font-heading); font-weight: 700; }
.lp-steps b { display: block; font-family: var(--font-heading); margin-bottom: 4px; }
.lp-steps span { font-size: 14px; color: var(--muted); }

/* ---- Блок УК ---- */
.lp-uk { background: var(--ink); color: #fff; padding: 40px 0; }
.lp-uk__inner { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.lp-uk h2 { color: #fff; margin: 0 0 6px; font-size: 24px; }
.lp-uk p { margin: 0; color: #D8D8D8; font-size: 17px; }

/* ---- Финальный блок ---- */
.lp-final { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.lp-final__contacts { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 14px; }
.lp-final__contacts a { font-family: var(--font-heading); font-weight: 700; font-size: 18px; }
.lp-final__wa { color: #25D366 !important; }

/* ---- Футер лендинга ---- */
.lp-footer { background: var(--bg-section); padding: 28px 0; font-size: 13px; color: var(--muted); }
.lp-footer p { margin: 4px 0; }
.lp-footer a { color: var(--ink-soft); }

/* ---- Десктоп ---- */
@media (min-width: 860px) {
	.lp-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 40px; }
	.lp-hero h1 { font-size: 40px; }
	.lp-steps { grid-template-columns: repeat(3, 1fr); }
	.lp-uk__inner { flex-direction: row; align-items: center; justify-content: space-between; }
	.lp-final { grid-template-columns: 1.1fr .9fr; }
	.lp-section { padding: 64px 0; }
}
