/**
 * Секция «Технології» #new-tecgno (2026-10-30): текст и выгоды слева, панель технологий по группам справа.
 * Разметка: template-parts/blocks/tech.php. Макет: reports/new-design-tasks/tech (TechTwoCol.dc.html).
 * Логотипы серые, на hover — фирменный цвет (--c у плитки); на тач-устройствах цвет сразу.
 */

.wa-tech {
	--wa-tech-ink: #14233a;
	--wa-tech-muted: #5b6472;
	--wa-tech-head: Montserrat, Arial, sans-serif;
	padding: 80px 0;
	background: #fff;
	font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	color: #1d2433;
}
.wa-tech *,
.wa-tech *::before,
.wa-tech *::after { box-sizing: border-box; }

.wa-tech__wrap {
	width: 1400px;
	max-width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
	gap: 72px;
	align-items: center;
}

/* ---------- текст ---------- */
.wa-tech__eyebrow {
	display: inline-flex;
	align-items: center;
	height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	background: #eaf4fa;
	color: #1a5f8c;
	font-size: 13px;
	font-weight: 600;
}
.wa-tech .wa-tech__title {
	margin: 14px 0 0;
	padding: 0;
	font: 700 40px/1.15 var(--wa-tech-head);
	letter-spacing: -.01em;
	color: var(--wa-tech-ink);
	text-align: left;
	text-transform: none;
}
.wa-tech .wa-tech__lead {
	margin: 14px 0 0;
	font-size: 17px;
	line-height: 1.6;
	color: #4b5563;
}
.wa-tech .wa-tech__benefits {
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.wa-tech .wa-tech__benefits li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.wa-tech .wa-tech__benefits li::before { content: none; }
.wa-tech__bi {
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eaf4fa;
	color: #1a72a8;
}
.wa-tech__bt { display: flex; flex-direction: column; gap: 2px; }
.wa-tech__bt b { font: 700 16px/1.4 var(--wa-tech-head); color: var(--wa-tech-ink); }
.wa-tech__bt span { font-size: 15px; line-height: 1.5; color: var(--wa-tech-muted); }

/* ---------- панель технологий ---------- */
.wa-tech__panel {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 30px 32px;
	border-radius: 24px;
	background: #f5f8fb;
}
.wa-tech .wa-tech__group-title {
	margin: 0 0 10px;
	padding: 0;
	font: 700 12px/1.3 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wa-tech-muted);
	text-align: left;
}
.wa-tech .wa-tech__items {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.wa-tech .wa-tech__item {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 56px;
	margin: 0;
	padding: 0 16px 0 12px;
	list-style: none;
	border: 1px solid #e3e9ef;
	border-radius: 14px;
	background: #fff;
	font: 600 15px/1 var(--wa-tech-head);
	color: var(--wa-tech-ink);
	transition: border-color .25s, box-shadow .25s, transform .25s;
}
.wa-tech .wa-tech__item::before { content: none; }
.wa-tech__logo {
	flex: none;
	display: flex;
	width: 28px;
	height: 28px;
	color: #8a97a6;
	opacity: .8;
	transition: color .25s, opacity .25s;
}
.wa-tech__logo svg { display: block; width: 100%; height: 100%; }
.wa-tech__mono {
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--c);
	color: #fff;
	font: 800 11px/1 var(--wa-tech-head);
	filter: grayscale(1);
	opacity: .55;
	transition: filter .25s, opacity .25s;
}
.wa-tech__mono--light { color: #1d2433; }

@media (hover: hover) {
	.wa-tech .wa-tech__item:hover {
		border-color: #cfe1ee;
		box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
		transform: translateY(-2px);
	}
	.wa-tech__item:hover .wa-tech__logo { color: var(--c); opacity: 1; }
	.wa-tech__item:hover .wa-tech__mono { filter: none; opacity: 1; }
}
@media (hover: none) {
	.wa-tech__logo { color: var(--c); opacity: 1; }
	.wa-tech__mono { filter: none; opacity: 1; }
}

/* ---------- ширина: 1400 + поля 20px ниже 1440 ---------- */
@media (max-width: 1439px) {
	.wa-tech__wrap { width: calc(100% - 40px); }
}
@media (max-width: 1279px) {
	.wa-tech__wrap { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 48px; }
	.wa-tech .wa-tech__title { font-size: 34px; }
}

/* ---------- планшет 768–1023: одна колонка ---------- */
@media (max-width: 1023px) {
	.wa-tech { padding: 56px 0; }
	.wa-tech__wrap { width: calc(100% - 32px); grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.wa-tech .wa-tech__title { font-size: 30px; line-height: 1.2; }
}

/* ---------- мобилка ≤767 ---------- */
@media (max-width: 767px) {
	.wa-tech { padding: 48px 0; }
	.wa-tech__wrap { gap: 28px; }
	.wa-tech .wa-tech__title { font-size: 27px; }
	.wa-tech .wa-tech__lead { font-size: 15px; }
	.wa-tech__bt span { font-size: 14px; }
	.wa-tech__panel { gap: 18px; padding: 22px 18px; border-radius: 20px; }
	.wa-tech .wa-tech__items { gap: 8px; }
	.wa-tech .wa-tech__item { height: 48px; gap: 8px; padding: 0 12px 0 10px; border-radius: 12px; font-size: 14px; }
	.wa-tech__logo { width: 24px; height: 24px; }
	.wa-tech__mono { width: 28px; height: 28px; border-radius: 8px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.wa-tech .wa-tech__item,
	.wa-tech__logo,
	.wa-tech__mono { transition: none; }
	.wa-tech .wa-tech__item:hover { transform: none; }
}
