/* Разводная услуг /katalog-uslug/ — блоки по макету «Услуги» (октябрь 2026):
   вводный текст, «Какую проблему нужно решить», «Как работает сервис LeTech», плашка оценки по фото,
   «Вопрос-ответ». Файлы блоков — include/sfx/services-*.php. */
.lt-services-lead {
	margin: 0 0 40px;
	color: #484f55;
	font-size: 14px;
	line-height: 20px;
}
.le-section-list-2 .section-header:has(+ .lt-services-lead) {
	margin-bottom: 20px;
}
.lt-landing-title {
	margin: 0;
	color: #1c2126;
	font-size: 22px;
	font-weight: 500;
	line-height: 24px;
	text-align: left;
}
.lt-landing-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 12px 20px;
	background: #f3702b;
	border: none;
	border-radius: 4px;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.3s ease;
}
.lt-landing-btn:hover {
	background: #ec5d20;
	color: #fff;
}

/* «Какую проблему нужно решить» */
.lt-problems {
	padding: 64px 0;
	background: #f6f7f8;
}
.lt-problems .le-container {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.lt-problems__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}
.lt-problem {
	display: flex;
	gap: 24px;
	overflow: hidden;
	padding-right: 20px;
	background: #fff;
	border-radius: 20px;
	transition: box-shadow 0.3s ease;
}
.lt-problem:hover {
	box-shadow: 0 4px 8px rgba(50, 65, 85, 0.08), 0 12px 28px rgba(50, 65, 85, 0.12);
}
.lt-problem__media {
	flex: 1 1 0;
	min-width: 0;
	min-height: 220px;
	background: #eef0f2;
}
.lt-problem__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.lt-problem__body {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	min-width: 0;
	padding: 20px 0;
	color: #1c2126;
}
.lt-problem__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.lt-problem__title {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
}
.lt-problem__desc {
	margin: 0;
	font-size: 14px;
	line-height: 20px;
}
.lt-problem__links {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.lt-problem__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.lt-problem__link {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	height: 32px;
	padding: 4px 15px;
	background: #f6f7f8;
	border: 1px solid #f6f7f8;
	border-radius: 4px;
	color: #1c2126;
	font-size: 14px;
	line-height: 20px;
	white-space: nowrap;
	text-decoration: none;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.lt-problem__link:hover {
	background: #fff;
	border-color: #f3702b;
	color: #1c2126;
}

/* «Как работает сервис LeTech» */
.lt-howto {
	padding: 80px 0;
}
.lt-howto .le-container {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.lt-howto__steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lt-howto__step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	overflow: hidden;
	padding: 24px 20px;
	background: #f6f7f8;
	border-radius: 20px;
}
/* большая цифра шага — белая, за текстом, у правого края */
.lt-howto__num {
	position: absolute;
	top: -36px;
	right: -24px;
	color: #fff;
	font-size: 160px;
	font-weight: 800;
	line-height: 160px;
	pointer-events: none;
}
.lt-howto__head {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
}
.lt-howto__head img {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
}
.lt-howto__title {
	margin: 0;
	color: #1c2126;
	font-size: 16px;
	font-weight: 600;
	line-height: 20px;
}
.lt-howto__text {
	position: relative;
	margin: 0;
	color: #1c2126;
	font-size: 14px;
	line-height: 20px;
}
.lt-estimate {
	display: flex;
	align-items: stretch;
	gap: 32px;
	overflow: hidden;
	background: #f6f7f8;
	border-radius: 20px;
}
.lt-estimate__body {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	justify-content: center;
	gap: 28px;
	min-width: 0;
	padding: 40px 40px 40px 80px;
}
.lt-estimate__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.lt-estimate__desc {
	max-width: 760px;
	margin: 0;
	color: #484f55;
	font-size: 16px;
	line-height: 20px;
}
.lt-estimate__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}
.lt-estimate__actions .lt-landing-btn {
	margin-right: 8px;
}
.lt-estimate__messenger {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 4px 4px rgba(50, 65, 85, 0.08);
	transition: box-shadow 0.2s ease;
}
.lt-estimate__messenger:hover {
	box-shadow: 0 4px 8px rgba(50, 65, 85, 0.08), 0 12px 28px rgba(50, 65, 85, 0.12);
}
/* при наведении серая иконка становится цветной (как «Есть вопросы?» на страницах услуг) */
.lt-estimate__messenger::after {
	content: "";
	position: absolute;
	top: 8px;
	left: 8px;
	width: 28px;
	height: 28px;
	background: #fff no-repeat center / 28px 28px;
	opacity: 0;
	transition: opacity 0.2s ease;
}
.lt-estimate__messenger--max::after {
	background-image: url("/local/templates/letech-sfx/img/services-howto/max-color.svg");
}
.lt-estimate__messenger--tg::after {
	background-image: url("/local/templates/letech-sfx/img/services-howto/telegram-color.svg");
}
.lt-estimate__messenger:hover::after,
.lt-estimate__messenger:focus-visible::after {
	opacity: 1;
}
.lt-estimate__media {
	flex: 0 0 459px;
	min-height: 236px;
	background: #d9d9d9;
}
.lt-estimate__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* «Вопрос-ответ» */
.lt-faq {
	padding: 80px 0;
}
.lt-faq .le-container {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.lt-faq__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.lt-faq__item {
	background: #f6f7f8;
	border-radius: 12px;
}
.lt-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 20px;
	color: #1c2126;
	font-size: 16px;
	font-weight: 600;
	line-height: 20px;
	list-style: none;
	cursor: pointer;
}
.lt-faq__question::-webkit-details-marker {
	display: none;
}
.lt-faq__arrow {
	flex-shrink: 0;
	color: #707f8d;
	transition: transform 0.2s ease, color 0.2s ease;
}
.lt-faq__question:hover .lt-faq__arrow {
	color: #f3702b;
}
.lt-faq__item[open] .lt-faq__arrow {
	transform: rotate(180deg);
}
.lt-faq__answer {
	padding: 0 20px 16px;
	color: #484f55;
	font-size: 16px;
	line-height: 20px;
}

@media (max-width: 1200px) {
	.lt-problems__grid {
		grid-template-columns: 1fr;
	}
	.lt-howto__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
	.lt-estimate__body {
		padding: 32px;
	}
	.lt-estimate__media {
		flex-basis: 360px;
	}
}
@media (max-width: 768px) {
	.lt-problems {
		padding: 40px 0;
	}
	.lt-problems .le-container,
	.lt-howto .le-container,
	.lt-faq .le-container {
		gap: 24px;
	}
	.lt-problem {
		flex-direction: column;
		gap: 0;
		padding-right: 0;
	}
	.lt-problem__media {
		flex: none;
		aspect-ratio: 16 / 9;
		min-height: 0;
	}
	.lt-problem__body {
		padding: 20px;
	}
	.lt-howto {
		padding: 40px 0;
	}
	.lt-estimate {
		flex-direction: column-reverse;
		gap: 0;
	}
	.lt-estimate__media {
		flex: none;
		aspect-ratio: 459 / 236;
		min-height: 0;
	}
	.lt-estimate__body {
		padding: 24px 20px;
		gap: 20px;
	}
	.lt-faq {
		padding: 40px 0;
	}
}
@media (max-width: 576px) {
	.lt-landing-title {
		font-size: 20px;
		line-height: 24px;
	}
	.lt-howto__steps {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.lt-problem__title {
		font-size: 18px;
		line-height: 22px;
	}
	.lt-estimate__desc {
		font-size: 14px;
		line-height: 18px;
	}
	.lt-estimate__actions .lt-landing-btn {
		flex: 1 1 auto;
		margin-right: 0;
	}
	.lt-faq__question {
		padding: 14px 16px;
		font-size: 14px;
		line-height: 18px;
	}
	.lt-faq__answer {
		padding: 0 16px 14px;
		font-size: 14px;
		line-height: 18px;
	}
}

/* Разводные разделов услуг (services_new/section.php + include/sfx/services-section.php, декабрь 2026):
   вводный текст под H1, H2 над карточками, разделы с подзаголовками, «Сколько стоит» */
.lt-section-lead {
	margin: -12px 0 40px;
	color: #484f55;
	font-size: 16px;
	line-height: 22px;
}
.lt-section-lead p {
	margin: 0 0 12px;
}
.lt-section-lead p:last-child {
	margin-bottom: 0;
}
.lt-section-cards-title {
	margin-bottom: 24px;
}
.lt-section-info {
	padding: 40px 0 80px;
}
.lt-section-info .le-container {
	display: flex;
	flex-direction: column;
	gap: 48px;
}
.lt-section-text {
	color: #484f55;
	font-size: 16px;
	line-height: 22px;
}
.lt-section-text h2 {
	margin: 48px 0 16px;
	color: #1c2126;
	font-size: 22px;
	font-weight: 500;
	line-height: 24px;
	text-align: left;
}
.lt-section-text h2:first-child {
	margin-top: 0;
}
.lt-section-text p {
	margin: 0 0 12px;
}
.lt-section-text ul {
	margin: 0 0 12px;
	padding-left: 24px;
}
.lt-section-text li {
	margin-bottom: 6px;
}
.lt-section-text > :last-child {
	margin-bottom: 0;
}
.lt-section-text a {
	color: #ec5d20;
}
.lt-section-text a:hover {
	text-decoration: underline;
}
.lt-estimate--plain .lt-estimate__body {
	padding: 40px;
}
.lt-estimate--plain .lt-estimate__desc {
	max-width: none;
}
.lt-estimate--plain .lt-estimate__desc p {
	margin: 0 0 8px;
}
.lt-estimate--plain .lt-estimate__desc p:last-child {
	margin-bottom: 0;
}
@media (max-width: 768px) {
	.lt-section-lead {
		margin: 0 0 24px;
	}
	.lt-section-info {
		padding: 24px 0 40px;
	}
	.lt-section-info .le-container {
		gap: 32px;
	}
	.lt-section-text h2 {
		margin-top: 32px;
	}
	.lt-estimate--plain .lt-estimate__body {
		padding: 24px 20px;
	}
}
@media (max-width: 576px) {
	.lt-section-lead,
	.lt-section-text {
		font-size: 14px;
		line-height: 20px;
	}
	.lt-section-text h2 {
		font-size: 20px;
	}
}

/* «Полезная информация в карточках» с cols = 3 (карточки повреждений на страницах услуг) */
.section-services-important-knows .just-text-1 .just-text-wrapper.lt-cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 992px) {
	.section-services-important-knows .just-text-1 .just-text-wrapper.lt-cols-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 576px) {
	.section-services-important-knows .just-text-1 .just-text-wrapper.lt-cols-3 {
		grid-template-columns: 1fr;
	}
}

/* «Примеры работ» на разводных (.lt-section-works) и в блоке работ услуги со статичными фото (.lt-work-static):
   одна высота картинки у всех карточек (фото без «до/после» заполняет её целиком), без пустот под текстом */
.lt-section-works .just-card-5,
.section-services-examples .swiper-wrapper:has(.lt-work-static) .just-card-5 {
	display: flex;
	flex-direction: column;
	padding-bottom: 20px;
}
.lt-section-works .just-card-5 .just-card-img,
.section-services-examples .swiper-wrapper:has(.lt-work-static) .just-card-5 .just-card-img {
	flex: none;
	aspect-ratio: 16 / 9;
}
.lt-section-works .just-card-5 .just-card-img .justice-before,
.lt-section-works .just-card-5 .just-card-img img,
.section-services-examples .swiper-wrapper:has(.lt-work-static) .just-card-5 .just-card-img .justice-before,
.section-services-examples .swiper-wrapper:has(.lt-work-static) .just-card-5 .just-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.lt-section-works .just-card-5 .just-card-desc--empty {
	display: none;
}
.lt-section-works .just-card-5 .just-card-props {
	margin-top: auto;
	padding-top: 16px;
}
