/* =========================================================
   Тамплиер Диджитал — посадочная страница экспресс-аудита
   (/ekspress-audit/). Подключается поверх landing.css и
   service.css: карточки, цифры и призыв берутся оттуда,
   здесь только первый экран с формой, шаги и вопросы.
   ========================================================= */

/* --------------------------------------------------------
   Первый экран: оффер слева, форма справа
   -------------------------------------------------------- */
.lv2-xa-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.lv2-xa-hero .lv2-shero__title { font-size: clamp(32px, 4.2vw, 54px); }
.lv2-xa-hero .lv2-hero__marks { margin-top: 30px; }

.lv2-xa-points {
	display: grid;
	gap: 12px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}
.lv2-xa-points li {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--ink);
	font-size: 16.5px;
	font-weight: 600;
	line-height: 1.4;
}
.lv2-xa-points b {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--lime);
	color: #0a3a45;
	font-size: 14px;
}

.lv2-xa-call { margin-top: 18px; color: var(--muted); font-size: 14px; }
.lv2-xa-call a { color: var(--teal-bright); font-weight: 600; white-space: nowrap; }

/* Нативная форма заявки на светлой карточке. */
.lv2-xa-form {
	--surface: #ffffff;
	--ink: #062430;
	--body: #2f4f5c;
	--muted: #4f6f7c;
	--line: rgba(6, 36, 46, .10);
	scroll-margin-top: 96px;
	padding: 26px 24px 12px;
	border: 1px solid rgba(184, 255, 98, .5);
	border-radius: var(--radius);
	background: #ffffff;
	color: #2f4f5c;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.lv2-xa-form__title { display: block; margin: 0 6px; color: #062430; font-size: 20px; font-weight: 700; }
.lv2-xa-form__sub { display: flex; align-items: center; gap: 8px; margin: 6px 6px 4px; color: #4f6f7c; font-size: 13.5px; font-weight: 600; }
.lv2-xa-form__sub svg { width: 16px; height: 16px; color: #0f6b82; }
/* Native form shares the site's typography and lime CTA. */
.lv2-xa-native { display: grid; gap: 16px; margin: 24px 6px 12px; }
.lv2-xa-field { display: block; color: #163a46; font-size: 14px; font-weight: 600; line-height: 1.5; }
.lv2-xa-field small { font-size: 11px; font-weight: 400; color: #55717c; }
.lv2-xa-field input, .lv2-xa-field textarea { display: block; box-sizing: border-box; width: 100%; min-width: 0; margin-top: 7px; padding: 13px 15px; border: 1px solid #c5d5d9; border-radius: 12px; background: #f5f9f9; color: #062430; font: inherit; font-size: 16px; font-weight: 400; outline-offset: 3px; }
.lv2-xa-field input:focus, .lv2-xa-field textarea:focus { outline: 2px solid #168499; border-color: #168499; background: white; }
.lv2-xa-field input::placeholder, .lv2-xa-field textarea::placeholder { color: #657e87; opacity: 1; }
.lv2-xa-field textarea { resize: vertical; min-height: 90px; }
.lv2-xa-consent { display: flex; align-items: flex-start; gap: 10px; color: #4f6f7c; font-size: 12px; line-height: 1.6; cursor: pointer; }
.lv2-xa-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #126879; }
.lv2-xa-consent a { color: #126879; text-decoration: underline; text-underline-offset: 2px; }
.lv2-xa-native .lv2-btn { width: 100%; white-space: normal; text-align: center; justify-content: center; padding: 17px 20px; }
.lv2-xa-native .lv2-btn:disabled { opacity: .75; cursor: default; transform: none; }
.lv2-xa-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lv2-xa-status { margin: 0; padding: 14px; border-radius: 12px; font-size: 14px; line-height: 1.6; }
.lv2-xa-status[hidden] { display: none; }
.lv2-xa-status[data-state="success"] { color: #14592d; background: #effbdc; }
.lv2-xa-status[data-state="error"] { color: #8e2525; background: #fff0ee; }

/* --------------------------------------------------------
   Сетки под число карточек на этой странице
   -------------------------------------------------------- */
/* Пять карточек «Что смотрим»: три в первом ряду, две во втором. */
.lv2--express .lv2-inc__grid { grid-template-columns: repeat(6, 1fr); }
.lv2--express .lv2-inc__card { grid-column: span 2; }
.lv2--express .lv2-inc__card:nth-child(n + 4) { grid-column: span 3; }


/* --------------------------------------------------------
   Четыре шага
   -------------------------------------------------------- */
.lv2-xa-steps__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}
.lv2-xa-step {
	position: relative;
	padding: 28px 24px 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}
/* Линия между шагами: ведёт глаз слева направо. */
.lv2-xa-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 46px;
	right: -19px;
	width: 20px;
	height: 1px;
	background: var(--accent-line);
}
.lv2-xa-step__num {
	display: block;
	margin-bottom: 18px;
	color: var(--lime);
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.03em;
}
.lv2-xa-step h3 { font-size: 18px; line-height: 1.3; }
.lv2-xa-step p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* --------------------------------------------------------
   Вопросы
   -------------------------------------------------------- */
.lv2-xa-faq__list {
	display: grid;
	gap: 12px;
	max-width: 860px;
	margin: 0 auto;
}
.lv2-xa-faq__item {
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
	transition: border-color .3s var(--ease);
}
.lv2-xa-faq__item[open] { border-color: var(--accent-line); }
.lv2-xa-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	color: var(--ink);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}
.lv2-xa-faq__item summary::-webkit-details-marker { display: none; }
.lv2-xa-faq__item summary span {
	flex: none;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--line-2);
	border-radius: 50%;
	color: var(--teal);
	transition: transform .3s var(--ease);
}
.lv2-xa-faq__item summary svg { width: 16px; height: 16px; }
.lv2-xa-faq__item[open] summary span { transform: rotate(45deg); }
.lv2-xa-faq__item p {
	padding: 0 22px 22px;
	color: var(--body);
	font-size: 15.5px;
	line-height: 1.6;
}

.lv2-xa-final { padding-bottom: clamp(48px, 6vw, 80px); }

/* --------------------------------------------------------
   Логотипы клиентов — спокойная строка под первым экраном
   -------------------------------------------------------- */
.lv2-xa-logos {
	padding: 28px 0 8px;
	border-top: 1px solid var(--line);
}
.lv2-xa-logos .lv2-container { display: flex; align-items: center; gap: 28px; }
.lv2-xa-logos__title {
	flex: none;
	color: var(--muted-2);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}
/* Бегущая строка: края гаснут маской, по наведению лента стоит. */
.lv2-xa-logos__track {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.lv2-xa-logos__row {
	display: flex;
	align-items: center;
	gap: 48px;
	width: max-content;
	padding-right: 48px;
	animation: lv2-xa-logos 60s linear infinite;
}
.lv2-xa-logos__track:hover .lv2-xa-logos__row { animation-play-state: paused; }
@keyframes lv2-xa-logos {
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.lv2-xa-logos__row { animation: none; flex-wrap: wrap; width: auto; }
	.lv2-xa-logos__row img[aria-hidden="true"] { display: none; }
}
/* Цветные логотипы на тёмном фоне спорят друг с другом:
   приводим их к одному белому тону. */
.lv2-xa-logos__row img {
	flex: none;
	height: 30px;
	width: auto;
	max-width: 130px;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: .55;
	transition: opacity .3s var(--ease);
}
.lv2-xa-logos__row img:hover { opacity: .9; }

/* --------------------------------------------------------
   Эксперт и три причины
   -------------------------------------------------------- */
.lv2-xa-expert {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	max-width: 940px;
	margin: 0 auto clamp(48px, 6vw, 80px);
	padding: clamp(24px, 3vw, 36px);
	border: 1px solid var(--accent-line);
	border-radius: calc(var(--radius) + 4px);
	background: radial-gradient(70% 120% at 0% 0%, rgba(0, 194, 224, .14), transparent 70%), var(--surface);
}
.lv2-xa-expert__photo {
	width: 112px;
	height: 112px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--lime);
}
.lv2-xa-expert__quote {
	margin: 0;
	color: var(--ink);
	font-size: clamp(17px, 1.7vw, 20px);
	font-weight: 500;
	line-height: 1.55;
}
.lv2-xa-expert__quote::before { content: "«"; color: var(--lime); }
.lv2-xa-expert__quote::after { content: "»"; color: var(--lime); }
.lv2-xa-expert__who { margin-top: 14px; color: var(--muted); font-size: 14px; }
.lv2-xa-expert__who b { display: block; color: var(--ink); font-size: 15.5px; }

.lv2-xa-causes__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.lv2-xa-cause {
	display: flex;
	flex-direction: column;
	padding: 30px 26px 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.lv2-xa-cause:hover { border-color: rgba(255, 199, 44, .38); transform: translateY(-3px); }
.lv2-xa-cause__num {
	color: var(--amber);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .04em;
}
.lv2-xa-cause h3 { margin-top: 14px; font-size: 19px; line-height: 1.3; }
.lv2-xa-cause p { margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.lv2-xa-cause .lv2-xa-cause__check {
	display: flex;
	gap: 10px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	color: var(--body);
	font-size: 14px;
}
.lv2-xa-cause p:not(.lv2-xa-cause__check) { margin-bottom: 20px; }
.lv2-xa-cause__check svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--lime); }
.lv2-xa-cause__check b { color: var(--ink); }

/* --------------------------------------------------------
   Пример отчёта: текст слева, «документ» справа
   -------------------------------------------------------- */
.lv2-xa-report__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.lv2-xa-report__title { margin-top: 0; font-size: clamp(29px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.02em; }
.lv2-xa-report__lead { margin-top: 16px; color: var(--body); font-size: clamp(15.5px, 1.5vw, 18px); line-height: 1.6; }
.lv2-xa-report__items { display: grid; gap: 12px; margin: 24px 0 30px; padding: 0; list-style: none; }
.lv2-xa-report__items li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 16px; }
.lv2-xa-report__items svg { flex: none; width: 20px; height: 20px; color: var(--lime); }

.lv2-xa-doc {
	padding: 26px 26px 14px;
	border-radius: var(--radius);
	background: #ffffff;
	color: #2f4f5c;
	box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .75);
	transform: rotate(1.2deg);
}
.lv2-xa-doc__head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(6, 36, 46, .1);
}
.lv2-xa-doc__head b { display: block; color: #062430; font-size: 17px; }
.lv2-xa-doc__head span { display: block; margin-top: 3px; color: #6b8794; font-size: 13px; }
.lv2-xa-doc__logo {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #0a3a45;
	color: var(--lime);
}
.lv2-xa-doc__logo svg { width: 22px; height: 22px; color: #b8ff62; }
.lv2-xa-doc__list { margin: 0; padding: 0; list-style: none; }
.lv2-xa-doc__row {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 4px 14px;
	padding: 16px 0;
	border-bottom: 1px solid rgba(6, 36, 46, .08);
}
.lv2-xa-doc__row:last-child { border-bottom: 0; }
.lv2-xa-doc__row b { color: #062430; font-size: 15px; line-height: 1.35; }
.lv2-xa-doc__row > span:last-child { grid-column: 2; color: #4f6f7c; font-size: 13.5px; line-height: 1.5; }
.lv2-xa-doc__chip {
	grid-row: span 2;
	align-self: start;
	justify-self: start;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}
.lv2-xa-doc__chip.is-crit { background: #fde7e5; color: #c7362c; }
.lv2-xa-doc__chip.is-warn { background: #fff4d6; color: #9a6700; }

/* --------------------------------------------------------
   Типичная история: было → стало
   -------------------------------------------------------- */
.lv2-xa-story__panel {
	padding: clamp(28px, 4.5vw, 56px);
	border: 1px solid rgba(184, 255, 98, .35);
	border-radius: calc(var(--radius) + 6px);
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(184, 255, 98, .1), transparent 70%),
		rgba(255, 255, 255, .03);
}
.lv2-xa-story__title { margin-top: 0; max-width: 900px; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.02em; }
.lv2-xa-story__text { margin-top: 16px; max-width: 820px; color: var(--body); font-size: clamp(15.5px, 1.5vw, 17.5px); line-height: 1.65; }
.lv2-xa-story__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 30px;
}
.lv2-xa-story__col {
	padding: 22px 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
}
.lv2-xa-story__col > span {
	display: block;
	margin-bottom: 14px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.lv2-xa-story__col.is-before > span { color: #ff8a7e; }
.lv2-xa-story__col.is-after > span { color: var(--lime); }
.lv2-xa-story__col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lv2-xa-story__col li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15.5px; }
.lv2-xa-story__col svg { flex: none; width: 18px; height: 18px; }
.lv2-xa-story__col.is-before svg { color: #ff8a7e; }
.lv2-xa-story__col.is-after svg { color: var(--lime); }
.lv2-xa-story__result {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
	color: var(--ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
}
.lv2-xa-story__result svg { flex: none; width: 22px; height: 22px; color: var(--lime); }

/* Фото в финальном призыве вместо иконки: разговор с человеком. */
.lv2-xa-final__photo {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--lime);
}

/* --------------------------------------------------------
   Адаптив
   -------------------------------------------------------- */
@media (max-width: 1024px) {
	.lv2-xa-hero__grid,
	.lv2-xa-report__grid { grid-template-columns: 1fr; }
	.lv2-xa-causes__grid { grid-template-columns: 1fr; }
	.lv2-xa-doc { transform: none; }
	.lv2-xa-logos .lv2-container { flex-direction: column; align-items: stretch; gap: 16px; }
	.lv2-xa-form { max-width: 560px; }
	.lv2-xa-steps__list { grid-template-columns: repeat(2, 1fr); }
	.lv2-xa-step:not(:last-child)::after { display: none; }
}

@media (max-width: 900px) {
	.lv2--express .lv2-inc__grid { grid-template-columns: repeat(2, 1fr); }
	.lv2--express .lv2-inc__card,
	.lv2--express .lv2-inc__card:nth-child(n + 4) { grid-column: auto; }
	.lv2--express .lv2-inc__card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
	.lv2-xa-expert { grid-template-columns: 1fr; gap: 18px; }
	.lv2-xa-expert__photo { width: 84px; height: 84px; }
	.lv2-xa-story__cols { grid-template-columns: 1fr; }
	.lv2-xa-doc { padding: 20px 18px 8px; }
	.lv2-xa-doc__row { grid-template-columns: 1fr; }
	.lv2-xa-doc__chip { grid-row: auto; }
	.lv2-xa-doc__row > span:last-child { grid-column: 1; }
	.lv2-xa-logos__row { gap: 32px; padding-right: 32px; }
	.lv2-xa-logos__row img { height: 24px; }
	.lv2--express .lv2-inc__grid,
	.lv2-xa-steps__list { grid-template-columns: 1fr; }
	.lv2--express .lv2-inc__card:last-child { grid-column: auto; }
	.lv2-xa-form { padding: 20px 14px 8px; }
	.lv2-xa-faq__item summary { padding: 18px; font-size: 16px; }
	.lv2-xa-faq__item p { padding: 0 18px 18px; }
}
