

/* Start:/local/templates/tszp/components/bitrix/news.detail/directions/tech.css?17907703907417*/
/* Страницы технологий /technology/…/ со своей вёрсткой (hvof.php, aps.php, …).
   Подключается из template.php для элементов из списка $techPages.
   Оформление по эталону ГТУ (gtu.css, DESIGN.md).
   Цвета — токены main.css (:root): --primary-color, --accent-color,
   --surface, --line, --title-color, --text-color. Базовый rem = 10px. */

.tech {
	--tech-gap: 2.4rem;
	--tech-muted: #55606b;
	color: var(--text-color);
	margin-bottom: 8rem;
}

.tech section {
	margin-top: 8rem;
}
.tech section:first-child {
	margin-top: 0;
}
.tech-intro + section {
	margin-top: 5.5rem;
}

.tech h2 {
	margin-bottom: 2.4rem;
}
.tech h3 {
	font-size: 2rem;
	font-weight: 700;
	color: var(--title-color);
	margin-bottom: 1.2rem;
	line-height: 1.3;
}
.tech p {
	margin: 0 0 1.6rem;
	line-height: 1.65;
}
.tech p:last-child {
	margin-bottom: 0;
}
.tech a {
	color: var(--primary-color);
}
.tech a:hover {
	color: var(--accent-color);
}
.tech a:focus-visible {
	outline: 2px solid var(--accent-color);
	outline-offset: 2px;
}

.tech__eyebrow {
	display: block;
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent-color);
	margin-bottom: 1rem;
}

/* ---------- интро ---------- */
.tech-intro {
	display: grid;
	/* схема — 40% ширины экрана, текст забирает остальное */
	grid-template-columns: minmax(0, 1fr) 40vw;
	gap: 4rem;
	align-items: center;
}
.tech-intro__lead {
	font-size: 2.2rem;
	line-height: 1.5;
	color: var(--title-color);
}
.tech-intro__note {
	border-left: 3px solid var(--accent-color);
	padding-left: 2rem;
	margin-top: 2.4rem;
}
/* Здесь схема с подписями — показываем целиком, без обрезки по высоте */
.tech-intro__media {
	margin: 0;
}
.tech-intro__media a {
	display: block;
	width: 100%;
}
.tech-intro__media img {
	display: block;
	width: 100%;
}

/* ---------- цифры ---------- */
.tech-figures {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
.tech-figure {
	background: #fff;
	padding: 2.4rem;
}
.tech-figure__n {
	display: block;
	font-size: 3.2rem;
	font-weight: 700;
	line-height: 1.1;
	color: var(--primary-color);
	margin-bottom: 0.8rem;
	white-space: nowrap;
}
.tech-figure__l {
	display: block;
	font-size: 1.5rem;
	line-height: 1.45;
	color: var(--tech-muted);
}

.tech-figures--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------- назначение ---------- */
.tech-problems {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--tech-gap);
}
.tech-problem {
	border-top: 3px solid var(--primary-color);
	background: var(--surface);
	padding: 2rem 2.2rem 2.4rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}
.tech-problem b {
	font-size: 1.8rem;
	line-height: 1.3;
	color: var(--title-color);
}
.tech-problem span {
	font-size: 1.5rem;
	line-height: 1.45;
	color: var(--tech-muted);
}

/* ---------- две колонки ---------- */
.tech-two {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4rem;
	align-items: start;
}

.tech-result {
	background: var(--surface);
	border-left: 3px solid var(--accent-color);
	padding: 2rem 2.4rem;
}
.tech-result b {
	color: var(--primary-color);
}

/* ---------- чек-лист ---------- */
.tech-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
}
.tech-checklist li {
	position: relative;
	padding: 0 0 1.4rem 2.8rem;
	line-height: 1.5;
}
.tech-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6rem;
	width: 0.9rem;
	height: 0.9rem;
	border-right: 2px solid var(--accent-color);
	border-bottom: 2px solid var(--accent-color);
	transform: rotate(-45deg);
}

/* ---------- фото ---------- */
.tech-photo {
	margin: 0;
}
.tech-photo a {
	display: block;
	overflow: hidden;
	background: var(--surface);
	aspect-ratio: 4 / 3;
}
.tech .tech-photo img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.tech-photo a:hover img {
	transform: scale(1.03);
}

/* Фото рядом со списком — не выше текста: колонка тянется по высоте
   списка, снимок заполняет её с обрезкой. */
.tech-two--media {
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	align-items: stretch;
}
.tech-photo--fit {
	position: relative;
}
.tech-photo--fit a {
	position: absolute;
	inset: 0;
	aspect-ratio: auto;
}

/* ---------- применение ---------- */
.tech-areas {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
.tech-area {
	background: #fff;
	padding: 2.4rem;
}
.tech .tech-area h3 {
	font-size: 1.5rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tech-muted);
	border-bottom: 1px solid var(--line);
	padding-bottom: 1rem;
	margin-bottom: 1.4rem;
}
.tech-list {
	margin: 0;
	padding-left: 2rem;
	line-height: 1.55;
}
.tech-list li {
	margin-bottom: 0.8rem;
}
.tech-list li:last-child {
	margin-bottom: 0;
}
.tech-list li::marker {
	color: var(--accent-color);
}

.tech-areas--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tech-area__more {
	display: inline-block;
	margin-top: 1.6rem;
	font-weight: 700;
	font-size: 1.4rem;
	text-decoration: none;
}
.tech-area__more::after {
	content: " →";
}

/* ---------- CTA ---------- */
.tech-cta {
	background: var(--primary-color);
	color: #fff;
	padding: 4.5rem;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 4rem;
	align-items: center;
}
.tech .tech-cta h2 {
	color: #fff;
	margin-bottom: 1.6rem;
}
.tech-cta p {
	color: #d5e2ee;
}
.tech-cta__contacts {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	font-size: 1.8rem;
}
.tech .tech-cta__contacts a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	align-self: flex-start;
}
.tech .tech-cta__contacts a:hover {
	color: #7df7ff;
	border-bottom-color: #7df7ff;
}
.tech-cta__label {
	font-size: 1.3rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #9fbcd6;
}

/* ---------- адаптив ---------- */
@media (max-width: 1024px) {
	.tech-intro,
	.tech-two,
	.tech-cta {
		grid-template-columns: minmax(0, 1fr);
		gap: 3rem;
	}
	.tech-figures {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.tech-figures--3 {
		grid-template-columns: minmax(0, 1fr);
	}
	.tech-areas,
	.tech-areas--2 {
		grid-template-columns: minmax(0, 1fr);
	}
	/* в одну колонку списку не с чем выравниваться — обычное 4:3 */
	.tech-two--media {
		grid-template-columns: minmax(0, 1fr);
	}
	.tech-photo--fit a {
		position: static;
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 667px) {
	.tech section {
		margin-top: 5.5rem;
	}
	.tech-figures,
	.tech-problems {
		grid-template-columns: minmax(0, 1fr);
	}
	.tech-intro__lead {
		font-size: 1.9rem;
	}
	.tech-area,
	.tech-cta {
		padding: 2.4rem;
	}
	.tech-figure__n {
		font-size: 2.6rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tech *,
	.tech *::before,
	.tech *::after {
		transition: none !important;
	}
}

/* End */
/* /local/templates/tszp/components/bitrix/news.detail/directions/tech.css?17907703907417 */
